public Kernel(Bios bios) { Debug.Assert(bios != null); Bios = bios; Emulator = Bios.Emulator; Debug.Assert(Emulator.Cpu != null); Cpu = Emulator.Cpu; CpuCore = Cpu.Cores[0]; Memory = Cpu.Memory; MemorySystem = Memory.MemorySystem; Devices = new List <KDevice>(); UserModules = new List <KModule>(10); Threads = new List <KThread>(128); SchedulableThreads = new FastLinkedList <KThread>(); Handles = new Dictionary <uint, KHandle>(); _lastUid = 100; SpeedLocked = true; }
public Loader( Bios bios ) { Debug.Assert( bios != null ); _bios = bios; }
public BiosDebugHook(Bios bios) { this.Bios = bios; }
public Loader(Bios bios) { Debug.Assert(bios != null); _bios = bios; }