summaryrefslogtreecommitdiffstats
path: root/include/VBox/VMMDevTesting.mac
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:46 +0000
commitf8fe689a81f906d1b91bb3220acde2a4ecb14c5b (patch)
tree26484e9d7e2c67806c2d1760196ff01aaa858e8c /include/VBox/VMMDevTesting.mac
parentInitial commit. (diff)
downloadvirtualbox-f8fe689a81f906d1b91bb3220acde2a4ecb14c5b.tar.xz
virtualbox-f8fe689a81f906d1b91bb3220acde2a4ecb14c5b.zip
Adding upstream version 6.0.4-dfsg.upstream/6.0.4-dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/VBox/VMMDevTesting.mac')
-rw-r--r--include/VBox/VMMDevTesting.mac93
1 files changed, 93 insertions, 0 deletions
diff --git a/include/VBox/VMMDevTesting.mac b/include/VBox/VMMDevTesting.mac
new file mode 100644
index 00000000..320be539
--- /dev/null
+++ b/include/VBox/VMMDevTesting.mac
@@ -0,0 +1,93 @@
+; $Id: VMMDevTesting.mac $ ;/
+;; @file
+; VMMDev - Testing Extensions.
+; Automatically generated by various.sed. DO NOT EDIT!
+
+;
+; Copyright (C) 2010-2019 Oracle Corporation
+;
+; This file is part of VirtualBox Open Source Edition (OSE), as
+; available from http://www.virtualbox.org. This file is free software;
+; you can redistribute it and/or modify it under the terms of the GNU
+; General Public License (GPL) as published by the Free Software
+; Foundation, in version 2 as it comes in the "COPYING" file of the
+; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+;
+; The contents of this file may alternatively be used under the terms
+; of the Common Development and Distribution License Version 1.0
+; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
+; VirtualBox OSE distribution, in which case the provisions of the
+; CDDL are applicable instead of those of the GPL.
+;
+; You may elect to license modified versions of this file under the
+; terms and conditions of either the GPL or the CDDL or both.
+;
+
+%ifndef VBOX_INCLUDED_VMMDevTesting_h
+%define VBOX_INCLUDED_VMMDevTesting_h
+%ifndef RT_WITHOUT_PRAGMA_ONCE
+%endif
+%define VMMDEV_TESTING_MMIO_BASE 0x00101000
+%define VMMDEV_TESTING_MMIO_SIZE 0x00001000
+%define VMMDEV_TESTING_MMIO_OFF_NOP (0x000)
+%define VMMDEV_TESTING_MMIO_OFF_NOP_R3 (0x008)
+%define VMMDEV_TESTING_MMIO_OFF_READBACK (0x040)
+%define VMMDEV_TESTING_MMIO_OFF_READBACK_R3 (0x080)
+%define VMMDEV_TESTING_READBACK_SIZE (0x40)
+%define VMMDEV_TESTING_MMIO_NOP (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_NOP)
+%define VMMDEV_TESTING_MMIO_NOP_R3 (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_NOP_R3)
+%define VMMDEV_TESTING_MMIO_READBACK (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK)
+%define VMMDEV_TESTING_MMIO_READBACK_R3 (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK_R3)
+%define VMMDEV_TESTING_MMIO_RM_SEL 0xffff
+%define VMMDEV_TESTING_MMIO_RM_OFF(val) ((val) - 0xffff0)
+%define VMMDEV_TESTING_MMIO_RM_OFF2(off) ((off) + 16 + 0x1000)
+%define VMMDEV_TESTING_IOPORT_BASE 0x0510
+%define VMMDEV_TESTING_IOPORT_COUNT 0x0010
+%define VMMDEV_TESTING_IOPORT_NOP (VMMDEV_TESTING_IOPORT_BASE + 0)
+%define VMMDEV_TESTING_IOPORT_TS_LOW (VMMDEV_TESTING_IOPORT_BASE + 1)
+%define VMMDEV_TESTING_IOPORT_TS_HIGH (VMMDEV_TESTING_IOPORT_BASE + 2)
+%define VMMDEV_TESTING_IOPORT_CMD (VMMDEV_TESTING_IOPORT_BASE + 3)
+%define VMMDEV_TESTING_IOPORT_DATA (VMMDEV_TESTING_IOPORT_BASE + 4)
+%define VMMDEV_TESTING_IOPORT_NOP_R3 (VMMDEV_TESTING_IOPORT_BASE + 5)
+%define VMMDEV_TESTING_CMD_INIT 0xcab1e000
+%define VMMDEV_TESTING_CMD_TERM 0xcab1e001
+%define VMMDEV_TESTING_CMD_SUB_NEW 0xcab1e002
+%define VMMDEV_TESTING_CMD_SUB_DONE 0xcab1e003
+%define VMMDEV_TESTING_CMD_FAILED 0xcab1e004
+%define VMMDEV_TESTING_CMD_VALUE 0xcab1e005
+%define VMMDEV_TESTING_CMD_SKIPPED 0xcab1e006
+%define VMMDEV_TESTING_CMD_VALUE_REG 0xcab1e007
+%define VMMDEV_TESTING_CMD_PRINT 0xcab1e008
+%define VMMDEV_TESTING_CMD_MAGIC 0xcab1e000
+%define VMMDEV_TESTING_CMD_MAGIC_MASK 0xffffff00
+%define VMMDEV_TESTING_CMD_MAGIC_HI_WORD 0xcab10000
+%define VMMDEV_TESTING_UNIT_PCT 0x01
+%define VMMDEV_TESTING_UNIT_BYTES 0x02
+%define VMMDEV_TESTING_UNIT_BYTES_PER_SEC 0x03
+%define VMMDEV_TESTING_UNIT_KILOBYTES 0x04
+%define VMMDEV_TESTING_UNIT_KILOBYTES_PER_SEC 0x05
+%define VMMDEV_TESTING_UNIT_MEGABYTES 0x06
+%define VMMDEV_TESTING_UNIT_MEGABYTES_PER_SEC 0x07
+%define VMMDEV_TESTING_UNIT_PACKETS 0x08
+%define VMMDEV_TESTING_UNIT_PACKETS_PER_SEC 0x09
+%define VMMDEV_TESTING_UNIT_FRAMES 0x0a
+%define VMMDEV_TESTING_UNIT_FRAMES_PER_SEC 0x0b
+%define VMMDEV_TESTING_UNIT_OCCURRENCES 0x0c
+%define VMMDEV_TESTING_UNIT_OCCURRENCES_PER_SEC 0x0d
+%define VMMDEV_TESTING_UNIT_CALLS 0x0e
+%define VMMDEV_TESTING_UNIT_CALLS_PER_SEC 0x0f
+%define VMMDEV_TESTING_UNIT_ROUND_TRIP 0x10
+%define VMMDEV_TESTING_UNIT_SECS 0x11
+%define VMMDEV_TESTING_UNIT_MS 0x12
+%define VMMDEV_TESTING_UNIT_NS 0x13
+%define VMMDEV_TESTING_UNIT_NS_PER_CALL 0x14
+%define VMMDEV_TESTING_UNIT_NS_PER_FRAME 0x15
+%define VMMDEV_TESTING_UNIT_NS_PER_OCCURRENCE 0x16
+%define VMMDEV_TESTING_UNIT_NS_PER_PACKET 0x17
+%define VMMDEV_TESTING_UNIT_NS_PER_ROUND_TRIP 0x18
+%define VMMDEV_TESTING_UNIT_INSTRS 0x19
+%define VMMDEV_TESTING_UNIT_INSTRS_PER_SEC 0x1a
+%define VMMDEV_TESTING_UNIT_NONE 0x1b
+%define VMMDEV_TESTING_NOP_RET 0x64726962
+%endif