28 #define DBG_KERNELMODE
37 #define PERF_EVENT_MEASURE_TIME(_x_) PERF_EVENT(0x1, (ULONG_PTR) _x_)
40 #define PERF_EVENT_STARTIO(_x_) PERF_EVENT(0x10, (ULONG_PTR) _x_)
42 #define PERF_EVENT_COMPLETEIRP(_x_) PERF_EVENT(0x11, (ULONG_PTR) _x_)
44 #define PERF_EVENT_CANCELIRP(_x_) PERF_EVENT(0x12, (ULONG_PTR) _x_)
47 #define PERF_EVENT_IOCTL_QUEUE(_x_) PERF_EVENT(0x20, _x_)
49 #define PERF_EVENT_IOCTL_EXECUTE(_x_) PERF_EVENT(0x21, _x_)
51 #define PERF_EVENT_OPEN_QUEUE() PERF_EVENT(0x30, 0)
53 #define PERF_EVENT_OPEN_EXECUTE() PERF_EVENT(0x31, 0)
55 #define PERF_EVENT_CLOSE_QUEUE() PERF_EVENT(0x40, 0)
57 #define PERF_EVENT_CLOSE_EXECUTE() PERF_EVENT(0x41, 0)
59 #define PERF_EVENT_READ_QUEUE(_x_) PERF_EVENT(0x50, _x_)
61 #define PERF_EVENT_READ_EXECUTE(_x_) PERF_EVENT(0x51, _x_)
63 #define PERF_EVENT_WRITE_QUEUE(_x_) PERF_EVENT(0x60, _x_)
65 #define PERF_EVENT_WRITE_EXECUTE(_x_) PERF_EVENT(0x61, _x_)
68 #define PERF_EVENT_THREAD_START_SCHED() PERF_EVENT(0x100, 0)
70 #define PERF_EVENT_THREAD_START_EXEC() PERF_EVENT(0x100, 1)
72 #define PERF_EVENT_THREAD_POLL() PERF_EVENT(0x100, 2)
74 #define PERF_EVENT_THREAD_STOP_SCHED() PERF_EVENT(0x100, 3)
76 #define PERF_EVENT_THREAD_STOP_EXEC() PERF_EVENT(0x100, 4)
79 #define PERF_EVENT_READ_BYTE_NO(_x_) PERF_EVENT(0x200, _x_)
81 #define PERF_EVENT_READ_BYTE(_x_) PERF_EVENT(0x201, _x_)
83 #define PERF_EVENT_READ_BIT_NO(_x_) PERF_EVENT(0x202, _x_)
85 #define PERF_EVENT_WRITE_BYTE_NO(_x_) PERF_EVENT(0x210, _x_)
87 #define PERF_EVENT_WRITE_BYTE(_x_) PERF_EVENT(0x211, _x_)
89 #define PERF_EVENT_WRITE_BIT_NO(_x_) PERF_EVENT(0x212, _x_)
enum cablestate_e CABLESTATE
@@@
Define makros for debugging purposes.
UCHAR IecAtnOut
The ATN OUT bit.
enum iec_cabletype IEC_CABLETYPE
cablestate_e
remember in which state the cable is currently
struct DEVICE_EXTENSION_s DEVICE_EXTENSION
@@@
UCHAR IecResetOut
The RESET OUT bit.
UCHAR IecDataIn
The DATA IN bit.
Windows-specific definitions for the opencbm driver.
UCHAR IecAtnIn
The ATN IN bit.
PUCHAR ParPortPortAddress
IEC_CABLETYPE IecCableUserSet
UCHAR IecClkIn
The CLOCK IN bit.
UCHAR IecDataOut
The DATA OUT bit.
UCHAR IecClkOut
The CLOCK OUT bit.
Functions and macros for performance evaluation purposes.
struct DEVICE_EXTENSION_s * PDEVICE_EXTENSION
@@@
PUCHAR ParPortEcpPortAddress
UCHAR IecResetIn
The RESET IN bit.