Esempio n. 1
0
        public static void Initialize()
        {
            var entry = BootPageAllocator.AllocatePage();

            Page.ClearPage(entry);

            Map = new BootMemoryMapTable(entry)
            {
                Count = 0
            };
        }
Esempio n. 2
0
        public static void Initialize()
        {
            var entry = BootPageAllocator.AllocatePage();

            Page.ClearPage(entry);

            HeapList = new GCHeapList(entry)
            {
                Count = 0
            };

            var region = Platform.GetInitialGCMemoryPool();

            CurrentHeap = HeapList.GetGCHeapEntry(HeapList.Count);

            CurrentHeap.Address = region.Address;
            CurrentHeap.Size    = (uint)region.Size;
        }