Exemple #1
0
 def __init__(self, machine, alloc, seg_loader, path_mgr, vamos):
     LibCtx.__init__(self, machine)
     self.alloc = alloc
     self.path_mgr = path_mgr
     self.seg_loader = seg_loader
     self.vamos = vamos
     # compat for process
     self.process = None
     self.exec_lib = None
     self.dos_lib = None
Exemple #2
0
 def __init__(self, machine, alloc, seg_loader, path_mgr):
     LibCtx.__init__(self, machine)
     self.machine = machine
     self.traps = machine.get_traps()
     self.cpu_type = machine.get_cpu_type()
     self.ram_size = self.mem.get_ram_size_bytes()
     self.label_mgr = machine.get_label_mgr()
     self.alloc = alloc
     self.seg_loader = seg_loader
     self.path_mgr = path_mgr
     self.process = None
Exemple #3
0
 def __init__(self, machine, alloc, seg_loader, path_mgr):
   LibCtx.__init__(self, machine)
   self.machine = machine
   self.traps = machine.get_traps()
   self.cpu_type = machine.get_cpu_type()
   self.cpu_name = machine.get_cpu_name()
   self.ram_size = self.mem.get_ram_size_bytes()
   self.label_mgr = machine.get_label_mgr()
   self.alloc = alloc
   self.seg_loader = seg_loader
   self.path_mgr = path_mgr
   self.process = None
Exemple #4
0
 def __init__(self, cpu, mem, cpu_type, ram_size, label_mgr, alloc, traps,
              seg_loader, path_mgr):
     LibCtx.__init__(self, cpu, mem)
     self.cpu_type = cpu_type
     self.ram_size = ram_size
     self.label_mgr = label_mgr
     self.lib_mgr = None
     self.alloc = alloc
     self.traps = traps
     self.process = None
     self.seg_loader = seg_loader
     self.path_mgr = path_mgr
Exemple #5
0
 def __init__(self, machine, alloc, seg_loader, path_mgr, run_command,
              start_sub_process):
     LibCtx.__init__(self, machine)
     self.alloc = alloc
     self.path_mgr = path_mgr
     self.seg_loader = seg_loader
     self.run_command = run_command
     self.start_sub_process = start_sub_process
     # compat for process
     self.process = None
     self.exec_lib = None
     self.dos_lib = None
Exemple #6
0
 def __init__(self, machine, alloc, seg_loader, path_mgr,
              scheduler, odg_base):
   LibCtx.__init__(self, machine)
   self.alloc = alloc
   self.path_mgr = path_mgr
   self.seg_loader = seg_loader
   self.scheduler = scheduler
   self.odg_base = odg_base
   # compat for process
   self.process = None
   self.exec_lib = None
   self.dos_lib = None