protected BaseSystemProcess(int priority, KernelStorage kernelStorage, int creatorId)
 {
     this.procName          = this.GetType().Name;
     this.id                = nextId++;
     this.creatorId         = creatorId;
     this.priority          = priority;
     this.kernelStorage     = kernelStorage;
     this.resourceRequestor = new ResourceRequestor(this.id);
 }
Exemple #2
0
 public HandleManager(KernelStorage kernelStorage, int creatorId) : base(50, kernelStorage, creatorId)
 {
 }
Exemple #3
0
 public MainProc(KernelStorage kernelStorage, int creatorId) : base(ProcPriority.MainProc, kernelStorage, creatorId)
 {
 }
Exemple #4
0
 public Test(KernelStorage kernelStorage) : base(30, kernelStorage, -1)
 {
 }
Exemple #5
0
 public VirtualMachine(Program program, MemAccesser memAccesser, KernelStorage kernelStorage, int creatorId) : base(ProcPriority.VirtualMachine, kernelStorage, creatorId)
 {
     this.program     = program;
     this.memAccesser = memAccesser;
 }
Exemple #6
0
 public JobGovernor(string programName, KernelStorage kernelStorage, int creatorId) : base(ProcPriority.JobGovernor, kernelStorage, creatorId)
 {
     this.programName = programName;
     intHandler       = new IntHandler(this.kernelStorage, this);
 }
Exemple #7
0
 public IntHandler(KernelStorage kernelStorage, JobGovernor process)
 {
     this.kernelStorage = kernelStorage;
     this.process       = process;
 }
Exemple #8
0
 public ProcessScheduler(KernelStorage kernelStorage)
 {
     this.kernelStorage = kernelStorage;
 }
Exemple #9
0
 public StartStop(int priority, KernelStorage kernelStorage, int creatorId) : base(priority, kernelStorage, creatorId)
 {
     this.kernelStorage = kernelStorage;
 }
Exemple #10
0
 public ResourceScheduler(KernelStorage kernelStorage, int creatorId) : base(ProcPriority.ResourceScheduler, kernelStorage, creatorId)
 {
     this.kernelStorage = kernelStorage;
 }
Exemple #11
0
 public IdleProcess(KernelStorage kernelStorage, int creatorId) : base(1, kernelStorage, creatorId)
 {
 }
Exemple #12
0
 public IntHandlerLegacy(KernelStorage kernelStorage) : base(ProcPriority.IntHandler, kernelStorage)
 {
     this.kernelStorage = kernelStorage;
     //intHandler = new IntHandler(kernelStorage, this);
 }