include vmm.inc
Dispatch_Byte_IO In_Proc, Out_Proc
Checks the size of the I/O request and dispatches the request to either the Simulate_IO service, or to the specified single-byte input or output procedure. I/O callback procedures use this macro to simplify processing of I/O requests.
The EAX, EBX, ECX, EDX, and EBP registers must contain values specified as valid input parameters for the Simulate_IO service. Dispatch_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.
Emulate_Non_Byte_IO, Simulate_IO