Changeset 30736 in vbox
- Timestamp:
- Jul 8, 2010 12:12:32 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63505
- Location:
- trunk/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VMMDevTesting.h
r30724 r30736 32 32 /** The XXX MMIO register - 124 RW. */ 33 33 #define VMMDEV_TESTING_MMIO_TODO (VMMDEV_TESTING_MMIO_BASE + 0x004) 34 /** The real mode selector to use. 35 * @remarks Requires that the A20 gate is enabled. */ 36 #define VMMDEV_TESTING_MMIO_RM_SEL 0xffff 37 /** Calculate the real mode offset of a MMIO register. */ 38 #define VMMDEV_TESTING_MMIO_RM_OFF(val) ((val) - 0xffff0) 34 39 35 40 /** The base port of the I/O range used for testing. */ -
trunk/include/VBox/VMMDevTesting.mac
r30724 r30736 1 1 %ifndef ___VBox_VMMDevTesting_h 2 2 %define ___VBox_VMMDevTesting_h 3 %define VMMDEV_TESTING_MMIO_BASE UINT32_C(0x00101000)4 %define VMMDEV_TESTING_MMIO_SIZE UINT32_C(0x00001000)3 %define VMMDEV_TESTING_MMIO_BASE 0x00101000 4 %define VMMDEV_TESTING_MMIO_SIZE 0x00001000 5 5 %define VMMDEV_TESTING_MMIO_NOP (VMMDEV_TESTING_MMIO_BASE + 0x000) 6 6 %define VMMDEV_TESTING_MMIO_TODO (VMMDEV_TESTING_MMIO_BASE + 0x004) 7 %define VMMDEV_TESTING_MMIO_RM_SEL 0xffff 8 %define VMMDEV_TESTING_MMIO_RM_OFF(val) ((val) - 0xffff0) 7 9 %define VMMDEV_TESTING_IOPORT_BASE 0x0510 8 10 %define VMMDEV_TESTING_IOPORT_COUNT 0x0010 … … 10 12 %define VMMDEV_TESTING_IOPORT_TS_LOW (VMMDEV_TESTING_IOPORT_BASE + 1) 11 13 %define VMMDEV_TESTING_IOPORT_TS_HIGH (VMMDEV_TESTING_IOPORT_BASE + 2) 12 %define VMMDEV_TESTING_NOP_RET UINT32_C(0x64726962)14 %define VMMDEV_TESTING_NOP_RET 0x64726962 13 15 %endif -
trunk/include/VBox/param.mac
r28828 r30736 2 2 %define ___VBox_param_h 3 3 %define VBOX_MAX_ALLOC_PAGE_COUNT (256U * _1M / PAGE_SIZE) 4 %define MM_HYPER_AREA_ADDRESS UINT32_C(0xa0000000)4 %define MM_HYPER_AREA_ADDRESS 0xa0000000 5 5 %define MM_HYPER_AREA_MAX_SIZE (40U * _1M) 6 6 %define MM_HYPER_DYNAMIC_SIZE (16U * PAGE_SIZE) 7 %define MM_RAM_MIN UINT32_C(0x00400000)7 %define MM_RAM_MIN 0x00400000 8 8 %if HC_ARCH_BITS == 64 9 9 %define MM_RAM_MAX UINT64_C(0x400000000) … … 11 11 %define MM_RAM_MAX UINT64_C(0x0E0000000) 12 12 %endif 13 %define MM_RAM_MIN_IN_MB UINT32_C(4)13 %define MM_RAM_MIN_IN_MB 4 14 14 %if HC_ARCH_BITS == 64 15 %define MM_RAM_MAX_IN_MB UINT32_C(16384)15 %define MM_RAM_MAX_IN_MB 16384 16 16 %else 17 %define MM_RAM_MAX_IN_MB UINT32_C(3584)17 %define MM_RAM_MAX_IN_MB 3584 18 18 %endif 19 19 %define MM_RAM_HOLE_SIZE_DEFAULT (512U * _1M) -
trunk/include/VBox/various.sed
r20742 r30736 46 46 s/\([[:space:]][0-9][0-9]*\)ULL\([[:space:]]*\))$/\1\2)/ 47 47 48 s/UINT32_C([[:space:]]*\(0[xX][0-9a-fA-F][0-9a-fA-F]*\)[[:space:]]*)/\1/ 49 s/UINT32_C([[:space:]]*\([0-9][0-9]*\)[[:space:]]*)/\1/ 50 48 51 b end 49 52 -
trunk/include/VBox/x86.mac
r28828 r30736 202 202 %define X86_DR7_LEN3_MASK (3 << 30) 203 203 %define X86_DR7_MB1_MASK (RT_BIT(10)) 204 %define X86_DR7_L(iBp) ( UINT32_C(1)<< (iBp * 2) )205 %define X86_DR7_G(iBp) ( UINT32_C(1)<< (iBp * 2 + 1) )204 %define X86_DR7_L(iBp) ( 1 << (iBp * 2) ) 205 %define X86_DR7_G(iBp) ( 1 << (iBp * 2 + 1) ) 206 206 %define X86_DR7_RW_EO 0 207 207 %define X86_DR7_RW_WO 1 -
trunk/include/iprt/asmdefs.mac
r28800 r30736 94 94 ; Global marker which is DECLASM() compatible. 95 95 %macro GLOBALNAME 1, 96 %ifndef ASM_FORMAT_BIN 96 97 global NAME(%1) 98 %endif 97 99 NAME(%1): 98 100 %endmacro
Note:
See TracChangeset
for help on using the changeset viewer.