VirtualBox

source: vbox/trunk/include/VBox/VMMDevTesting.mac@ 96407

Last change on this file since 96407 was 96407, checked in by vboxsync, 2 years ago

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.4 KB
Line 
1; $Id: VMMDevTesting.mac 96407 2022-08-22 17:43:14Z vboxsync $ ;/
2;; @file
3; VMMDev - Testing Extensions.
4; Automatically generated by various.sed. DO NOT EDIT!
5
6;
7; Copyright (C) 2010-2022 Oracle and/or its affiliates.
8;
9; This file is part of VirtualBox base platform packages, as
10; available from https://www.virtualbox.org.
11;
12; This program is free software; you can redistribute it and/or
13; modify it under the terms of the GNU General Public License
14; as published by the Free Software Foundation, in version 3 of the
15; License.
16;
17; This program is distributed in the hope that it will be useful, but
18; WITHOUT ANY WARRANTY; without even the implied warranty of
19; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20; General Public License for more details.
21;
22; You should have received a copy of the GNU General Public License
23; along with this program; if not, see <https://www.gnu.org/licenses>.
24;
25; The contents of this file may alternatively be used under the terms
26; of the Common Development and Distribution License Version 1.0
27; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
28; in the VirtualBox distribution, in which case the provisions of the
29; CDDL are applicable instead of those of the GPL.
30;
31; You may elect to license modified versions of this file under the
32; terms and conditions of either the GPL or the CDDL or both.
33;
34; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
35;
36
37%ifndef VBOX_INCLUDED_VMMDevTesting_h
38%define VBOX_INCLUDED_VMMDevTesting_h
39%ifndef RT_WITHOUT_PRAGMA_ONCE
40%endif
41%define VMMDEV_TESTING_MMIO_BASE 0x000df000
42%define VMMDEV_TESTING_MMIO_SIZE 0x00001000
43%define VMMDEV_TESTING_MMIO_OFF_NOP (0x000)
44%define VMMDEV_TESTING_MMIO_OFF_NOP_R3 (0x008)
45%define VMMDEV_TESTING_MMIO_OFF_READBACK (0x040)
46%define VMMDEV_TESTING_MMIO_OFF_READBACK_R3 (0x080)
47%define VMMDEV_TESTING_READBACK_SIZE (0x40)
48%define VMMDEV_TESTING_MMIO_NOP (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_NOP)
49%define VMMDEV_TESTING_MMIO_NOP_R3 (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_NOP_R3)
50%define VMMDEV_TESTING_MMIO_READBACK (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK)
51%define VMMDEV_TESTING_MMIO_READBACK_R3 (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK_R3)
52%define VMMDEV_TESTING_MMIO_RM_SEL 0xdf00
53%define VMMDEV_TESTING_MMIO_RM_OFF(val) ((val) - VMMDEV_TESTING_MMIO_BASE)
54%define VMMDEV_TESTING_MMIO_RM_OFF2(off) (off)
55%define VMMDEV_TESTING_IOPORT_BASE 0x0510
56%define VMMDEV_TESTING_IOPORT_COUNT 0x0010
57%define VMMDEV_TESTING_IOPORT_NOP (VMMDEV_TESTING_IOPORT_BASE + 0)
58%define VMMDEV_TESTING_IOPORT_TS_LOW (VMMDEV_TESTING_IOPORT_BASE + 1)
59%define VMMDEV_TESTING_IOPORT_TS_HIGH (VMMDEV_TESTING_IOPORT_BASE + 2)
60%define VMMDEV_TESTING_IOPORT_CMD (VMMDEV_TESTING_IOPORT_BASE + 3)
61%define VMMDEV_TESTING_IOPORT_DATA (VMMDEV_TESTING_IOPORT_BASE + 4)
62%define VMMDEV_TESTING_IOPORT_NOP_R3 (VMMDEV_TESTING_IOPORT_BASE + 5)
63%define VMMDEV_TESTING_IOPORT_LOCKED_LO (VMMDEV_TESTING_IOPORT_BASE + 6)
64%define VMMDEV_TESTING_IOPORT_LOCKED_HI (VMMDEV_TESTING_IOPORT_BASE + 7)
65%define VMMDEV_TESTING_CMD_INIT 0xcab1e000
66%define VMMDEV_TESTING_CMD_TERM 0xcab1e001
67%define VMMDEV_TESTING_CMD_SUB_NEW 0xcab1e002
68%define VMMDEV_TESTING_CMD_SUB_DONE 0xcab1e003
69%define VMMDEV_TESTING_CMD_FAILED 0xcab1e004
70%define VMMDEV_TESTING_CMD_VALUE 0xcab1e005
71%define VMMDEV_TESTING_CMD_SKIPPED 0xcab1e006
72%define VMMDEV_TESTING_CMD_VALUE_REG 0xcab1e007
73%define VMMDEV_TESTING_CMD_PRINT 0xcab1e008
74%define VMMDEV_TESTING_CMD_QUERY_CFG 0xcab1e009
75%define VMMDEV_TESTING_CMD_MAGIC 0xcab1e000
76%define VMMDEV_TESTING_CMD_MAGIC_MASK 0xffffff00
77%define VMMDEV_TESTING_CMD_MAGIC_HI_WORD 0xcab10000
78%define VMMDEV_TESTING_UNIT_PCT 0x01
79%define VMMDEV_TESTING_UNIT_BYTES 0x02
80%define VMMDEV_TESTING_UNIT_BYTES_PER_SEC 0x03
81%define VMMDEV_TESTING_UNIT_KILOBYTES 0x04
82%define VMMDEV_TESTING_UNIT_KILOBYTES_PER_SEC 0x05
83%define VMMDEV_TESTING_UNIT_MEGABYTES 0x06
84%define VMMDEV_TESTING_UNIT_MEGABYTES_PER_SEC 0x07
85%define VMMDEV_TESTING_UNIT_PACKETS 0x08
86%define VMMDEV_TESTING_UNIT_PACKETS_PER_SEC 0x09
87%define VMMDEV_TESTING_UNIT_FRAMES 0x0a
88%define VMMDEV_TESTING_UNIT_FRAMES_PER_SEC 0x0b
89%define VMMDEV_TESTING_UNIT_OCCURRENCES 0x0c
90%define VMMDEV_TESTING_UNIT_OCCURRENCES_PER_SEC 0x0d
91%define VMMDEV_TESTING_UNIT_CALLS 0x0e
92%define VMMDEV_TESTING_UNIT_CALLS_PER_SEC 0x0f
93%define VMMDEV_TESTING_UNIT_ROUND_TRIP 0x10
94%define VMMDEV_TESTING_UNIT_SECS 0x11
95%define VMMDEV_TESTING_UNIT_MS 0x12
96%define VMMDEV_TESTING_UNIT_NS 0x13
97%define VMMDEV_TESTING_UNIT_NS_PER_CALL 0x14
98%define VMMDEV_TESTING_UNIT_NS_PER_FRAME 0x15
99%define VMMDEV_TESTING_UNIT_NS_PER_OCCURRENCE 0x16
100%define VMMDEV_TESTING_UNIT_NS_PER_PACKET 0x17
101%define VMMDEV_TESTING_UNIT_NS_PER_ROUND_TRIP 0x18
102%define VMMDEV_TESTING_UNIT_INSTRS 0x19
103%define VMMDEV_TESTING_UNIT_INSTRS_PER_SEC 0x1a
104%define VMMDEV_TESTING_UNIT_NONE 0x1b
105%define VMMDEV_TESTING_UNIT_PP1K 0x1c
106%define VMMDEV_TESTING_UNIT_PP10K 0x1d
107%define VMMDEV_TESTING_UNIT_PPM 0x1e
108%define VMMDEV_TESTING_UNIT_PPB 0x1f
109%define VMMDEV_TESTING_UNIT_TICKS 0x20
110%define VMMDEV_TESTING_UNIT_TICKS_PER_CALL 0x21
111%define VMMDEV_TESTING_UNIT_TICKS_PER_OCCURENCE 0x22
112%define VMMDEV_TESTING_UNIT_PAGES 0x23
113%define VMMDEV_TESTING_UNIT_PAGES_PER_SEC 0x24
114%define VMMDEV_TESTING_UNIT_TICKS_PER_PAGE 0x25
115%define VMMDEV_TESTING_UNIT_NS_PER_PAGE 0x26
116%define VMMDEV_TESTING_UNIT_PS 0x27
117%define VMMDEV_TESTING_UNIT_PS_PER_CALL 0x28
118%define VMMDEV_TESTING_UNIT_PS_PER_FRAME 0x29
119%define VMMDEV_TESTING_UNIT_PS_PER_OCCURRENCE 0x2a
120%define VMMDEV_TESTING_UNIT_PS_PER_PACKET 0x2b
121%define VMMDEV_TESTING_UNIT_PS_PER_ROUND_TRIP 0x2c
122%define VMMDEV_TESTING_UNIT_PS_PER_PAGE 0x2d
123%define VMMDEV_TESTING_NOP_RET 0x64726962
124%define VMMDEV_TESTING_LOCKED_LO_HOLD_MASK 0x0000ffff
125%define VMMDEV_TESTING_LOCKED_LO_WAIT_MASK 0xffff0000
126%define VMMDEV_TESTING_LOCKED_LO_WAIT_SHIFT 16
127%define VMMDEV_TESTING_LOCKED_HI_TICKS_MASK 0x000fffff
128%define VMMDEV_TESTING_LOCKED_HI_MBZ_MASK 0x03f00000
129%define VMMDEV_TESTING_LOCKED_HI_THREAD_SHARED 0x04000000
130%define VMMDEV_TESTING_LOCKED_HI_EMT_SHARED 0x08000000
131%define VMMDEV_TESTING_LOCKED_HI_TYPE_RW 0x10000000
132%define VMMDEV_TESTING_LOCKED_HI_BUSY_SUCCESS 0x20000000
133%define VMMDEV_TESTING_LOCKED_HI_POKE 0x40000000
134%define VMMDEV_TESTING_LOCKED_HI_ENABLED 0x80000000
135%define VMMDEV_TESTING_CFG_DWORD0 0x0000
136%define VMMDEV_TESTING_CFG_DWORD1 0x0001
137%define VMMDEV_TESTING_CFG_DWORD2 0x0002
138%define VMMDEV_TESTING_CFG_DWORD3 0x0003
139%define VMMDEV_TESTING_CFG_DWORD4 0x0004
140%define VMMDEV_TESTING_CFG_DWORD5 0x0005
141%define VMMDEV_TESTING_CFG_DWORD6 0x0006
142%define VMMDEV_TESTING_CFG_DWORD7 0x0007
143%define VMMDEV_TESTING_CFG_DWORD8 0x0008
144%define VMMDEV_TESTING_CFG_DWORD9 0x0009
145%define VMMDEV_TESTING_CFG_IS_NEM_LINUX 0x0100
146%define VMMDEV_TESTING_CFG_IS_NEM_WINDOWS 0x0101
147%define VMMDEV_TESTING_CFG_IS_NEM_DARWIN 0x0102
148%endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette