_GetV86PageableArray

include vmm.inc

VMMcall _GetV86PageableArray, <VM, <OFFSET32 ArrayBuf>, flags>

or eax, eax ; nonzero if array retrieved, zero if error

jz error


The _GetV86PageableArray service returns a copy of the bit array of pages whose behavior has been modified using the _SetResetV86Pageable service. Virtual devices use this service to determine whether regions in the V86 address space in a virtual machine have had the normal lock and unlock behavior modified.

Parameters

VM

Specifies the virtual machine to examine.

ArrayBuf

Points to the buffer to receive the array. The array contains 100h bits (32 bytes), one bit for each page in the range 0 through 100h. If a bit is set, the lock and unlock behavior for the corresponding page is disabled. Otherwise, the behavior is enabled.

flags

Specifies the operation flags. This parameter must be set to 0.

Return Value

The EAX register contains a nonzero value if the service is successful. Otherwise, EAX contains zero to indicate an error such as an invalid virtual machine handle.

Comments

This service returns a bit array whose bits are all zero if the VMStat_PageableV86 value is not given in the CB_VM_Status field of the control block for the virtual machine.

Uses

EAX

See Also

_SetResetV86Pageable