示例#1
0
        internal static unsafe void PostGCInitialize()
        {
            if (useAddressTranslation)
            {
                VMManager.PostGCInitialize();

                // Create the wrapper for the kernel range. The fixed
                // statement is safe since KernelRange is a static
                // struct.
                fixed(VirtualMemoryRange_struct *pKernelRange = &KernelRange)
                {
                    KernelRangeWrapper = new VirtualMemoryRange(pKernelRange,
                                                                ProtectionDomain.DefaultDomain);
                }
            }
        }