예제 #1
0
        public AMemory(IntPtr Ram, AMemoryAlloc Allocator)
        {
            Manager = new AMemoryMgr(Allocator);

            Monitors = new Dictionary <int, ExMonitor>();

            ExAddrs = new HashSet <long>();

            RamPtr = (byte *)Ram;
        }
예제 #2
0
        public AMemoryMgr(AMemoryAlloc Allocator)
        {
            this.Allocator = Allocator;

            PageTable = new PTEntry[PTLvl0Size][];
        }