Exemple #1
0
        public static unsafe void Init()
        {
            RuntimeMemory.SetupEarlyStartup();
            InitializAssembly();
            //Mosa.Runtime.StartUp.InitializeRuntimeMetadata();
            RuntimeMemory.SetupAllocator();

            ElfSections = *((ElfSections *)SysCalls.GetElfSectionsAddress());
            ElfSections.Init();
        }
Exemple #2
0
        public static void Init()
        {
            _CurrentProcessID = 0;

            RuntimeMemory.SetupEarlyStartup();
            InitThreadLocalStorage();
            InitializAssembly();
            //Mosa.Runtime.StartUp.InitializeRuntimeMetadata();
            RuntimeMemory.SetupAllocator();

            //SetupElfSections();
        }