nachos.vm
Class VMKernel
java.lang.Object
nachos.machine.Kernel
nachos.threads.ThreadedKernel
nachos.userprog.UserKernel
nachos.vm.VMKernel
- Direct Known Subclasses:
- NetKernel
public class VMKernel
- extends UserKernel
A kernel that can support multiple demand-paging user processes.
Constructor Summary |
VMKernel()
Allocate a new VM kernel. |
Method Summary |
void |
initialize(String[] args)
Initialize this kernel. |
void |
run()
Start running user programs. |
void |
selfTest()
Test this kernel. |
void |
terminate()
Terminate this kernel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMKernel
public VMKernel()
- Allocate a new VM kernel.
initialize
public void initialize(String[] args)
- Initialize this kernel.
- Overrides:
initialize
in class UserKernel
selfTest
public void selfTest()
- Test this kernel.
- Overrides:
selfTest
in class UserKernel
run
public void run()
- Start running user programs.
- Overrides:
run
in class UserKernel
- See Also:
Machine.getShellProgramName()
terminate
public void terminate()
- Terminate this kernel. Never returns.
- Overrides:
terminate
in class UserKernel