1 | ; $Id: VMMDevTesting.mac 93115 2022-01-01 11:31:46Z vboxsync $ ;/
|
---|
2 | ;; @file
|
---|
3 | ; VMMDev - Testing Extensions.
|
---|
4 | ; Automatically generated by various.sed. DO NOT EDIT!
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2010-2022 Oracle Corporation
|
---|
8 | ;
|
---|
9 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
11 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | ; General Public License (GPL) as published by the Free Software
|
---|
13 | ; Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | ;
|
---|
17 | ; The contents of this file may alternatively be used under the terms
|
---|
18 | ; of the Common Development and Distribution License Version 1.0
|
---|
19 | ; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | ; VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | ; CDDL are applicable instead of those of the GPL.
|
---|
22 | ;
|
---|
23 | ; You may elect to license modified versions of this file under the
|
---|
24 | ; terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | ;
|
---|
26 |
|
---|
27 | %ifndef VBOX_INCLUDED_VMMDevTesting_h
|
---|
28 | %define VBOX_INCLUDED_VMMDevTesting_h
|
---|
29 | %ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
30 | %endif
|
---|
31 | %define VMMDEV_TESTING_MMIO_BASE 0x000df000
|
---|
32 | %define VMMDEV_TESTING_MMIO_SIZE 0x00001000
|
---|
33 | %define VMMDEV_TESTING_MMIO_OFF_NOP (0x000)
|
---|
34 | %define VMMDEV_TESTING_MMIO_OFF_NOP_R3 (0x008)
|
---|
35 | %define VMMDEV_TESTING_MMIO_OFF_READBACK (0x040)
|
---|
36 | %define VMMDEV_TESTING_MMIO_OFF_READBACK_R3 (0x080)
|
---|
37 | %define VMMDEV_TESTING_READBACK_SIZE (0x40)
|
---|
38 | %define VMMDEV_TESTING_MMIO_NOP (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_NOP)
|
---|
39 | %define VMMDEV_TESTING_MMIO_NOP_R3 (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_NOP_R3)
|
---|
40 | %define VMMDEV_TESTING_MMIO_READBACK (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK)
|
---|
41 | %define VMMDEV_TESTING_MMIO_READBACK_R3 (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK_R3)
|
---|
42 | %define VMMDEV_TESTING_MMIO_RM_SEL 0xdf00
|
---|
43 | %define VMMDEV_TESTING_MMIO_RM_OFF(val) ((val) - VMMDEV_TESTING_MMIO_BASE)
|
---|
44 | %define VMMDEV_TESTING_MMIO_RM_OFF2(off) (off)
|
---|
45 | %define VMMDEV_TESTING_IOPORT_BASE 0x0510
|
---|
46 | %define VMMDEV_TESTING_IOPORT_COUNT 0x0010
|
---|
47 | %define VMMDEV_TESTING_IOPORT_NOP (VMMDEV_TESTING_IOPORT_BASE + 0)
|
---|
48 | %define VMMDEV_TESTING_IOPORT_TS_LOW (VMMDEV_TESTING_IOPORT_BASE + 1)
|
---|
49 | %define VMMDEV_TESTING_IOPORT_TS_HIGH (VMMDEV_TESTING_IOPORT_BASE + 2)
|
---|
50 | %define VMMDEV_TESTING_IOPORT_CMD (VMMDEV_TESTING_IOPORT_BASE + 3)
|
---|
51 | %define VMMDEV_TESTING_IOPORT_DATA (VMMDEV_TESTING_IOPORT_BASE + 4)
|
---|
52 | %define VMMDEV_TESTING_IOPORT_NOP_R3 (VMMDEV_TESTING_IOPORT_BASE + 5)
|
---|
53 | %define VMMDEV_TESTING_CMD_INIT 0xcab1e000
|
---|
54 | %define VMMDEV_TESTING_CMD_TERM 0xcab1e001
|
---|
55 | %define VMMDEV_TESTING_CMD_SUB_NEW 0xcab1e002
|
---|
56 | %define VMMDEV_TESTING_CMD_SUB_DONE 0xcab1e003
|
---|
57 | %define VMMDEV_TESTING_CMD_FAILED 0xcab1e004
|
---|
58 | %define VMMDEV_TESTING_CMD_VALUE 0xcab1e005
|
---|
59 | %define VMMDEV_TESTING_CMD_SKIPPED 0xcab1e006
|
---|
60 | %define VMMDEV_TESTING_CMD_VALUE_REG 0xcab1e007
|
---|
61 | %define VMMDEV_TESTING_CMD_PRINT 0xcab1e008
|
---|
62 | %define VMMDEV_TESTING_CMD_QUERY_CFG 0xcab1e009
|
---|
63 | %define VMMDEV_TESTING_CMD_MAGIC 0xcab1e000
|
---|
64 | %define VMMDEV_TESTING_CMD_MAGIC_MASK 0xffffff00
|
---|
65 | %define VMMDEV_TESTING_CMD_MAGIC_HI_WORD 0xcab10000
|
---|
66 | %define VMMDEV_TESTING_UNIT_PCT 0x01
|
---|
67 | %define VMMDEV_TESTING_UNIT_BYTES 0x02
|
---|
68 | %define VMMDEV_TESTING_UNIT_BYTES_PER_SEC 0x03
|
---|
69 | %define VMMDEV_TESTING_UNIT_KILOBYTES 0x04
|
---|
70 | %define VMMDEV_TESTING_UNIT_KILOBYTES_PER_SEC 0x05
|
---|
71 | %define VMMDEV_TESTING_UNIT_MEGABYTES 0x06
|
---|
72 | %define VMMDEV_TESTING_UNIT_MEGABYTES_PER_SEC 0x07
|
---|
73 | %define VMMDEV_TESTING_UNIT_PACKETS 0x08
|
---|
74 | %define VMMDEV_TESTING_UNIT_PACKETS_PER_SEC 0x09
|
---|
75 | %define VMMDEV_TESTING_UNIT_FRAMES 0x0a
|
---|
76 | %define VMMDEV_TESTING_UNIT_FRAMES_PER_SEC 0x0b
|
---|
77 | %define VMMDEV_TESTING_UNIT_OCCURRENCES 0x0c
|
---|
78 | %define VMMDEV_TESTING_UNIT_OCCURRENCES_PER_SEC 0x0d
|
---|
79 | %define VMMDEV_TESTING_UNIT_CALLS 0x0e
|
---|
80 | %define VMMDEV_TESTING_UNIT_CALLS_PER_SEC 0x0f
|
---|
81 | %define VMMDEV_TESTING_UNIT_ROUND_TRIP 0x10
|
---|
82 | %define VMMDEV_TESTING_UNIT_SECS 0x11
|
---|
83 | %define VMMDEV_TESTING_UNIT_MS 0x12
|
---|
84 | %define VMMDEV_TESTING_UNIT_NS 0x13
|
---|
85 | %define VMMDEV_TESTING_UNIT_NS_PER_CALL 0x14
|
---|
86 | %define VMMDEV_TESTING_UNIT_NS_PER_FRAME 0x15
|
---|
87 | %define VMMDEV_TESTING_UNIT_NS_PER_OCCURRENCE 0x16
|
---|
88 | %define VMMDEV_TESTING_UNIT_NS_PER_PACKET 0x17
|
---|
89 | %define VMMDEV_TESTING_UNIT_NS_PER_ROUND_TRIP 0x18
|
---|
90 | %define VMMDEV_TESTING_UNIT_INSTRS 0x19
|
---|
91 | %define VMMDEV_TESTING_UNIT_INSTRS_PER_SEC 0x1a
|
---|
92 | %define VMMDEV_TESTING_UNIT_NONE 0x1b
|
---|
93 | %define VMMDEV_TESTING_NOP_RET 0x64726962
|
---|
94 | %endif
|
---|