nachos.vm
Class VMKernel

java.lang.Object
  extended by nachos.machine.Kernel
      extended by nachos.threads.ThreadedKernel
          extended by nachos.userprog.UserKernel
              extended by nachos.vm.VMKernel
Direct Known Subclasses:
NetKernel

public class VMKernel
extends UserKernel

A kernel that can support multiple demand-paging user processes.


Field Summary
 
Fields inherited from class nachos.userprog.UserKernel
console
 
Fields inherited from class nachos.threads.ThreadedKernel
alarm, fileSystem, scheduler
 
Fields inherited from class nachos.machine.Kernel
kernel
 
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 nachos.userprog.UserKernel
currentProcess, exceptionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMKernel

public VMKernel()
Allocate a new VM kernel.

Method Detail

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