- Timestamp:
- Jul 14, 2011 12:23:02 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 61 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.kmk
r36768 r37955 5 5 6 6 # 7 # Copyright (C) 2006-201 0Oracle Corporation7 # Copyright (C) 2006-2011 Oracle Corporation 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 596 596 $(PATH_ROOT)/include/VBox/types.h \ 597 597 $(PATH_ROOT)/include/VBox/err.h \ 598 $(PATH_ROOT)/include/VBox/x86.h \599 598 $(PATH_ROOT)/include/VBox/vmm/cpumdis.h \ 600 599 $(PATH_ROOT)/include/VBox/dbggui.h \ … … 1373 1372 $(APPEND) include/VBox/err.mac '%include "iprt/err.mac"' 1374 1373 $(SED) -f include/VBox/err.sed --output include/iprt/err.mac include/iprt/err.h 1374 $(SED) -f include/VBox/various.sed --output include/iprt/x86.mac include/iprt/x86.h 1375 1375 $(SED) -f include/VBox/various.sed --output include/VBox/apic.mac include/VBox/apic.h 1376 $(SED) -f include/VBox/various.sed --output include/VBox/x86.mac include/VBox/x86.h1377 1376 $(SED) -f include/VBox/various.sed --output include/VBox/param.mac include/VBox/param.h 1378 1377 $(SED) -f include/VBox/various.sed --output include/VBox/VMMDevTesting.mac include/VBox/VMMDevTesting.h -
trunk/include/VBox/vmm/cpum.h
r37136 r37955 27 27 #define ___VBox_vmm_cpum_h 28 28 29 #include <iprt/ types.h>30 #include <VBox/ x86.h>29 #include <iprt/x86.h> 30 #include <VBox/types.h> 31 31 #include <VBox/vmm/cpumctx.h> 32 32 -
trunk/include/VBox/vmm/cpumctx.h
r36763 r37955 28 28 29 29 #include <iprt/types.h> 30 #include < VBox/x86.h>30 #include <iprt/x86.h> 31 31 32 32 -
trunk/include/VBox/vmm/cpumdis.h
r35361 r37955 28 28 29 29 #include <VBox/vmm/cpum.h> 30 #include < VBox/x86.h>30 #include <iprt/x86.h> 31 31 #include <VBox/dis.h> 32 32 -
trunk/include/VBox/vmm/dbgfsel.h
r35361 r37955 29 29 30 30 #include <VBox/types.h> 31 #include < VBox/x86.h>31 #include <iprt/x86.h> 32 32 33 33 -
trunk/include/VBox/vmm/hwacc_vmx.h
r35361 r37955 29 29 #include <VBox/types.h> 30 30 #include <VBox/err.h> 31 #include < VBox/x86.h>31 #include <iprt/x86.h> 32 32 #include <iprt/assert.h> 33 33 -
trunk/include/VBox/vmm/mm.h
r35410 r37955 28 28 29 29 #include <VBox/types.h> 30 #include < VBox/x86.h>30 #include <iprt/x86.h> 31 31 #include <VBox/sup.h> 32 32 #include <iprt/stdarg.h> -
trunk/include/VBox/vmm/pgm.h
r37354 r37955 31 31 #include <VBox/vmm/vmapi.h> 32 32 #include <VBox/vmm/gmm.h> /* for PGMMREGISTERSHAREDMODULEREQ */ 33 #include < VBox/x86.h>33 #include <iprt/x86.h> 34 34 #include <VBox/VMMDev.h> /* for VMMDEVSHAREDREGIONDESC */ 35 35 #include <VBox/param.h> -
trunk/include/VBox/vmm/selm.h
r35361 r37955 28 28 29 29 #include <VBox/types.h> 30 #include < VBox/x86.h>30 #include <iprt/x86.h> 31 31 #include <VBox/dis.h> 32 32 #include <VBox/vmm/dbgfsel.h> -
trunk/include/VBox/vmm/trpm.h
r35361 r37955 28 28 29 29 #include <VBox/types.h> 30 #include < VBox/x86.h>30 #include <iprt/x86.h> 31 31 32 32 -
trunk/include/VBox/x86.mac
r35593 r37955 1 %ifndef ___VBox_x86_h 2 %define ___VBox_x86_h 3 %ifdef RT_OS_SOLARIS 4 %endif 5 %define X86_EFL_CF RT_BIT(0) 6 %define X86_EFL_PF RT_BIT(2) 7 %define X86_EFL_AF RT_BIT(4) 8 %define X86_EFL_ZF RT_BIT(6) 9 %define X86_EFL_SF RT_BIT(7) 10 %define X86_EFL_TF RT_BIT(8) 11 %define X86_EFL_IF RT_BIT(9) 12 %define X86_EFL_DF RT_BIT(10) 13 %define X86_EFL_OF RT_BIT(11) 14 %define X86_EFL_IOPL (RT_BIT(12) | RT_BIT(13)) 15 %define X86_EFL_NT RT_BIT(14) 16 %define X86_EFL_RF RT_BIT(16) 17 %define X86_EFL_VM RT_BIT(17) 18 %define X86_EFL_AC RT_BIT(18) 19 %define X86_EFL_VIF RT_BIT(19) 20 %define X86_EFL_VIP RT_BIT(20) 21 %define X86_EFL_ID RT_BIT(21) 22 %define X86_EFL_IOPL_SHIFT 12 23 %define X86_EFL_GET_IOPL(efl) (((efl) >> X86_EFL_IOPL_SHIFT) & 3) 24 %define X86_EFL_POPF_BITS (X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF | X86_EFL_TF | X86_EFL_IF | X86_EFL_DF | X86_EFL_OF | X86_EFL_IOPL | X86_EFL_NT | X86_EFL_AC | X86_EFL_ID) 25 %define X86_CPUID_VENDOR_INTEL_EBX 0x756e6547 26 %define X86_CPUID_VENDOR_INTEL_ECX 0x6c65746e 27 %define X86_CPUID_VENDOR_INTEL_EDX 0x49656e69 28 %define X86_CPUID_VENDOR_AMD_EBX 0x68747541 29 %define X86_CPUID_VENDOR_AMD_ECX 0x444d4163 30 %define X86_CPUID_VENDOR_AMD_EDX 0x69746e65 31 %define X86_CPUID_FEATURE_ECX_SSE3 RT_BIT(0) 32 %define X86_CPUID_FEATURE_ECX_PCLMUL RT_BIT(1) 33 %define X86_CPUID_FEATURE_ECX_DTES64 RT_BIT(2) 34 %define X86_CPUID_FEATURE_ECX_MONITOR RT_BIT(3) 35 %define X86_CPUID_FEATURE_ECX_CPLDS RT_BIT(4) 36 %define X86_CPUID_FEATURE_ECX_VMX RT_BIT(5) 37 %define X86_CPUID_FEATURE_ECX_SMX RT_BIT(6) 38 %define X86_CPUID_FEATURE_ECX_EST RT_BIT(7) 39 %define X86_CPUID_FEATURE_ECX_TM2 RT_BIT(8) 40 %define X86_CPUID_FEATURE_ECX_SSSE3 RT_BIT(9) 41 %define X86_CPUID_FEATURE_ECX_CNTXID RT_BIT(10) 42 %define X86_CPUID_FEATURE_ECX_FMA RT_BIT(12) 43 %define X86_CPUID_FEATURE_ECX_CX16 RT_BIT(13) 44 %define X86_CPUID_FEATURE_ECX_TPRUPDATE RT_BIT(14) 45 %define X86_CPUID_FEATURE_ECX_PDCM RT_BIT(15) 46 %define X86_CPUID_FEATURE_ECX_PCID RT_BIT(17) 47 %define X86_CPUID_FEATURE_ECX_DCA RT_BIT(18) 48 %define X86_CPUID_FEATURE_ECX_SSE4_1 RT_BIT(19) 49 %define X86_CPUID_FEATURE_ECX_SSE4_2 RT_BIT(20) 50 %define X86_CPUID_FEATURE_ECX_X2APIC RT_BIT(21) 51 %define X86_CPUID_FEATURE_ECX_MOVBE RT_BIT(22) 52 %define X86_CPUID_FEATURE_ECX_POPCNT RT_BIT(23) 53 %define X86_CPUID_FEATURE_ECX_TSCDEADL RT_BIT(24) 54 %define X86_CPUID_FEATURE_ECX_AES RT_BIT(25) 55 %define X86_CPUID_FEATURE_ECX_XSAVE RT_BIT(26) 56 %define X86_CPUID_FEATURE_ECX_OSXSAVE RT_BIT(27) 57 %define X86_CPUID_FEATURE_ECX_AVX RT_BIT(28) 58 %define X86_CPUID_FEATURE_EDX_FPU RT_BIT(0) 59 %define X86_CPUID_FEATURE_EDX_VME RT_BIT(1) 60 %define X86_CPUID_FEATURE_EDX_DE RT_BIT(2) 61 %define X86_CPUID_FEATURE_EDX_PSE RT_BIT(3) 62 %define X86_CPUID_FEATURE_EDX_TSC RT_BIT(4) 63 %define X86_CPUID_FEATURE_EDX_MSR RT_BIT(5) 64 %define X86_CPUID_FEATURE_EDX_PAE RT_BIT(6) 65 %define X86_CPUID_FEATURE_EDX_MCE RT_BIT(7) 66 %define X86_CPUID_FEATURE_EDX_CX8 RT_BIT(8) 67 %define X86_CPUID_FEATURE_EDX_APIC RT_BIT(9) 68 %define X86_CPUID_FEATURE_EDX_SEP RT_BIT(11) 69 %define X86_CPUID_FEATURE_EDX_MTRR RT_BIT(12) 70 %define X86_CPUID_FEATURE_EDX_PGE RT_BIT(13) 71 %define X86_CPUID_FEATURE_EDX_MCA RT_BIT(14) 72 %define X86_CPUID_FEATURE_EDX_CMOV RT_BIT(15) 73 %define X86_CPUID_FEATURE_EDX_PAT RT_BIT(16) 74 %define X86_CPUID_FEATURE_EDX_PSE36 RT_BIT(17) 75 %define X86_CPUID_FEATURE_EDX_PSN RT_BIT(18) 76 %define X86_CPUID_FEATURE_EDX_CLFSH RT_BIT(19) 77 %define X86_CPUID_FEATURE_EDX_DS RT_BIT(21) 78 %define X86_CPUID_FEATURE_EDX_ACPI RT_BIT(22) 79 %define X86_CPUID_FEATURE_EDX_MMX RT_BIT(23) 80 %define X86_CPUID_FEATURE_EDX_FXSR RT_BIT(24) 81 %define X86_CPUID_FEATURE_EDX_SSE RT_BIT(25) 82 %define X86_CPUID_FEATURE_EDX_SSE2 RT_BIT(26) 83 %define X86_CPUID_FEATURE_EDX_SS RT_BIT(27) 84 %define X86_CPUID_FEATURE_EDX_HTT RT_BIT(28) 85 %define X86_CPUID_FEATURE_EDX_TM RT_BIT(29) 86 %define X86_CPUID_FEATURE_EDX_PBE RT_BIT(31) 87 %define X86_CPUID_MWAIT_ECX_EXT RT_BIT(0) 88 %define X86_CPUID_MWAIT_ECX_BREAKIRQIF0 RT_BIT(1) 89 %define X86_CPUID_AMD_FEATURE_EDX_FPU RT_BIT(0) 90 %define X86_CPUID_AMD_FEATURE_EDX_VME RT_BIT(1) 91 %define X86_CPUID_AMD_FEATURE_EDX_DE RT_BIT(2) 92 %define X86_CPUID_AMD_FEATURE_EDX_PSE RT_BIT(3) 93 %define X86_CPUID_AMD_FEATURE_EDX_TSC RT_BIT(4) 94 %define X86_CPUID_AMD_FEATURE_EDX_MSR RT_BIT(5) 95 %define X86_CPUID_AMD_FEATURE_EDX_PAE RT_BIT(6) 96 %define X86_CPUID_AMD_FEATURE_EDX_MCE RT_BIT(7) 97 %define X86_CPUID_AMD_FEATURE_EDX_CX8 RT_BIT(8) 98 %define X86_CPUID_AMD_FEATURE_EDX_APIC RT_BIT(9) 99 %define X86_CPUID_AMD_FEATURE_EDX_SEP RT_BIT(11) 100 %define X86_CPUID_AMD_FEATURE_EDX_MTRR RT_BIT(12) 101 %define X86_CPUID_AMD_FEATURE_EDX_PGE RT_BIT(13) 102 %define X86_CPUID_AMD_FEATURE_EDX_MCA RT_BIT(14) 103 %define X86_CPUID_AMD_FEATURE_EDX_CMOV RT_BIT(15) 104 %define X86_CPUID_AMD_FEATURE_EDX_PAT RT_BIT(16) 105 %define X86_CPUID_AMD_FEATURE_EDX_PSE36 RT_BIT(17) 106 %define X86_CPUID_AMD_FEATURE_EDX_NX RT_BIT(20) 107 %define X86_CPUID_AMD_FEATURE_EDX_AXMMX RT_BIT(22) 108 %define X86_CPUID_AMD_FEATURE_EDX_MMX RT_BIT(23) 109 %define X86_CPUID_AMD_FEATURE_EDX_FXSR RT_BIT(24) 110 %define X86_CPUID_AMD_FEATURE_EDX_FFXSR RT_BIT(25) 111 %define X86_CPUID_AMD_FEATURE_EDX_PAGE1GB RT_BIT(26) 112 %define X86_CPUID_AMD_FEATURE_EDX_RDTSCP RT_BIT(27) 113 %define X86_CPUID_AMD_FEATURE_EDX_LONG_MODE RT_BIT(29) 114 %define X86_CPUID_AMD_FEATURE_EDX_3DNOW_EX RT_BIT(30) 115 %define X86_CPUID_AMD_FEATURE_EDX_3DNOW RT_BIT(31) 116 %define X86_CPUID_AMD_FEATURE_ECX_LAHF_SAHF RT_BIT(0) 117 %define X86_CPUID_AMD_FEATURE_ECX_CMPL RT_BIT(1) 118 %define X86_CPUID_AMD_FEATURE_ECX_SVM RT_BIT(2) 119 %define X86_CPUID_AMD_FEATURE_ECX_EXT_APIC RT_BIT(3) 120 %define X86_CPUID_AMD_FEATURE_ECX_CR8L RT_BIT(4) 121 %define X86_CPUID_AMD_FEATURE_ECX_ABM RT_BIT(5) 122 %define X86_CPUID_AMD_FEATURE_ECX_SSE4A RT_BIT(6) 123 %define X86_CPUID_AMD_FEATURE_ECX_MISALNSSE RT_BIT(7) 124 %define X86_CPUID_AMD_FEATURE_ECX_3DNOWPRF RT_BIT(8) 125 %define X86_CPUID_AMD_FEATURE_ECX_OSVW RT_BIT(9) 126 %define X86_CPUID_AMD_FEATURE_ECX_IBS RT_BIT(10) 127 %define X86_CPUID_AMD_FEATURE_ECX_SSE5 RT_BIT(11) 128 %define X86_CPUID_AMD_FEATURE_ECX_SKINIT RT_BIT(12) 129 %define X86_CPUID_AMD_FEATURE_ECX_WDT RT_BIT(13) 130 %define X86_CPUID_AMD_ADVPOWER_EDX_TS RT_BIT(0) 131 %define X86_CPUID_AMD_ADVPOWER_EDX_FID RT_BIT(1) 132 %define X86_CPUID_AMD_ADVPOWER_EDX_VID RT_BIT(2) 133 %define X86_CPUID_AMD_ADVPOWER_EDX_TTP RT_BIT(3) 134 %define X86_CPUID_AMD_ADVPOWER_EDX_TM RT_BIT(4) 135 %define X86_CPUID_AMD_ADVPOWER_EDX_STC RT_BIT(5) 136 %define X86_CPUID_AMD_ADVPOWER_EDX_MC RT_BIT(6) 137 %define X86_CPUID_AMD_ADVPOWER_EDX_HWPSTATE RT_BIT(7) 138 %define X86_CPUID_AMD_ADVPOWER_EDX_TSCINVAR RT_BIT(8) 139 %define X86_CR0_PE RT_BIT(0) 140 %define X86_CR0_PROTECTION_ENABLE RT_BIT(0) 141 %define X86_CR0_MP RT_BIT(1) 142 %define X86_CR0_MONITOR_COPROCESSOR RT_BIT(1) 143 %define X86_CR0_EM RT_BIT(2) 144 %define X86_CR0_EMULATE_FPU RT_BIT(2) 145 %define X86_CR0_TS RT_BIT(3) 146 %define X86_CR0_TASK_SWITCH RT_BIT(3) 147 %define X86_CR0_ET RT_BIT(4) 148 %define X86_CR0_EXTENSION_TYPE RT_BIT(4) 149 %define X86_CR0_NE RT_BIT(5) 150 %define X86_CR0_NUMERIC_ERROR RT_BIT(5) 151 %define X86_CR0_WP RT_BIT(16) 152 %define X86_CR0_WRITE_PROTECT RT_BIT(16) 153 %define X86_CR0_AM RT_BIT(18) 154 %define X86_CR0_ALIGMENT_MASK RT_BIT(18) 155 %define X86_CR0_NW RT_BIT(29) 156 %define X86_CR0_NOT_WRITE_THROUGH RT_BIT(29) 157 %define X86_CR0_CD RT_BIT(30) 158 %define X86_CR0_CACHE_DISABLE RT_BIT(30) 159 %define X86_CR0_PG RT_BIT(31) 160 %define X86_CR0_PAGING RT_BIT(31) 161 %define X86_CR3_PWT RT_BIT(3) 162 %define X86_CR3_PCD RT_BIT(4) 163 %define X86_CR3_PAGE_MASK (0xfffff000) 164 %define X86_CR3_PAE_PAGE_MASK (0xffffffe0) 165 %define X86_CR3_AMD64_PAGE_MASK 0x000ffffffffff000 166 %define X86_CR4_VME RT_BIT(0) 167 %define X86_CR4_PVI RT_BIT(1) 168 %define X86_CR4_TSD RT_BIT(2) 169 %define X86_CR4_DE RT_BIT(3) 170 %define X86_CR4_PSE RT_BIT(4) 171 %define X86_CR4_PAE RT_BIT(5) 172 %define X86_CR4_MCE RT_BIT(6) 173 %define X86_CR4_PGE RT_BIT(7) 174 %define X86_CR4_PCE RT_BIT(8) 175 %define X86_CR4_OSFSXR RT_BIT(9) 176 %define X86_CR4_OSXMMEEXCPT RT_BIT(10) 177 %define X86_CR4_VMXE RT_BIT(13) 178 %define X86_DR6_B0 RT_BIT(0) 179 %define X86_DR6_B1 RT_BIT(1) 180 %define X86_DR6_B2 RT_BIT(2) 181 %define X86_DR6_B3 RT_BIT(3) 182 %define X86_DR6_BD RT_BIT(13) 183 %define X86_DR6_BS RT_BIT(14) 184 %define X86_DR6_BT RT_BIT(15) 185 %define X86_DR6_INIT_VAL 0xFFFF0FF0 186 %define X86_DR7_L0 RT_BIT(0) 187 %define X86_DR7_G0 RT_BIT(1) 188 %define X86_DR7_L1 RT_BIT(2) 189 %define X86_DR7_G1 RT_BIT(3) 190 %define X86_DR7_L2 RT_BIT(4) 191 %define X86_DR7_G2 RT_BIT(5) 192 %define X86_DR7_L3 RT_BIT(6) 193 %define X86_DR7_G3 RT_BIT(7) 194 %define X86_DR7_LE RT_BIT(8) 195 %define X86_DR7_GE RT_BIT(9) 196 %define X86_DR7_GD RT_BIT(13) 197 %define X86_DR7_RW0_MASK (3 << 16) 198 %define X86_DR7_LEN0_MASK (3 << 18) 199 %define X86_DR7_RW1_MASK (3 << 20) 200 %define X86_DR7_LEN1_MASK (3 << 22) 201 %define X86_DR7_RW2_MASK (3 << 24) 202 %define X86_DR7_LEN2_MASK (3 << 26) 203 %define X86_DR7_RW3_MASK (3 << 28) 204 %define X86_DR7_LEN3_MASK (3 << 30) 205 %define X86_DR7_MB1_MASK (RT_BIT(10)) 206 %define X86_DR7_L(iBp) ( 1 << (iBp * 2) ) 207 %define X86_DR7_G(iBp) ( 1 << (iBp * 2 + 1) ) 208 %define X86_DR7_RW_EO 0 209 %define X86_DR7_RW_WO 1 210 %define X86_DR7_RW_IO 2 211 %define X86_DR7_RW_RW 3 212 %define X86_DR7_RW(iBp, fRw) ( (fRw) << ((iBp) * 4 + 16) ) 213 %define X86_DR7_LEN_BYTE 0 214 %define X86_DR7_LEN_WORD 1 215 %define X86_DR7_LEN_QWORD 2 216 %define X86_DR7_LEN_DWORD 3 217 %define X86_DR7_LEN(iBp, cb) ( (cb) << ((iBp) * 4 + 18) ) 218 %define X86_DR7_GET_LEN(uDR7, iBp) ( ( (uDR7) >> ((iBp) * 4 + 18) ) & 0x3) 219 %define X86_DR7_ENABLED_MASK (RT_BIT(0) | RT_BIT(1) | RT_BIT(2) | RT_BIT(3) | RT_BIT(4) | RT_BIT(5) | RT_BIT(6) | RT_BIT(7)) 220 %define X86_DR7_IO_ENABLED_MASK (X86_DR7_RW(0, X86_DR7_RW_IO) | X86_DR7_RW(1, X86_DR7_RW_IO) | X86_DR7_RW(2, X86_DR7_RW_IO) | X86_DR7_RW(3, X86_DR7_RW_IO)) 221 %define X86_DR7_INIT_VAL 0x400 222 %define MSR_IA32_TSC 0x10 223 %define MSR_IA32_PLATFORM_ID 0x17 224 %ifndef MSR_IA32_APICBASE 225 %define MSR_IA32_APICBASE 0x1b 226 %endif 227 %define MSR_IA32_FEATURE_CONTROL 0x3A 228 %define MSR_IA32_FEATURE_CONTROL_LOCK RT_BIT(0) 229 %define MSR_IA32_FEATURE_CONTROL_VMXON RT_BIT(2) 230 %define MSR_IA32_BIOS_UPDT_TRIG 0x79 231 %define MSR_IA32_BIOS_SIGN_ID 0x8B 232 %define MSR_IA32_PMC0 0xC1 233 %define MSR_IA32_PMC1 0xC2 234 %define MSR_IA32_PMC2 0xC3 235 %define MSR_IA32_PMC3 0xC4 236 %define MSR_IA32_PLATFORM_INFO 0xCE 237 %define MSR_IA32_FSB_CLOCK_STS 0xCD 238 %define MSR_IA32_MTRR_CAP 0xFE 239 %ifndef MSR_IA32_SYSENTER_CS 240 %define MSR_IA32_SYSENTER_CS 0x174 241 %define MSR_IA32_SYSENTER_ESP 0x175 242 %define MSR_IA32_SYSENTER_EIP 0x176 243 %endif 244 %define MSR_IA32_MCP_CAP 0x179 245 %define MSR_IA32_MCP_STATUS 0x17A 246 %define MSR_IA32_MCP_CTRL 0x17B 247 %define MSR_IA32_DEBUGCTL 0x1D9 248 %define MSR_IA32_CR_PAT 0x277 249 %define MSR_IA32_PERFEVTSEL0 0x186 250 %define MSR_IA32_PERFEVTSEL1 0x187 251 %define MSR_IA32_FLEX_RATIO 0x194 252 %define MSR_IA32_PERF_STATUS 0x198 253 %define MSR_IA32_PERF_CTL 0x199 254 %define MSR_IA32_THERM_STATUS 0x19c 255 %define MSR_IA32_MISC_ENABLE 0x1A0 256 %define MSR_IA32_MTRR_DEF_TYPE 0x2FF 257 %define MSR_IA32_MC0_CTL 0x400 258 %define MSR_IA32_MC0_STATUS 0x401 259 %define MSR_IA32_VMX_BASIC_INFO 0x480 260 %define MSR_IA32_VMX_PINBASED_CTLS 0x481 261 %define MSR_IA32_VMX_PROCBASED_CTLS 0x482 262 %define MSR_IA32_VMX_EXIT_CTLS 0x483 263 %define MSR_IA32_VMX_ENTRY_CTLS 0x484 264 %define MSR_IA32_VMX_MISC 0x485 265 %define MSR_IA32_VMX_CR0_FIXED0 0x486 266 %define MSR_IA32_VMX_CR0_FIXED1 0x487 267 %define MSR_IA32_VMX_CR4_FIXED0 0x488 268 %define MSR_IA32_VMX_CR4_FIXED1 0x489 269 %define MSR_IA32_VMX_VMCS_ENUM 0x48A 270 %define MSR_IA32_VMX_PROCBASED_CTLS2 0x48B 271 %define MSR_IA32_VMX_EPT_CAPS 0x48C 272 %define MSR_IA32_DS_AREA 0x600 273 %define MSR_IA32_APIC_START 0x800 274 %define MSR_IA32_APIC_END 0x900 275 %define MSR_K6_EFER 0xc0000080 276 %define MSR_K6_EFER_SCE RT_BIT(0) 277 %define MSR_K6_EFER_LME RT_BIT(8) 278 %define MSR_K6_EFER_LMA RT_BIT(10) 279 %define MSR_K6_EFER_NXE RT_BIT(11) 280 %define MSR_K6_EFER_SVME RT_BIT(12) 281 %define MSR_K6_EFER_LMSLE RT_BIT(13) 282 %define MSR_K6_EFER_FFXSR RT_BIT(14) 283 %define MSR_K6_STAR 0xc0000081 284 %define MSR_K6_STAR_SYSRET_CS_SS_SHIFT 48 285 %define MSR_K6_STAR_SYSCALL_CS_SS_SHIFT 32 286 %define MSR_K6_STAR_SEL_MASK 0xffff 287 %define MSR_K6_STAR_SYSCALL_EIP_MASK 0xffffffff 288 %define MSR_K6_WHCR 0xc0000082 289 %define MSR_K6_UWCCR 0xc0000085 290 %define MSR_K6_PSOR 0xc0000087 291 %define MSR_K6_PFIR 0xc0000088 292 %define MSR_K7_EVNTSEL0 0xc0010000 293 %define MSR_K7_EVNTSEL1 0xc0010001 294 %define MSR_K7_EVNTSEL2 0xc0010002 295 %define MSR_K7_EVNTSEL3 0xc0010003 296 %define MSR_K7_PERFCTR0 0xc0010004 297 %define MSR_K7_PERFCTR1 0xc0010005 298 %define MSR_K7_PERFCTR2 0xc0010006 299 %define MSR_K7_PERFCTR3 0xc0010007 300 %define MSR_K8_HWCR 0xc0010015 301 %define MSR_K8_LSTAR 0xc0000082 302 %define MSR_K8_CSTAR 0xc0000083 303 %define MSR_K8_SF_MASK 0xc0000084 304 %define MSR_K8_FS_BASE 0xc0000100 305 %define MSR_K8_GS_BASE 0xc0000101 306 %define MSR_K8_KERNEL_GS_BASE 0xc0000102 307 %define MSR_K8_TSC_AUX 0xc0000103 308 %define MSR_K8_SYSCFG 0xc0010010 309 %define MSR_K8_HWCR 0xc0010015 310 %define MSR_K8_IORRBASE0 0xc0010016 311 %define MSR_K8_IORRMASK0 0xc0010017 312 %define MSR_K8_IORRBASE1 0xc0010018 313 %define MSR_K8_IORRMASK1 0xc0010019 314 %define MSR_K8_TOP_MEM1 0xc001001a 315 %define MSR_K8_TOP_MEM2 0xc001001d 316 %define MSR_K8_VM_CR 0xc0010114 317 %define MSR_K8_VM_CR_SVM_DISABLE RT_BIT(4) 318 %define MSR_K8_IGNNE 0xc0010115 319 %define MSR_K8_SMM_CTL 0xc0010116 320 %define MSR_K8_VM_HSAVE_PA 0xc0010117 321 %define X86_PG_ENTRIES 1024 322 %define X86_PG_PAE_ENTRIES 512 323 %define X86_PG_PAE_PDPE_ENTRIES 4 324 %define X86_PG_AMD64_ENTRIES X86_PG_PAE_ENTRIES 325 %define X86_PG_AMD64_PDPE_ENTRIES X86_PG_AMD64_ENTRIES 326 %define X86_PAGE_4K_SIZE _4K 327 %define X86_PAGE_4K_SHIFT 12 328 %define X86_PAGE_4K_OFFSET_MASK 0xfff 329 %define X86_PAGE_4K_BASE_MASK 0xfffffffffffff000 330 %define X86_PAGE_4K_BASE_MASK_32 0xfffff000 331 %define X86_PAGE_2M_SIZE _2M 332 %define X86_PAGE_2M_SHIFT 21 333 %define X86_PAGE_2M_OFFSET_MASK 0x001fffff 334 %define X86_PAGE_2M_BASE_MASK 0xffffffffffe00000 335 %define X86_PAGE_2M_BASE_MASK_32 0xffe00000 336 %define X86_PAGE_4M_SIZE _4M 337 %define X86_PAGE_4M_SHIFT 22 338 %define X86_PAGE_4M_OFFSET_MASK 0x003fffff 339 %define X86_PAGE_4M_BASE_MASK 0xffffffffffc00000 340 %define X86_PAGE_4M_BASE_MASK_32 0xffc00000 341 %define X86_PTE_BIT_P 0 342 %define X86_PTE_BIT_RW 1 343 %define X86_PTE_BIT_US 2 344 %define X86_PTE_BIT_PWT 3 345 %define X86_PTE_BIT_PCD 4 346 %define X86_PTE_BIT_A 5 347 %define X86_PTE_BIT_D 6 348 %define X86_PTE_BIT_PAT 7 349 %define X86_PTE_BIT_G 8 350 %define X86_PTE_P RT_BIT(0) 351 %define X86_PTE_RW RT_BIT(1) 352 %define X86_PTE_US RT_BIT(2) 353 %define X86_PTE_PWT RT_BIT(3) 354 %define X86_PTE_PCD RT_BIT(4) 355 %define X86_PTE_A RT_BIT(5) 356 %define X86_PTE_D RT_BIT(6) 357 %define X86_PTE_PAT RT_BIT(7) 358 %define X86_PTE_G RT_BIT(8) 359 %define X86_PTE_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 360 %define X86_PTE_PG_MASK ( 0xfffff000 ) 361 %define X86_PTE_PAE_PG_MASK 0x000ffffffffff000 362 %define X86_PTE_PAE_NX RT_BIT_64(63) 363 %define X86_PTE_PAE_MBZ_MASK_NX 0x7ff0000000000000 364 %define X86_PTE_PAE_MBZ_MASK_NO_NX 0xfff0000000000000 365 %define X86_PTE_LM_MBZ_MASK_NX 0x0000000000000000 366 %define X86_PTE_LM_MBZ_MASK_NO_NX 0x8000000000000000 367 %define X86_PT_SHIFT 12 368 %define X86_PT_MASK 0x3ff 369 %define X86_PT_PAE_SHIFT 12 370 %define X86_PT_PAE_MASK 0x1ff 371 %define X86_PDE_P RT_BIT(0) 372 %define X86_PDE_RW RT_BIT(1) 373 %define X86_PDE_US RT_BIT(2) 374 %define X86_PDE_PWT RT_BIT(3) 375 %define X86_PDE_PCD RT_BIT(4) 376 %define X86_PDE_A RT_BIT(5) 377 %define X86_PDE_PS RT_BIT(7) 378 %define X86_PDE_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 379 %define X86_PDE_PG_MASK ( 0xfffff000 ) 380 %define X86_PDE_PAE_PG_MASK 0x000ffffffffff000 381 %define X86_PDE_PAE_NX RT_BIT_64(63) 382 %define X86_PDE_PAE_MBZ_MASK_NX 0x7ff0000000000080 383 %define X86_PDE_PAE_MBZ_MASK_NO_NX 0xfff0000000000080 384 %define X86_PDE_LM_MBZ_MASK_NX 0x0000000000000080 385 %define X86_PDE_LM_MBZ_MASK_NO_NX 0x8000000000000080 386 %define X86_PDE4M_P RT_BIT(0) 387 %define X86_PDE4M_RW RT_BIT(1) 388 %define X86_PDE4M_US RT_BIT(2) 389 %define X86_PDE4M_PWT RT_BIT(3) 390 %define X86_PDE4M_PCD RT_BIT(4) 391 %define X86_PDE4M_A RT_BIT(5) 392 %define X86_PDE4M_D RT_BIT(6) 393 %define X86_PDE4M_PS RT_BIT(7) 394 %define X86_PDE4M_G RT_BIT(8) 395 %define X86_PDE4M_AVL (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 396 %define X86_PDE4M_PAT RT_BIT(12) 397 %define X86_PDE4M_PAT_SHIFT (12 - 7) 398 %define X86_PDE4M_PG_MASK ( 0xffc00000 ) 399 %define X86_PDE4M_PG_HIGH_MASK ( 0x001fe000 ) 400 %define X86_PDE4M_PG_HIGH_SHIFT 19 401 %define X86_PDE4M_MBZ_MASK RT_BIT_32(21) 402 %define X86_PDE2M_PAE_PG_MASK 0x000fffffffe00000 403 %define X86_PDE2M_PAE_NX RT_BIT_64(63) 404 %define X86_PDE2M_PAE_MBZ_MASK_NX 0x7ff00000001fe000 405 %define X86_PDE2M_PAE_MBZ_MASK_NO_NX 0xfff00000001fe000 406 %define X86_PDE2M_LM_MBZ_MASK_NX 0x00000000001fe000 407 %define X86_PDE2M_LM_MBZ_MASK_NO_NX 0x80000000001fe000 408 %define X86_PD_SHIFT 22 409 %define X86_PD_MASK 0x3ff 410 %define X86_PD_PAE_SHIFT 21 411 %define X86_PD_PAE_MASK 0x1ff 412 %define X86_PDPE_P RT_BIT(0) 413 %define X86_PDPE_RW RT_BIT(1) 414 %define X86_PDPE_US RT_BIT(2) 415 %define X86_PDPE_PWT RT_BIT(3) 416 %define X86_PDPE_PCD RT_BIT(4) 417 %define X86_PDPE_A RT_BIT(5) 418 %define X86_PDPE_LM_PS RT_BIT(7) 419 %define X86_PDPE_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 420 %define X86_PDPE_PG_MASK 0x000ffffffffff000 421 %define X86_PDPE_PAE_MBZ_MASK 0xfff00000000001e6 422 %define X86_PDPE_LM_NX RT_BIT_64(63) 423 %define X86_PDPE_LM_MBZ_MASK_NX 0x0000000000000180 424 %define X86_PDPE_LM_MBZ_MASK_NO_NX 0x8000000000000180 425 %define X86_PDPE1G_LM_MBZ_MASK_NX 0x000000003fffe000 426 %define X86_PDPE1G_LM_MBZ_MASK_NO_NX 0x800000003fffe000 427 %define X86_PDPT_SHIFT 30 428 %define X86_PDPT_MASK_PAE 0x3 429 %define X86_PDPT_MASK_AMD64 0x1ff 430 %define X86_PML4E_P RT_BIT(0) 431 %define X86_PML4E_RW RT_BIT(1) 432 %define X86_PML4E_US RT_BIT(2) 433 %define X86_PML4E_PWT RT_BIT(3) 434 %define X86_PML4E_PCD RT_BIT(4) 435 %define X86_PML4E_A RT_BIT(5) 436 %define X86_PML4E_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 437 %define X86_PML4E_PG_MASK 0x000ffffffffff000 438 %define X86_PML4E_MBZ_MASK_NX 0x0000000000000080 439 %define X86_PML4E_MBZ_MASK_NO_NX 0x8000000000000080 440 %define X86_PML4E_NX RT_BIT_64(63) 441 %define X86_PML4_SHIFT 39 442 %define X86_PML4_MASK 0x1ff 443 %if HC_ARCH_BITS == 64 444 %else 445 %endif 446 %if HC_ARCH_BITS == 64 447 %else 448 %endif 449 %if HC_ARCH_BITS == 64 450 %else 451 %endif 452 %define X86_SEL_TYPE_CODE 8 453 %define X86_SEL_TYPE_MEMORY RT_BIT(4) 454 %define X86_SEL_TYPE_ACCESSED 1 455 %define X86_SEL_TYPE_DOWN 4 456 %define X86_SEL_TYPE_CONF 4 457 %define X86_SEL_TYPE_WRITE 2 458 %define X86_SEL_TYPE_READ 2 459 %define X86_SEL_TYPE_RO 0 460 %define X86_SEL_TYPE_RO_ACC (0 | X86_SEL_TYPE_ACCESSED) 461 %define X86_SEL_TYPE_RW 2 462 %define X86_SEL_TYPE_RW_ACC (2 | X86_SEL_TYPE_ACCESSED) 463 %define X86_SEL_TYPE_RO_DOWN 4 464 %define X86_SEL_TYPE_RO_DOWN_ACC (4 | X86_SEL_TYPE_ACCESSED) 465 %define X86_SEL_TYPE_RW_DOWN 6 466 %define X86_SEL_TYPE_RW_DOWN_ACC (6 | X86_SEL_TYPE_ACCESSED) 467 %define X86_SEL_TYPE_EO (0 | X86_SEL_TYPE_CODE) 468 %define X86_SEL_TYPE_EO_ACC (0 | X86_SEL_TYPE_CODE | X86_SEL_TYPE_ACCESSED) 469 %define X86_SEL_TYPE_ER (2 | X86_SEL_TYPE_CODE) 470 %define X86_SEL_TYPE_ER_ACC (2 | X86_SEL_TYPE_CODE | X86_SEL_TYPE_ACCESSED) 471 %define X86_SEL_TYPE_EO_CONF (4 | X86_SEL_TYPE_CODE) 472 %define X86_SEL_TYPE_EO_CONF_ACC (4 | X86_SEL_TYPE_CODE | X86_SEL_TYPE_ACCESSED) 473 %define X86_SEL_TYPE_ER_CONF (6 | X86_SEL_TYPE_CODE) 474 %define X86_SEL_TYPE_ER_CONF_ACC (6 | X86_SEL_TYPE_CODE | X86_SEL_TYPE_ACCESSED) 475 %define X86_SEL_TYPE_SYS_UNDEFINED 0 476 %define X86_SEL_TYPE_SYS_286_TSS_AVAIL 1 477 %define X86_SEL_TYPE_SYS_LDT 2 478 %define X86_SEL_TYPE_SYS_286_TSS_BUSY 3 479 %define X86_SEL_TYPE_SYS_286_CALL_GATE 4 480 %define X86_SEL_TYPE_SYS_TASK_GATE 5 481 %define X86_SEL_TYPE_SYS_286_INT_GATE 6 482 %define X86_SEL_TYPE_SYS_286_TRAP_GATE 7 483 %define X86_SEL_TYPE_SYS_UNDEFINED2 8 484 %define X86_SEL_TYPE_SYS_386_TSS_AVAIL 9 485 %define X86_SEL_TYPE_SYS_UNDEFINED3 0xA 486 %define X86_SEL_TYPE_SYS_386_TSS_BUSY 0xB 487 %define X86_SEL_TYPE_SYS_386_CALL_GATE 0xC 488 %define X86_SEL_TYPE_SYS_UNDEFINED4 0xD 489 %define X86_SEL_TYPE_SYS_386_INT_GATE 0xE 490 %define X86_SEL_TYPE_SYS_386_TRAP_GATE 0xF 491 %define AMD64_SEL_TYPE_SYS_LDT 2 492 %define AMD64_SEL_TYPE_SYS_TSS_AVAIL 9 493 %define AMD64_SEL_TYPE_SYS_TSS_BUSY 0xB 494 %define AMD64_SEL_TYPE_SYS_CALL_GATE 0xC 495 %define AMD64_SEL_TYPE_SYS_INT_GATE 0xE 496 %define AMD64_SEL_TYPE_SYS_TRAP_GATE 0xF 497 %define X86_DESC_TYPE_MASK (RT_BIT(8) | RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 498 %define X86_DESC_S RT_BIT(12) 499 %define X86_DESC_DPL (RT_BIT(13) | RT_BIT(14)) 500 %define X86_DESC_P RT_BIT(15) 501 %define X86_DESC_AVL RT_BIT(20) 502 %define X86_DESC_DB RT_BIT(22) 503 %define X86_DESC_G RT_BIT(23) 504 %define X86_SEL_SHIFT 3 505 %define X86_SEL_MASK 0xfff8 506 %define X86_SEL_LDT 0x0004 507 %define X86_SEL_RPL 0x0003 508 %define X86_TRAP_ERR_EXTERNAL 1 509 %define X86_TRAP_ERR_IDT 2 510 %define X86_TRAP_ERR_TI 4 511 %define X86_TRAP_ERR_SEL_MASK 0xfff8 512 %define X86_TRAP_ERR_SEL_SHIFT 3 513 %define X86_TRAP_PF_P RT_BIT(0) 514 %define X86_TRAP_PF_RW RT_BIT(1) 515 %define X86_TRAP_PF_US RT_BIT(2) 516 %define X86_TRAP_PF_RSVD RT_BIT(3) 517 %define X86_TRAP_PF_ID RT_BIT(4) 518 %endif 1 %error "Use iprt/x86.mac instead! This file is just here to ease incremental build pains." 2 -
trunk/include/iprt/x86.h
r37954 r37955 1 1 /** @file 2 * X86 (and AMD64) Structures and Definitions (VMM,++).2 * IPRT - X86 and AMD64 Structures and Definitions. 3 3 * 4 * x86.mac is generated from this file by running 'kmk incs' in the root.4 * @note x86.mac is generated from this file by running 'kmk incs' in the root. 5 5 */ 6 6 … … 26 26 */ 27 27 28 #ifndef ___ VBox_x86_h29 #define ___ VBox_x86_h30 31 #include < VBox/types.h>28 #ifndef ___iprt_x86_h 29 #define ___iprt_x86_h 30 31 #include <iprt/types.h> 32 32 #include <iprt/assert.h> 33 33 … … 38 38 #endif 39 39 40 /** @defgroup grp_x86 x86 Types and Definitions 40 /** @defgroup grp_rt_x86 x86 Types and Definitions 41 * @ingroup grp_rt 41 42 * @{ 42 43 */ -
trunk/include/iprt/x86.mac
r37908 r37955 1 %ifndef ___ VBox_x86_h2 %define ___ VBox_x86_h1 %ifndef ___iprt_x86_h 2 %define ___iprt_x86_h 3 3 %ifdef RT_OS_SOLARIS 4 4 %endif -
trunk/src/VBox/Additions/common/VBoxGuest/freebsd/files_vboxguest
r37233 r37955 58 58 ${PATH_ROOT}/include/iprt/once.h=>include/iprt/once.h \ 59 59 ${PATH_ROOT}/include/iprt/critsect.h=>include/iprt/critsect.h \ 60 ${PATH_ROOT}/include/iprt/x86.h=>include/iprt/x86.h \ 60 61 ${PATH_ROOT}/include/iprt/nocrt/limits.h=>include/iprt/nocrt/limits.h \ 61 62 ${PATH_ROOT}/include/VBox/cdefs.h=>include/VBox/cdefs.h \ … … 64 65 ${PATH_ROOT}/include/VBox/param.h=>include/VBox/param.h \ 65 66 ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \ 66 ${PATH_ROOT}/include/VBox/x86.h=>include/VBox/x86.h \67 67 ${PATH_ROOT}/include/VBox/ostypes.h=>include/VBox/ostypes.h \ 68 68 ${PATH_ROOT}/include/VBox/VMMDev.h=>include/VBox/VMMDev.h \ -
trunk/src/VBox/Additions/common/testcase/tstPageFusion.cpp
r32431 r37955 27 27 #include <iprt/initterm.h> 28 28 #include <VBox/VBoxGuestLib.h> 29 #include < VBox/x86.h>29 #include <iprt/x86.h> 30 30 #include <stdio.h> 31 31 32 32 33 /******************************************************************************* -
trunk/src/VBox/Devices/EFI/Thunk/EfiThunk.asm
r36650 r37955 33 33 ;******************************************************************************* 34 34 %include "VBox/asmdefs.mac" 35 %include " VBox/x86.mac"35 %include "iprt/x86.mac" 36 36 %include "DevEFI.mac" 37 37 -
trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
r37781 r37955 22 22 *******************************************************************************/ 23 23 #include <VBox/types.h> 24 #include < VBox/x86.h>24 #include <iprt/x86.h> 25 25 26 26 -
trunk/src/VBox/Disassembler/DisasmTestA.asm
r35346 r37955 23 23 %include "VBox/err.mac" 24 24 %include "VBox/vmm/stam.mac" 25 %include " VBox/x86.mac"25 %include "iprt/x86.mac" 26 26 27 27 BITS 32 -
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r37410 r37955 55 55 # include <iprt/path.h> 56 56 #endif 57 #include <iprt/x86.h> 57 58 58 59 #include <VBox/param.h> … … 61 62 #include <VBox/vmm/hwacc_svm.h> 62 63 #include <VBox/vmm/hwacc_vmx.h> 63 #include <VBox/x86.h>64 64 65 65 #ifdef VBOX_WITH_DTRACE -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r37596 r37955 51 51 #include <VBox/param.h> 52 52 #include <VBox/log.h> 53 #include <VBox/x86.h>54 53 55 54 #include <iprt/assert.h> … … 66 65 #include <iprt/env.h> 67 66 #include <iprt/rand.h> 67 #include <iprt/x86.h> 68 68 69 69 #include "SUPLibInternal.h" -
trunk/src/VBox/HostDrivers/Support/freebsd/files_vboxdrv
r37233 r37955 68 68 ${PATH_ROOT}/include/iprt/once.h=>include/iprt/once.h \ 69 69 ${PATH_ROOT}/include/iprt/critsect.h=>include/iprt/critsect.h \ 70 ${PATH_ROOT}/include/iprt/x86.h=>include/iprt/x86.h \ 70 71 ${PATH_ROOT}/include/iprt/lockvalidator.h=>include/iprt/lockvalidator.h \ 71 72 ${PATH_ROOT}/include/iprt/nocrt/limits.h=>include/iprt/nocrt/limits.h \ … … 80 81 ${PATH_ROOT}/include/VBox/vmm/hwacc_vmx.h=>include/VBox/vmm/hwacc_vmx.h \ 81 82 ${PATH_ROOT}/include/VBox/vmm/hwacc_svm.h=>include/VBox/vmm/hwacc_svm.h \ 82 ${PATH_ROOT}/include/VBox/x86.h=>include/VBox/x86.h \83 83 ${PATH_ROOT}/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c=>freebsd/SUPDrv-freebsd.c \ 84 84 ${PATH_ROOT}/src/VBox/HostDrivers/Support/SUPDrv.c=>SUPDrv.c \ -
trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
r37233 r37955 64 64 ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \ 65 65 ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \ 66 ${PATH_ROOT}/include/iprt/x86.h=>include/iprt/x86.h \ 66 67 ${PATH_ROOT}/include/iprt/nocrt/limits.h=>include/iprt/nocrt/limits.h \ 67 68 ${PATH_ROOT}/include/VBox/cdefs.h=>include/VBox/cdefs.h \ … … 74 75 ${PATH_ROOT}/include/VBox/vmm/hwacc_vmx.h=>include/VBox/vmm/hwacc_vmx.h \ 75 76 ${PATH_ROOT}/include/VBox/vmm/hwacc_svm.h=>include/VBox/vmm/hwacc_svm.h \ 76 ${PATH_ROOT}/include/VBox/x86.h=>include/VBox/x86.h \77 77 ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c=>linux/SUPDrv-linux.c \ 78 78 ${PATH_ROOT}/src/VBox/HostDrivers/Support/SUPDrv.c=>SUPDrv.c \ -
trunk/src/VBox/Installer/linux/deffiles
r34563 r37955 100 100 src/include/iprt/types.h \ 101 101 src/include/iprt/uuid.h \ 102 src/include/iprt/x86.h \ 102 103 src/include/internal/initterm.h \ 103 104 src/include/internal/magics.h \ -
trunk/src/VBox/Main/src-server/HostImpl.cpp
r37307 r37955 151 151 152 152 #include <VBox/usb.h> 153 #include <VBox/x86.h>154 153 #include <VBox/vmm/hwacc_svm.h> 155 154 #include <VBox/err.h> 156 155 #include <VBox/settings.h> 157 156 #include <VBox/sup.h> 157 #include <iprt/x86.h> 158 158 159 159 #include "VBox/com/MultiResult.h" -
trunk/src/VBox/RDP/client/files_rdesktop-vrdp
r37224 r37955 53 53 $(PATH_ROOT)/include/iprt/types.h=>include/iprt/types.h \ 54 54 $(PATH_ROOT)/include/iprt/uni.h=>include/iprt/uni.h \ 55 $(PATH_ROOT)/include/iprt/x86.h=>include/iprt/x86.h \ 55 56 $(PATH_ROOT)/include/VBox/cdefs.h=>include/VBox/cdefs.h \ 56 57 $(PATH_ROOT)/include/VBox/err.h=>include/VBox/err.h \ … … 63 64 $(PATH_ROOT)/include/VBox/version.h=>include/VBox/version.h \ 64 65 $(PATH_ROOT)/include/VBox/vusb.h=>include/VBox/vusb.h \ 65 $(PATH_ROOT)/include/VBox/x86.h=>include/VBox/x86.h \66 66 $(PATH_ROOT)/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp=>vrdp/linux/USBProxyDevice-linux.cpp \ 67 67 $(PATH_ROOT)/src/VBox/Devices/USB/USBProxyDevice.h=>vrdp/USBProxyDevice.h \ -
trunk/src/VBox/Runtime/common/time/timesup.cpp
r30961 r37955 39 39 # include <iprt/asm.h> 40 40 # include <iprt/asm-amd64-x86.h> 41 # include <iprt/x86.h> 41 42 # include <VBox/sup.h> 42 # include <VBox/x86.h>43 43 #endif 44 44 #include "internal/time.h" -
trunk/src/VBox/VMM/VMMAll/CPUMAllA.asm
r35346 r37955 24 24 %include "VBox/vmm/stam.mac" 25 25 %include "CPUMInternal.mac" 26 %include " VBox/x86.mac"26 %include "iprt/x86.mac" 27 27 %include "VBox/vmm/cpum.mac" 28 28 -
trunk/src/VBox/VMM/VMMAll/EMAllA.asm
r33540 r37955 21 21 %include "VBox/asmdefs.mac" 22 22 %include "VBox/err.mac" 23 %include " VBox/x86.mac"23 %include "iprt/x86.mac" 24 24 25 25 ;; @def MY_PTR_REG -
trunk/src/VBox/VMM/VMMAll/HWACCMAll.cpp
r37389 r37955 25 25 #include "HWACCMInternal.h" 26 26 #include <VBox/vmm/vm.h> 27 #include <VBox/x86.h>28 27 #include <VBox/vmm/hwacc_vmx.h> 29 28 #include <VBox/vmm/hwacc_svm.h> … … 34 33 #include <iprt/asm.h> 35 34 #include <iprt/string.h> 35 #include <iprt/x86.h> 36 36 37 37 /** -
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r37918 r37955 61 61 #include <VBox/err.h> 62 62 #include <VBox/param.h> 63 #include <VBox/x86.h>64 63 #include <iprt/assert.h> 65 64 #include <iprt/string.h> 65 #include <iprt/x86.h> 66 66 67 67 -
trunk/src/VBox/VMM/VMMAll/IEMAllAImpl.asm
r37084 r37955 21 21 %include "VBox/asmdefs.mac" 22 22 %include "VBox/err.mac" 23 %include " VBox/x86.mac"23 %include "iprt/x86.mac" 24 24 25 25 -
trunk/src/VBox/VMM/VMMAll/IEMAllAImplC.cpp
r36768 r37955 21 21 #include "IEMInternal.h" 22 22 #include <VBox/vmm/vm.h> 23 #include < VBox/x86.h>23 #include <iprt/x86.h> 24 24 25 25 #if 0 -
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
r35346 r37955 27 27 #include "SELMInternal.h" 28 28 #include <VBox/vmm/vm.h> 29 #include <VBox/x86.h>30 29 #include <VBox/err.h> 31 30 #include <VBox/param.h> … … 33 32 #include <VBox/log.h> 34 33 #include <VBox/vmm/vmm.h> 34 #include <iprt/x86.h> 35 35 36 36 -
trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp
r35346 r37955 30 30 #include <VBox/vmm/vm.h> 31 31 #include <VBox/err.h> 32 #include <VBox/x86.h>33 32 #include <VBox/vmm/em.h> 34 33 #include <VBox/log.h> … … 37 36 #include <iprt/asm-amd64-x86.h> 38 37 #include <iprt/param.h> 38 #include <iprt/x86.h> 39 39 #include "internal/pgm.h" 40 40 -
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
r36236 r37955 24 24 #include "CPUMInternal.h" 25 25 #include <VBox/vmm/vm.h> 26 #include <VBox/x86.h>27 26 #include <VBox/err.h> 28 27 #include <VBox/log.h> … … 35 34 # include <VBox/apic.h> 36 35 #endif 36 #include <iprt/x86.h> 37 37 38 38 -
trunk/src/VBox/VMM/VMMR0/CPUMR0A.asm
r35346 r37955 24 24 %include "VBox/vmm/stam.mac" 25 25 %include "CPUMInternal.mac" 26 %include " VBox/x86.mac"26 %include "iprt/x86.mac" 27 27 %include "VBox/vmm/cpum.mac" 28 28 -
trunk/src/VBox/VMM/VMMR0/CPUMR0UnusedA.asm
r35346 r37955 24 24 %include "VBox/vmm/stam.mac" 25 25 %include "CPUMInternal.mac" 26 %include " VBox/x86.mac"26 %include "iprt/x86.mac" 27 27 %include "VBox/vmm/cpum.mac" 28 28 -
trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp
r37320 r37955 25 25 #include "HWACCMInternal.h" 26 26 #include <VBox/vmm/vm.h> 27 #include <VBox/x86.h>28 27 #include <VBox/vmm/hwacc_vmx.h> 29 28 #include <VBox/vmm/hwacc_svm.h> … … 41 40 #include <iprt/string.h> 42 41 #include <iprt/thread.h> 42 #include <iprt/x86.h> 43 43 #include "HWVMXR0.h" 44 44 #include "HWSVMR0.h" -
trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm
r35346 r37955 23 23 %include "VBox/vmm/hwacc_vmx.mac" 24 24 %include "VBox/vmm/cpum.mac" 25 %include " VBox/x86.mac"25 %include "iprt/x86.mac" 26 26 %include "HWACCMInternal.mac" 27 27 -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r37386 r37955 29 29 #include "HWACCMInternal.h" 30 30 #include <VBox/vmm/vm.h> 31 #include <VBox/x86.h>32 31 #include <VBox/vmm/hwacc_svm.h> 33 32 #include <VBox/err.h> … … 45 44 # include <iprt/thread.h> 46 45 #endif 46 #include <iprt/x86.h> 47 47 #include "HWSVMR0.h" 48 48 -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r37386 r37955 31 31 #include "HWACCMInternal.h" 32 32 #include <VBox/vmm/vm.h> 33 #include <VBox/x86.h>34 33 #include <VBox/vmm/pdmapi.h> 35 34 #include <VBox/err.h> … … 42 41 # include <iprt/thread.h> 43 42 #endif 43 #include <iprt/x86.h> 44 44 #include "HWVMXR0.h" 45 45 -
trunk/src/VBox/VMM/VMMR0/TRPMR0A.asm
r28800 r37955 20 20 ;******************************************************************************* 21 21 %include "VBox/asmdefs.mac" 22 %include " VBox/x86.mac"22 %include "iprt/x86.mac" 23 23 24 24 -
trunk/src/VBox/VMM/VMMR3/PATMA.asm
r37094 r37955 31 31 %include "VBox/asmdefs.mac" 32 32 %include "VBox/err.mac" 33 %include " VBox/x86.mac"33 %include "iprt/x86.mac" 34 34 %include "VBox/vmm/vm.mac" 35 35 %include "PATMA.mac" -
trunk/src/VBox/VMM/VMMR3/VMM.cpp
r37846 r37955 103 103 #include <VBox/param.h> 104 104 #include <VBox/version.h> 105 #include <VBox/x86.h>106 105 #include <VBox/vmm/hwaccm.h> 107 106 #include <iprt/assert.h> … … 114 113 #include <iprt/stdarg.h> 115 114 #include <iprt/ctype.h> 115 #include <iprt/x86.h> 116 116 117 117 -
trunk/src/VBox/VMM/VMMR3/VMMTests.cpp
r35346 r37955 34 34 #include <VBox/err.h> 35 35 #include <VBox/param.h> 36 #include <VBox/x86.h>37 36 #include <VBox/vmm/hwaccm.h> 38 37 … … 42 41 #include <iprt/stream.h> 43 42 #include <iprt/string.h> 43 #include <iprt/x86.h> 44 44 45 45 -
trunk/src/VBox/VMM/VMMRC/CPUMRCA.asm
r35346 r37955 23 23 %include "VBox/vmm/stam.mac" 24 24 %include "CPUMInternal.mac" 25 %include " VBox/x86.mac"25 %include "iprt/x86.mac" 26 26 %include "VBox/vmm/cpum.mac" 27 27 -
trunk/src/VBox/VMM/VMMRC/EMRCA.asm
r35335 r37955 21 21 %include "VBox/asmdefs.mac" 22 22 %include "VBox/err.mac" 23 %include " VBox/x86.mac"23 %include "iprt/x86.mac" 24 24 25 25 BEGINCODE -
trunk/src/VBox/VMM/VMMRC/HWACCMRCA.asm
r37323 r37955 25 25 %include "VBox/vmm/hwacc_vmx.mac" 26 26 %include "VBox/vmm/cpum.mac" 27 %include " VBox/x86.mac"27 %include "iprt/x86.mac" 28 28 %include "HWACCMInternal.mac" 29 29 -
trunk/src/VBox/VMM/VMMRC/MMRamRCA.asm
r35335 r37955 22 22 %include "VBox/err.mac" 23 23 %include "iprt/err.mac" 24 %include " VBox/x86.mac"24 %include "iprt/x86.mac" 25 25 26 26 -
trunk/src/VBox/VMM/VMMRC/TRPMRC.cpp
r35346 r37955 23 23 #include <VBox/vmm/trpm.h> 24 24 #include <VBox/vmm/cpum.h> 25 #include <VBox/vmm/em.h> 25 26 #include <VBox/vmm/vmm.h> 26 27 #include "TRPMInternal.h" … … 28 29 29 30 #include <VBox/err.h> 30 #include <VBox/x86.h>31 #include <VBox/vmm/em.h>32 31 #include <iprt/assert.h> 33 32 #include <iprt/asm.h> 33 #include <iprt/x86.h> 34 34 #include <VBox/log.h> 35 35 #include <VBox/vmm/selm.h> -
trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp
r37584 r37955 39 39 #include <VBox/dis.h> 40 40 #include <VBox/disopcode.h> 41 #include <VBox/x86.h>42 41 #include <VBox/log.h> 43 42 #include <VBox/vmm/tm.h> … … 45 44 #include <iprt/asm-amd64-x86.h> 46 45 #include <iprt/assert.h> 46 #include <iprt/x86.h> 47 47 48 48 -
trunk/src/VBox/VMM/VMMRC/TRPMRCHandlersA.asm
r35346 r37955 19 19 ;******************************************************************************* 20 20 %include "VMMRC.mac" 21 %include " VBox/x86.mac"21 %include "iprt/x86.mac" 22 22 %include "VBox/vmm/cpum.mac" 23 23 %include "VBox/vmm/stam.mac" -
trunk/src/VBox/VMM/VMMRC/VMMRCA.asm
r35335 r37955 19 19 ;******************************************************************************* 20 20 %include "VBox/asmdefs.mac" 21 %include " VBox/x86.mac"21 %include "iprt/x86.mac" 22 22 23 23 -
trunk/src/VBox/VMM/VMMSwitcher/AMD64andLegacy.mac
r35418 r37955 24 24 %include "VBox/asmdefs.mac" 25 25 %include "VBox/apic.mac" 26 %include " VBox/x86.mac"26 %include "iprt/x86.mac" 27 27 %include "VBox/vmm/cpum.mac" 28 28 %include "VBox/vmm/stam.mac" -
trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac
r35346 r37955 27 27 %include "VBox/asmdefs.mac" 28 28 %include "VBox/apic.mac" 29 %include " VBox/x86.mac"29 %include "iprt/x86.mac" 30 30 %include "VBox/vmm/cpum.mac" 31 31 %include "VBox/vmm/stam.mac" -
trunk/src/VBox/VMM/VMMSwitcher/PAEand32Bit.mac
r35346 r37955 23 23 %include "VBox/asmdefs.mac" 24 24 %include "VBox/apic.mac" 25 %include " VBox/x86.mac"25 %include "iprt/x86.mac" 26 26 %include "VBox/vmm/cpum.mac" 27 27 %include "VBox/vmm/stam.mac" -
trunk/src/VBox/VMM/include/CPUMInternal.h
r35490 r37955 21 21 #include <VBox/cdefs.h> 22 22 #include <VBox/types.h> 23 #include < VBox/x86.h>23 #include <iprt/x86.h> 24 24 25 25 -
trunk/src/VBox/VMM/testcase/Makefile.kmk
r37002 r37955 345 345 $(DEPTH)/include/VBox/vmm/vm.mac \ 346 346 $(DEPTH)/include/VBox/sup.mac \ 347 $(DEPTH)/include/ VBox/x86.mac \347 $(DEPTH)/include/iprt/x86.mac \ 348 348 $(VBOX_PATH_VMM_SRC)/include/CPUMInternal.mac \ 349 349 $(VBOX_PATH_VMM_SRC)/include/TRPMInternal.mac \ -
trunk/src/VBox/VMM/testcase/tstCompiler.cpp
r32036 r37955 27 27 #include <iprt/stream.h> 28 28 #include <iprt/err.h> 29 #include < VBox/x86.h>29 #include <iprt/x86.h> 30 30 #include <iprt/string.h> 31 31 #include <iprt/message.h> -
trunk/src/VBox/VMM/testcase/tstMicroRCA.asm
r35346 r37955 20 20 ;******************************************************************************* 21 21 %include "VBox/asmdefs.mac" 22 %include " VBox/x86.mac"22 %include "iprt/x86.mac" 23 23 %include "VBox/vmm/cpum.mac" 24 24 %include "VBox/err.mac" -
trunk/src/VBox/VMM/testcase/tstVMStructRC.cpp
r37466 r37955 81 81 #include <VBox/vmm/vm.h> 82 82 #include <VBox/param.h> 83 #include < VBox/x86.h>83 #include <iprt/x86.h> 84 84 #include <iprt/assert.h> 85 85 -
trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp
r37467 r37955 57 57 #include <VBox/vmm/gvm.h> 58 58 #include <VBox/param.h> 59 #include < VBox/x86.h>59 #include <iprt/x86.h> 60 60 61 61 #include "tstHelp.h" -
trunk/src/VBox/VMM/testcase/tstX86-1A.asm
r36866 r37955 21 21 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 22 22 %include "iprt/asmdefs.mac" 23 %include " VBox/x86.mac"23 %include "iprt/x86.mac" 24 24 25 25 ;; @todo Move this to a header?
Note:
See TracChangeset
for help on using the changeset viewer.