DebuggerLockMemory
Debugger Support Under Virtual Memory
void * address is the start address of the range that is to be
locked in RAM
LockMemory, except that it leaves data caching enabled on the affected pages.
address is the start address of the range that is to be locked in RAM
count is the size in bytes of that range
noErr (0) No error
paramErr (-50) Error in parameter list
notEnoughMemoryErr (-620) Insufficient physical memory
function is not on a page boundary, then it is rounded down to the nearest
page boundary. Similarly, if the specified range does not end on a page
boundary, the length parameter is rounded up so that the entire range of
memory is locked.