PageSwap_Test_Create

include pageswap.inc

VxDcall PageSwap_Test_Create


The PageSwap_Test_Create service determines whether the virtual page swap device can satisfy the specified allocation request. The VMM memory manager calls this service to check requests before allocating the memory.

The virtual page swap device can satisfy the request if the request is less than or equal to the size of the swap file, plus any physical memory not yet mapped to linear addresses.

Parameters

ECX

Specifies the count of pages in the allocation request.

EAX

Specifies the allocation flags.

Return Value

The carry flag is clear if the requested memory can be allocated.

Uses

Flags