Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Emulate_Non_Byte_IO
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
Emulate_Non_Byte_IO
 
The Emulate_Non_Byte_IO macro checks the size of the I/O request and jumps
to the Simulate_IO service if the request is larger than a byte. I/O
callback procedures use this macro to simplify processing of I/O requests.
 
This macro has no parameters.
 
Return Value
 
This macro has no return value.
 
Comments
 
The EAX, EBX, ECX, EDX, and EBP registers must contain values specified as
valid input parameters for the Simulate_IO service. Emulate_Non_Byte_IO
checks the ECX register for the I/O type. If this type specifies an I/O
request that is larger than a byte, the macro jumps to the Simulate_IO
service.
 
See Also
 
Dispatch_Byte_IO, Simulate_IO