Home > other >  VirtualAlloc
VirtualAlloc

Time:10-10

1. VirtualAlloc distribution of the virtual address space of the concrete in the virtual memory which position? User area or core area, do not know use what respectively in both
2. Use VirtualCopy physical memory mapped to the application of virtual memory, suppose I have a physical address in g_oalAddressTable defines the physical addresses to virtual address mapping relation, then VirtualCopy this process was also able to just distribution of the physical memory mapped to a virtual address?

CodePudding user response:

1. VirtualAlloc the return value is the address (if the distribution is successful, otherwise is 0), is the user area, the kernel area with ExAllocatePool
2. The same physical memory can be quickly mapping of multiple virtual memory, but I forgot to say that function