VDD_IO_HANDLERS

typedef struct _VDD_IO_HANDLERS {

    PFNVDD_INB   inb_handler;

    PFNVDD_INW   inw_handler;

    PFNVDD_INSB  insb_handler;

    PFNVDD_INSW  insw_handler;

    PFNVDD_OUTB  outb_handler;

    PFNVDD_OUTW  outw_handler;

    PFNVDD_OUTSB outsb_handler;

    PFNVDD_OUTSW outsw_handler;

} VDD_IO_HANDLERS, *PVDD_IO_HANDLERS

VDD_IO_HANDLERS defines an array of handlers for the VDD I/O hooks.

Members

inb_handler

A pointer to the VDD-provided function to simulate INB instruction. This handler is mandatory.

inw_handler

A pointer to the VDD-provided function to simulate INW instruction. This handler is optional; the system will simulate this function by using the provided INB handler.

insb_handler

A pointer to the VDD-provided function to simulate INSB instruction. This handler is optional; the system will simulate this function by using the provided INB handler.

insw_handler

A pointer to the VDD-provided function to simulate INSW instruction. This handler is optional; the system will simulate this function by using the provided INB handler.

outb_handler

A pointer to the VDD-provided function to simulate OUTB instruction. This handler is mandatory.

outw_handler

A pointer to the VDD-provided function to simulate OUTW instruction. This handler is optional; the system will simulate this function by using the provided OUTB handler.

outsb_handler

A pointer to the VDD-provided function to simulate OUTSB instruction. This handler is optional; the system will simulate this function by using the provided OUTB handler.

outsw_handler

A pointer to the VDD-provided function to simulate OUTSW instruction. This handler is optional; the system will simulate this function by using the provided OUTB handler.

Refer also to the following typedef statements.

/** Basic typedefs of VDD IO hooks **/

typedef VOID (*PFNVDD_INB)   (WORD iport,BYTE * data);

typedef VOID (*PFNVDD_INW)   (WORD iport,WORD * data);

typedef VOID (*PFNVDD_INSB)  (WORD iport,BYTE * data,WORD count);

typedef VOID (*PFNVDD_INSW)  (WORD iport,WORD * data,WORD count);

typedef VOID (*PFNVDD_OUTB)  (WORD iport,BYTE data);

typedef VOID (*PFNVDD_OUTW)  (WORD iport,WORD data);

typedef VOID (*PFNVDD_OUTSB) (WORD iport,BYTE * data,WORD count);

typedef VOID (*PFNVDD_OUTSW) (WORD iport,WORD * data,WORD count);