I went through debuging a call to malloc() to try to find out where the link between virtual memory and physical memory is stored, but ended up with calls to HeapAlloc() that are stepped over by the debugger.
What I need to do is, given a buffer such as
int myBuffer = (int*)malloc(whateverSize * sizeof(int));
I want to lock the pages in physical memory and then map those pages to another virtual address.
Does anyone know how to do this?
Thanks in advance.
Antranik