include vmm.inc
VMMCall _PageGetAllocInfo, <flags>
mov [Lockable], edx ; count of lockable pages
Returns the number of pages that can be allocated as locked or fixed memory. Uses EAX, ECX, EDX, and Flags.
Virtual devices must not rely on being able to allocate all pages specified by this service. In general, virtual devices should allocate memory as needed, and not attempt to allocate all available memory.
_PageAllocate