public static unsafe void Init() { RuntimeMemory.SetupEarlyStartup(); InitializAssembly(); //Mosa.Runtime.StartUp.InitializeRuntimeMetadata(); RuntimeMemory.SetupAllocator(); ElfSections = *((ElfSections *)SysCalls.GetElfSectionsAddress()); ElfSections.Init(); }
public static void Init() { _CurrentProcessID = 0; RuntimeMemory.SetupEarlyStartup(); InitThreadLocalStorage(); InitializAssembly(); //Mosa.Runtime.StartUp.InitializeRuntimeMetadata(); RuntimeMemory.SetupAllocator(); //SetupElfSections(); }