1 | %ifndef ___VBox_VMMDevTesting_h
|
---|
2 | %define ___VBox_VMMDevTesting_h
|
---|
3 | %define VMMDEV_TESTING_MMIO_BASE 0x00101000
|
---|
4 | %define VMMDEV_TESTING_MMIO_SIZE 0x00001000
|
---|
5 | %define VMMDEV_TESTING_MMIO_NOP (VMMDEV_TESTING_MMIO_BASE + 0x000)
|
---|
6 | %define VMMDEV_TESTING_MMIO_NOP_R3 (VMMDEV_TESTING_MMIO_BASE + 0x008)
|
---|
7 | %define VMMDEV_TESTING_MMIO_RM_SEL 0xffff
|
---|
8 | %define VMMDEV_TESTING_MMIO_RM_OFF(val) ((val) - 0xffff0)
|
---|
9 | %define VMMDEV_TESTING_IOPORT_BASE 0x0510
|
---|
10 | %define VMMDEV_TESTING_IOPORT_COUNT 0x0010
|
---|
11 | %define VMMDEV_TESTING_IOPORT_NOP (VMMDEV_TESTING_IOPORT_BASE + 0)
|
---|
12 | %define VMMDEV_TESTING_IOPORT_TS_LOW (VMMDEV_TESTING_IOPORT_BASE + 1)
|
---|
13 | %define VMMDEV_TESTING_IOPORT_TS_HIGH (VMMDEV_TESTING_IOPORT_BASE + 2)
|
---|
14 | %define VMMDEV_TESTING_IOPORT_CMD (VMMDEV_TESTING_IOPORT_BASE + 3)
|
---|
15 | %define VMMDEV_TESTING_IOPORT_DATA (VMMDEV_TESTING_IOPORT_BASE + 4)
|
---|
16 | %define VMMDEV_TESTING_IOPORT_NOP_R3 (VMMDEV_TESTING_IOPORT_BASE + 5)
|
---|
17 | %define VMMDEV_TESTING_CMD_INIT 0xcab1e000
|
---|
18 | %define VMMDEV_TESTING_CMD_TERM 0xcab1e001
|
---|
19 | %define VMMDEV_TESTING_CMD_SUB_NEW 0xcab1e002
|
---|
20 | %define VMMDEV_TESTING_CMD_SUB_DONE 0xcab1e003
|
---|
21 | %define VMMDEV_TESTING_CMD_FAILED 0xcab1e004
|
---|
22 | %define VMMDEV_TESTING_CMD_VALUE 0xcab1e005
|
---|
23 | %define VMMDEV_TESTING_CMD_SKIPPED 0xcab1e006
|
---|
24 | %define VMMDEV_TESTING_CMD_VALUE_REG 0xcab1e007
|
---|
25 | %define VMMDEV_TESTING_CMD_PRINT 0xcab1e008
|
---|
26 | %define VMMDEV_TESTING_CMD_MAGIC 0xcab1e000
|
---|
27 | %define VMMDEV_TESTING_CMD_MAGIC_MASK 0xffffff00
|
---|
28 | %define VMMDEV_TESTING_CMD_MAGIC_HI_WORD 0xcab10000
|
---|
29 | %define VMMDEV_TESTING_UNIT_PCT 0x01
|
---|
30 | %define VMMDEV_TESTING_UNIT_BYTES 0x02
|
---|
31 | %define VMMDEV_TESTING_UNIT_BYTES_PER_SEC 0x03
|
---|
32 | %define VMMDEV_TESTING_UNIT_KILOBYTES 0x04
|
---|
33 | %define VMMDEV_TESTING_UNIT_KILOBYTES_PER_SEC 0x05
|
---|
34 | %define VMMDEV_TESTING_UNIT_MEGABYTES 0x06
|
---|
35 | %define VMMDEV_TESTING_UNIT_MEGABYTES_PER_SEC 0x07
|
---|
36 | %define VMMDEV_TESTING_UNIT_PACKETS 0x08
|
---|
37 | %define VMMDEV_TESTING_UNIT_PACKETS_PER_SEC 0x09
|
---|
38 | %define VMMDEV_TESTING_UNIT_FRAMES 0x0a
|
---|
39 | %define VMMDEV_TESTING_UNIT_FRAMES_PER_SEC 0x0b
|
---|
40 | %define VMMDEV_TESTING_UNIT_OCCURRENCES 0x0c
|
---|
41 | %define VMMDEV_TESTING_UNIT_OCCURRENCES_PER_SEC 0x0d
|
---|
42 | %define VMMDEV_TESTING_UNIT_CALLS 0x0e
|
---|
43 | %define VMMDEV_TESTING_UNIT_CALLS_PER_SEC 0x0f
|
---|
44 | %define VMMDEV_TESTING_UNIT_ROUND_TRIP 0x10
|
---|
45 | %define VMMDEV_TESTING_UNIT_SECS 0x11
|
---|
46 | %define VMMDEV_TESTING_UNIT_MS 0x12
|
---|
47 | %define VMMDEV_TESTING_UNIT_NS 0x13
|
---|
48 | %define VMMDEV_TESTING_UNIT_NS_PER_CALL 0x14
|
---|
49 | %define VMMDEV_TESTING_UNIT_NS_PER_FRAME 0x15
|
---|
50 | %define VMMDEV_TESTING_UNIT_NS_PER_OCCURRENCE 0x16
|
---|
51 | %define VMMDEV_TESTING_UNIT_NS_PER_PACKET 0x17
|
---|
52 | %define VMMDEV_TESTING_UNIT_NS_PER_ROUND_TRIP 0x18
|
---|
53 | %define VMMDEV_TESTING_UNIT_INSTRS 0x19
|
---|
54 | %define VMMDEV_TESTING_UNIT_INSTRS_PER_SEC 0x1a
|
---|
55 | %define VMMDEV_TESTING_UNIT_NONE 0x1b
|
---|
56 | %define VMMDEV_TESTING_NOP_RET 0x64726962
|
---|
57 | %endif
|
---|