VDHPortIO
typedef struct port_io_s
{
ulong_t port; (Input)
ulong_t data; (Input/Output)
ulong_t flags; (Input)
} PORT_IO;
port
indicates which port to read to, or write from.
data
contains the data read
from a read request, or the data to write if a write request.
flags
indicate what operation to perform.
IO_READ_BYTE
Read a byte from the port
IO_READ_WORD
Read a word from the port
IO_READ_DWORD
Read a dword from the port
IO_WRITE_BYTE
IO_WRITE_WORD
IO_WRITE_DWORD
Write a dword to the port
Notes
[Back: Virtual Device Driver Helps]
[Next: Kernel Debugger]