示例#1
0
        public static UIntPtr AllocateExtend(UIntPtr addr,
                                             UIntPtr bytes)
        {
            UIntPtr got = MemoryManager.UserExtend(
                addr, MemoryManager.PagesFromBytes(bytes),
                Thread.CurrentProcess, PageType.Unknown);

            Tracing.Log(Tracing.Debug,
                        "PageTableService.AllocateExtend(addr={0:x}, bytes={1:x}) addr={2:x8}",
                        addr, bytes, got);

            return(got);
        }