Changeset 5605
- Timestamp:
- 11/01/07 17:09:26 (1 year ago)
- Files:
-
- trunk/include/VBox/VBoxDev.h (modified) (3 diffs)
- trunk/include/VBox/VBoxGuest.h (modified) (4 diffs)
- trunk/include/VBox/VBoxGuest16.h (modified) (3 diffs)
- trunk/include/VBox/cpum.h (modified) (1 diff)
- trunk/include/VBox/dbg.h (modified) (1 diff)
- trunk/include/VBox/dbgf.h (modified) (4 diffs)
- trunk/include/VBox/dis.h (modified) (3 diffs)
- trunk/include/VBox/hwacc_svm.h (modified) (4 diffs)
- trunk/include/VBox/hwacc_vmx.h (modified) (7 diffs)
- trunk/include/VBox/mm.h (modified) (3 diffs)
- trunk/include/VBox/patm.h (modified) (1 diff)
- trunk/include/VBox/pdmdev.h (modified) (2 diffs)
- trunk/include/VBox/pdmdrv.h (modified) (1 diff)
- trunk/include/VBox/pdmifs.h (modified) (2 diffs)
- trunk/include/VBox/selm.h (modified) (2 diffs)
- trunk/include/VBox/vusb.h (modified) (1 diff)
- trunk/include/VBox/x86.h (modified) (26 diffs)
- trunk/include/VBox/x86.mac (modified) (10 diffs)
- trunk/include/iprt/asm.h (modified) (1 diff)
- trunk/include/iprt/asmdefs.mac (modified) (1 diff)
- trunk/include/iprt/cdefs.h (modified) (1 diff)
- trunk/include/iprt/ldr.h (modified) (1 diff)
- trunk/include/iprt/path.h (modified) (1 diff)
- trunk/include/iprt/string.h (modified) (2 diffs)
- trunk/include/iprt/thread.h (modified) (1 diff)
- trunk/include/iprt/time.h (modified) (1 diff)
- trunk/include/iprt/timer.h (modified) (1 diff)
- trunk/include/iprt/uni.h (modified) (1 diff)
- trunk/src/VBox/Debugger/DBGConsole.cpp (modified) (5 diffs)
- trunk/src/VBox/Devices/Audio/DevIchAc97.cpp (modified) (4 diffs)
- trunk/src/VBox/Devices/Network/DevPCNet.cpp (modified) (11 diffs)
- trunk/src/VBox/Devices/PC/DevACPI.cpp (modified) (3 diffs)
- trunk/src/VBox/Devices/PC/DevPcBios.cpp (modified) (2 diffs)
- trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp (modified) (1 diff)
- trunk/src/VBox/Devices/Storage/VDICore.h (modified) (1 diff)
- trunk/src/VBox/Devices/Storage/fdc.c (modified) (1 diff)
- trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h (modified) (1 diff)
- trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c (modified) (5 diffs)
- trunk/src/VBox/Runtime/common/alloc/heapsimple.cpp (modified) (1 diff)
- trunk/src/VBox/Runtime/common/string/strformatrt.cpp (modified) (1 diff)
- trunk/src/VBox/Runtime/common/string/utf-8.cpp (modified) (17 diffs)
- trunk/src/VBox/Runtime/include/internal/thread.h (modified) (1 diff)
- trunk/src/VBox/Runtime/r0drv/alloc-r0drv.h (modified) (1 diff)
- trunk/src/VBox/Runtime/testcase/tstBitOperations.cpp (modified) (2 diffs)
- trunk/src/VBox/Runtime/testcase/tstInlineAsm.cpp (modified) (3 diffs)
- trunk/src/VBox/VMM/CPUM.cpp (modified) (4 diffs)
- trunk/src/VBox/VMM/CPUMInternal.h (modified) (2 diffs)
- trunk/src/VBox/VMM/CPUMInternal.mac (modified) (2 diffs)
- trunk/src/VBox/VMM/HWACCMInternal.h (modified) (2 diffs)
- trunk/src/VBox/VMM/PATM/CSAMInternal.h (modified) (1 diff)
- trunk/src/VBox/VMM/PATM/PATMA.h (modified) (1 diff)
- trunk/src/VBox/VMM/PATM/PATMA.mac (modified) (1 diff)
- trunk/src/VBox/VMM/PATM/PATMInternal.h (modified) (1 diff)
- trunk/src/VBox/VMM/PGM.cpp (modified) (12 diffs)
- trunk/src/VBox/VMM/PGMInternal.h (modified) (6 diffs)
- trunk/src/VBox/VMM/TM.cpp (modified) (1 diff)
- trunk/src/VBox/VMM/TRPMInternal.h (modified) (1 diff)
- trunk/src/VBox/VMM/TRPMInternal.mac (modified) (1 diff)
- trunk/src/VBox/VMM/VMMAll/PGMAllBth.h (modified) (2 diffs)
- trunk/src/VBox/VMM/VMMGC/DBGFGC.cpp (modified) (1 diff)
- trunk/src/VBox/VMM/VMMR0/DBGFR0.cpp (modified) (1 diff)
- trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm (modified) (2 diffs)
- trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp (modified) (4 diffs)
- trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp (modified) (3 diffs)
- trunk/src/VBox/VMM/VMMSwitcher/PAEand32Bit.mac (modified) (2 diffs)
- trunk/src/VBox/VMM/testcase/tstCompiler.cpp (modified) (6 diffs)
- trunk/src/recompiler/VBoxREMWrapper.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/VBox/VBoxDev.h
r4071 r5605 25 25 * @{ */ 26 26 /** the guest requests absolute mouse coordinates (guest additions installed) */ 27 #define VMMDEV_MOUSEGUESTWANTSABS BIT(0)27 #define VMMDEV_MOUSEGUESTWANTSABS RT_BIT(0) 28 28 /** the host wants to send absolute mouse coordinates (input not captured) */ 29 #define VMMDEV_MOUSEHOSTWANTSABS BIT(1)29 #define VMMDEV_MOUSEHOSTWANTSABS RT_BIT(1) 30 30 /** the guest needs a hardware cursor on host. When guest additions are installed 31 31 * and the host has promised to display the cursor itself, the guest installs a 32 32 * hardware mouse driver. Don't ask the guest to switch to a software cursor then. */ 33 #define VMMDEV_MOUSEGUESTNEEDSHOSTCUR BIT(2)33 #define VMMDEV_MOUSEGUESTNEEDSHOSTCUR RT_BIT(2) 34 34 /** the host is NOT able to draw the cursor itself (e.g. L4 console) */ 35 #define VMMDEV_MOUSEHOSTCANNOTHWPOINTER BIT(3)35 #define VMMDEV_MOUSEHOSTCANNOTHWPOINTER RT_BIT(3) 36 36 /** @} */ 37 37 … … 39 39 * @{ */ 40 40 /** the guest should perform a logon with the credentials */ 41 #define VMMDEV_SETCREDENTIALS_GUESTLOGON BIT(0)41 #define VMMDEV_SETCREDENTIALS_GUESTLOGON RT_BIT(0) 42 42 /** the guest should prevent local logons */ 43 #define VMMDEV_SETCREDENTIALS_NOLOCALLOGON BIT(1)43 #define VMMDEV_SETCREDENTIALS_NOLOCALLOGON RT_BIT(1) 44 44 /** the guest should verify the credentials */ 45 #define VMMDEV_SETCREDENTIALS_JUDGE BIT(15)45 #define VMMDEV_SETCREDENTIALS_JUDGE RT_BIT(15) 46 46 /** @} */ 47 47 … … 49 49 * @{ */ 50 50 /** the guest supports seamless display rendering */ 51 #define VMMDEV_GUEST_SUPPORTS_SEAMLESS BIT(0)51 #define VMMDEV_GUEST_SUPPORTS_SEAMLESS RT_BIT(0) 52 52 /** the guest supports mapping guest to host windows */ 53 #define VMMDEV_GUEST_SUPPORTS_GUEST_HOST_WINDOW_MAPPING BIT(1)53 #define VMMDEV_GUEST_SUPPORTS_GUEST_HOST_WINDOW_MAPPING RT_BIT(1) 54 54 /** @} */ 55 55 trunk/include/VBox/VBoxGuest.h
r5040 r5605 78 78 79 79 /** guest can (== wants to) handle absolute coordinates */ 80 #define VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE BIT(0)80 #define VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE RT_BIT(0) 81 81 /** host can (== wants to) send absolute coordinates */ 82 #define VBOXGUEST_MOUSE_HOST_CAN_ABSOLUTE BIT(1)82 #define VBOXGUEST_MOUSE_HOST_CAN_ABSOLUTE RT_BIT(1) 83 83 /** guest can *NOT* switch to software cursor and therefore depends on the host cursor */ 84 #define VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR BIT(2)84 #define VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR RT_BIT(2) 85 85 /** host does NOT provide support for drawing the cursor itself (e.g. L4 console) */ 86 #define VBOXGUEST_MOUSE_HOST_CANNOT_HWPOINTER BIT(3)86 #define VBOXGUEST_MOUSE_HOST_CANNOT_HWPOINTER RT_BIT(3) 87 87 88 88 /** fictive start address of the hypervisor physical memory for MmMapIoSpace */ … … 360 360 361 361 /** guest statistics values */ 362 #define VBOX_GUEST_STAT_CPU_LOAD_IDLE BIT(0)363 #define VBOX_GUEST_STAT_CPU_LOAD_KERNEL BIT(1)364 #define VBOX_GUEST_STAT_CPU_LOAD_USER BIT(2)365 #define VBOX_GUEST_STAT_THREADS BIT(3)366 #define VBOX_GUEST_STAT_PROCESSES BIT(4)367 #define VBOX_GUEST_STAT_HANDLES BIT(5)368 #define VBOX_GUEST_STAT_MEMORY_LOAD BIT(6)369 #define VBOX_GUEST_STAT_PHYS_MEM_TOTAL BIT(7)370 #define VBOX_GUEST_STAT_PHYS_MEM_AVAIL BIT(8)371 #define VBOX_GUEST_STAT_PHYS_MEM_BALLOON BIT(9)372 #define VBOX_GUEST_STAT_MEM_COMMIT_TOTAL BIT(10)373 #define VBOX_GUEST_STAT_MEM_KERNEL_TOTAL BIT(11)374 #define VBOX_GUEST_STAT_MEM_KERNEL_PAGED BIT(12)375 #define VBOX_GUEST_STAT_MEM_KERNEL_NONPAGED BIT(13)376 #define VBOX_GUEST_STAT_MEM_SYSTEM_CACHE BIT(14)377 #define VBOX_GUEST_STAT_PAGE_FILE_SIZE BIT(15)362 #define VBOX_GUEST_STAT_CPU_LOAD_IDLE RT_BIT(0) 363 #define VBOX_GUEST_STAT_CPU_LOAD_KERNEL RT_BIT(1) 364 #define VBOX_GUEST_STAT_CPU_LOAD_USER RT_BIT(2) 365 #define VBOX_GUEST_STAT_THREADS RT_BIT(3) 366 #define VBOX_GUEST_STAT_PROCESSES RT_BIT(4) 367 #define VBOX_GUEST_STAT_HANDLES RT_BIT(5) 368 #define VBOX_GUEST_STAT_MEMORY_LOAD RT_BIT(6) 369 #define VBOX_GUEST_STAT_PHYS_MEM_TOTAL RT_BIT(7) 370 #define VBOX_GUEST_STAT_PHYS_MEM_AVAIL RT_BIT(8) 371 #define VBOX_GUEST_STAT_PHYS_MEM_BALLOON RT_BIT(9) 372 #define VBOX_GUEST_STAT_MEM_COMMIT_TOTAL RT_BIT(10) 373 #define VBOX_GUEST_STAT_MEM_KERNEL_TOTAL RT_BIT(11) 374 #define VBOX_GUEST_STAT_MEM_KERNEL_PAGED RT_BIT(12) 375 #define VBOX_GUEST_STAT_MEM_KERNEL_NONPAGED RT_BIT(13) 376 #define VBOX_GUEST_STAT_MEM_SYSTEM_CACHE RT_BIT(14) 377 #define VBOX_GUEST_STAT_PAGE_FILE_SIZE RT_BIT(15) 378 378 379 379 … … 1047 1047 1048 1048 /** Host mouse capabilities has been changed. */ 1049 #define VMMDEV_EVENT_MOUSE_CAPABILITIES_CHANGED BIT(0)1049 #define VMMDEV_EVENT_MOUSE_CAPABILITIES_CHANGED RT_BIT(0) 1050 1050 /** HGCM event. */ 1051 #define VMMDEV_EVENT_HGCM BIT(1)1051 #define VMMDEV_EVENT_HGCM RT_BIT(1) 1052 1052 /** A display change request has been issued. */ 1053 #define VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST BIT(2)1053 #define VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST RT_BIT(2) 1054 1054 /** Credentials are available for judgement. */ 1055 #define VMMDEV_EVENT_JUDGE_CREDENTIALS BIT(3)1055 #define VMMDEV_EVENT_JUDGE_CREDENTIALS RT_BIT(3) 1056 1056 /** The guest has been restored. */ 1057 #define VMMDEV_EVENT_RESTORED BIT(4)1057 #define VMMDEV_EVENT_RESTORED RT_BIT(4) 1058 1058 /** Seamless mode state changed */ 1059 #define VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST BIT(5)1059 #define VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST RT_BIT(5) 1060 1060 /** Memory balloon size changed */ 1061 #define VMMDEV_EVENT_BALLOON_CHANGE_REQUEST BIT(6)1061 #define VMMDEV_EVENT_BALLOON_CHANGE_REQUEST RT_BIT(6) 1062 1062 /** Statistics interval changed */ 1063 #define VMMDEV_EVENT_STATISTICS_INTERVAL_CHANGE_REQUEST BIT(7)1063 #define VMMDEV_EVENT_STATISTICS_INTERVAL_CHANGE_REQUEST RT_BIT(7) 1064 1064 /** VRDP status changed. */ 1065 #define VMMDEV_EVENT_VRDP BIT(8)1065 #define VMMDEV_EVENT_VRDP RT_BIT(8) 1066 1066 1067 1067 … … 1290 1290 1291 1291 /** query from host whether credentials are present */ 1292 #define VMMDEV_CREDENTIALS_QUERYPRESENCE BIT(1)1292 #define VMMDEV_CREDENTIALS_QUERYPRESENCE RT_BIT(1) 1293 1293 /** read credentials from host (can be combined with clear) */ 1294 #define VMMDEV_CREDENTIALS_READ BIT(2)1294 #define VMMDEV_CREDENTIALS_READ RT_BIT(2) 1295 1295 /** clear credentials on host (can be combined with read) */ 1296 #define VMMDEV_CREDENTIALS_CLEAR BIT(3)1296 #define VMMDEV_CREDENTIALS_CLEAR RT_BIT(3) 1297 1297 /** read credentials for judgement in the guest */ 1298 #define VMMDEV_CREDENTIALS_READJUDGE BIT(8)1298 #define VMMDEV_CREDENTIALS_READJUDGE RT_BIT(8) 1299 1299 /** clear credentials for judegement on the host */ 1300 #define VMMDEV_CREDENTIALS_CLEARJUDGE BIT(9)1300 #define VMMDEV_CREDENTIALS_CLEARJUDGE RT_BIT(9) 1301 1301 /** report credentials acceptance by guest */ 1302 #define VMMDEV_CREDENTIALS_JUDGE_OK BIT(10)1302 #define VMMDEV_CREDENTIALS_JUDGE_OK RT_BIT(10) 1303 1303 /** report credentials denial by guest */ 1304 #define VMMDEV_CREDENTIALS_JUDGE_DENY BIT(11)1304 #define VMMDEV_CREDENTIALS_JUDGE_DENY RT_BIT(11) 1305 1305 /** report that no judgement could be made by guest */ 1306 #define VMMDEV_CREDENTIALS_JUDGE_NOJUDGEMENT BIT(12)1306 #define VMMDEV_CREDENTIALS_JUDGE_NOJUDGEMENT RT_BIT(12) 1307 1307 1308 1308 /** flag telling the guest that credentials are present */ 1309 #define VMMDEV_CREDENTIALS_PRESENT BIT(16)1309 #define VMMDEV_CREDENTIALS_PRESENT RT_BIT(16) 1310 1310 /** flag telling guest that local logons should be prohibited */ 1311 #define VMMDEV_CREDENTIALS_NOLOCALLOGON BIT(17)1311 #define VMMDEV_CREDENTIALS_NOLOCALLOGON RT_BIT(17) 1312 1312 1313 1313 /** credentials request structure */ trunk/include/VBox/VBoxGuest16.h
r4478 r5605 18 18 #define ___VBox_VBoxGuest16_h 19 19 20 #define BIT(bit) (1UL << (bit))20 #define RT_BIT(bit) (1UL << (bit)) 21 21 22 22 … … 42 42 43 43 44 #define VMMDEV_EVENT_MOUSE_CAPABILITIES_CHANGED BIT(0)45 #define VMMDEV_EVENT_HGCM BIT(1)46 #define VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST BIT(2)47 #define VMMDEV_EVENT_JUDGE_CREDENTIALS BIT(3)48 #define VMMDEV_EVENT_RESTORED BIT(4)44 #define VMMDEV_EVENT_MOUSE_CAPABILITIES_CHANGED RT_BIT(0) 45 #define VMMDEV_EVENT_HGCM RT_BIT(1) 46 #define VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST RT_BIT(2) 47 #define VMMDEV_EVENT_JUDGE_CREDENTIALS RT_BIT(3) 48 #define VMMDEV_EVENT_RESTORED RT_BIT(4) 49 49 50 50 … … 78 78 #define VMMDevReq_CtlGuestFilterMask 42 79 79 80 #define VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE BIT(0)81 #define VBOXGUEST_MOUSE_HOST_CAN_ABSOLUTE BIT(1)82 #define VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR BIT(2)83 #define VBOXGUEST_MOUSE_HOST_CANNOT_HWPOINTER BIT(3)80 #define VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE RT_BIT(0) 81 #define VBOXGUEST_MOUSE_HOST_CAN_ABSOLUTE RT_BIT(1) 82 #define VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR RT_BIT(2) 83 #define VBOXGUEST_MOUSE_HOST_CANNOT_HWPOINTER RT_BIT(3) 84 84 85 85 typedef struct trunk/include/VBox/cpum.h
r5285 r5605 595 595 * @{ 596 596 */ 597 #define CPUM_CHANGED_FPU_REM BIT(0)598 #define CPUM_CHANGED_CR0 BIT(1)599 #define CPUM_CHANGED_CR4 BIT(2)600 #define CPUM_CHANGED_GLOBAL_TLB_FLUSH BIT(3)601 #define CPUM_CHANGED_CR3 BIT(4)602 #define CPUM_CHANGED_GDTR BIT(5)603 #define CPUM_CHANGED_IDTR BIT(6)604 #define CPUM_CHANGED_LDTR BIT(7)605 #define CPUM_CHANGED_TR BIT(8)606 #define CPUM_CHANGED_SYSENTER_MSR BIT(9)607 #define CPUM_CHANGED_HIDDEN_SEL_REGS BIT(10)597 #define CPUM_CHANGED_FPU_REM RT_BIT(0) 598 #define CPUM_CHANGED_CR0 RT_BIT(1) 599 #define CPUM_CHANGED_CR4 RT_BIT(2) 600 #define CPUM_CHANGED_GLOBAL_TLB_FLUSH RT_BIT(3) 601 #define CPUM_CHANGED_CR3 RT_BIT(4) 602 #define CPUM_CHANGED_GDTR RT_BIT(5) 603 #define CPUM_CHANGED_IDTR RT_BIT(6) 604 #define CPUM_CHANGED_LDTR RT_BIT(7) 605 #define CPUM_CHANGED_TR RT_BIT(8) 606 #define CPUM_CHANGED_SYSENTER_MSR RT_BIT(9) 607 #define CPUM_CHANGED_HIDDEN_SEL_REGS RT_BIT(10) 608 608 /** @} */ 609 609 trunk/include/VBox/dbg.h
r4329 r5605 153 153 * @{ */ 154 154 /** Indicates that the variable depends on the previous being present. */ 155 #define DBGCVD_FLAGS_DEP_PREV BIT(1)155 #define DBGCVD_FLAGS_DEP_PREV RT_BIT(1) 156 156 /** @} */ 157 157 trunk/include/VBox/dbgf.h
r4071 r5605 135 135 136 136 /** Set if the address is valid. */ 137 #define DBGFADDRESS_FLAGS_VALID BIT(2)137 #define DBGFADDRESS_FLAGS_VALID RT_BIT(2) 138 138 139 139 /** The address is within the hypervisor memoary area (HMA). 140 140 * If not set, the address can be assumed to be a guest address. */ 141 #define DBGFADDRESS_FLAGS_HMA BIT(3)141 #define DBGFADDRESS_FLAGS_HMA RT_BIT(3) 142 142 143 143 /** Checks if the mixed address is flat or not. */ … … 833 833 * @{ */ 834 834 /** The handler must run on the EMT. */ 835 #define DBGFINFO_FLAGS_RUN_ON_EMT BIT(0)835 #define DBGFINFO_FLAGS_RUN_ON_EMT RT_BIT(0) 836 836 /** @} */ 837 837 … … 1321 1321 /** Set if the content of the frame is filled in by DBGFR3StackWalk() and can be used 1322 1322 * to construct the next frame. */ 1323 #define DBGFSTACKFRAME_FLAGS_ALL_VALID BIT(0)1323 #define DBGFSTACKFRAME_FLAGS_ALL_VALID RT_BIT(0) 1324 1324 /** This is the last stack frame we can read. 1325 1325 * This flag is not set if the walk stop because of max dept or recursion. */ 1326 #define DBGFSTACKFRAME_FLAGS_LAST BIT(1)1326 #define DBGFSTACKFRAME_FLAGS_LAST RT_BIT(1) 1327 1327 /** This is the last record because we detected a loop. */ 1328 #define DBGFSTACKFRAME_FLAGS_LOOP BIT(2)1328 #define DBGFSTACKFRAME_FLAGS_LOOP RT_BIT(2) 1329 1329 /** This is the last record because we reached the maximum depth. */ 1330 #define DBGFSTACKFRAME_FLAGS_MAX_DEPTH BIT(3)1330 #define DBGFSTACKFRAME_FLAGS_MAX_DEPTH RT_BIT(3) 1331 1331 /** @} */ 1332 1332 … … 1392 1392 * @{ */ 1393 1393 /** Disassemble the current guest instruction, with annotations. */ 1394 #define DBGF_DISAS_FLAGS_CURRENT_GUEST BIT(0)1394 #define DBGF_DISAS_FLAGS_CURRENT_GUEST RT_BIT(0) 1395 1395 /** Disassemble the current hypervisor instruction, with annotations. */ 1396 #define DBGF_DISAS_FLAGS_CURRENT_HYPER BIT(1)1396 #define DBGF_DISAS_FLAGS_CURRENT_HYPER RT_BIT(1) 1397 1397 /** No annotations for current context. */ 1398 #define DBGF_DISAS_FLAGS_NO_ANNOTATION BIT(2)1398 #define DBGF_DISAS_FLAGS_NO_ANNOTATION RT_BIT(2) 1399 1399 /** No symbol lookup. */ 1400 #define DBGF_DISAS_FLAGS_NO_SYMBOLS BIT(3)1400 #define DBGF_DISAS_FLAGS_NO_SYMBOLS RT_BIT(3) 1401 1401 /** No instruction bytes. */ 1402 #define DBGF_DISAS_FLAGS_NO_BYTES BIT(4)1402 #define DBGF_DISAS_FLAGS_NO_BYTES RT_BIT(4) 1403 1403 /** No address in the output. */ 1404 #define DBGF_DISAS_FLAGS_NO_ADDRESS BIT(5)1404 #define DBGF_DISAS_FLAGS_NO_ADDRESS RT_BIT(5) 1405 1405 /** @} */ 1406 1406 trunk/include/VBox/dis.h
r4953 r5605 62 62 * Operand type. 63 63 */ 64 #define OPTYPE_INVALID BIT(0)65 #define OPTYPE_HARMLESS BIT(1)66 #define OPTYPE_CONTROLFLOW BIT(2)67 #define OPTYPE_POTENTIALLY_DANGEROUS BIT(3)68 #define OPTYPE_DANGEROUS BIT(4)69 #define OPTYPE_PORTIO BIT(5)70 #define OPTYPE_PRIVILEGED BIT(6)71 #define OPTYPE_PRIVILEGED_NOTRAP BIT(7)72 #define OPTYPE_UNCOND_CONTROLFLOW BIT(8)73 #define OPTYPE_RELATIVE_CONTROLFLOW BIT(9)74 #define OPTYPE_COND_CONTROLFLOW BIT(10)75 #define OPTYPE_INTERRUPT BIT(11)76 #define OPTYPE_ILLEGAL BIT(12)77 #define OPTYPE_RRM_DANGEROUS BIT(14) /**< Some additional dangerouse ones when recompiling raw r0. */78 #define OPTYPE_RRM_DANGEROUS_16 BIT(15) /**< Some additional dangerouse ones when recompiling 16-bit raw r0. */64 #define OPTYPE_INVALID RT_BIT(0) 65 #define OPTYPE_HARMLESS RT_BIT(1) 66 #define OPTYPE_CONTROLFLOW RT_BIT(2) 67 #define OPTYPE_POTENTIALLY_DANGEROUS RT_BIT(3) 68 #define OPTYPE_DANGEROUS RT_BIT(4) 69 #define OPTYPE_PORTIO RT_BIT(5) 70 #define OPTYPE_PRIVILEGED RT_BIT(6) 71 #define OPTYPE_PRIVILEGED_NOTRAP RT_BIT(7) 72 #define OPTYPE_UNCOND_CONTROLFLOW RT_BIT(8) 73 #define OPTYPE_RELATIVE_CONTROLFLOW RT_BIT(9) 74 #define OPTYPE_COND_CONTROLFLOW RT_BIT(10) 75 #define OPTYPE_INTERRUPT RT_BIT(11) 76 #define OPTYPE_ILLEGAL RT_BIT(12) 77 #define OPTYPE_RRM_DANGEROUS RT_BIT(14) /**< Some additional dangerouse ones when recompiling raw r0. */ 78 #define OPTYPE_RRM_DANGEROUS_16 RT_BIT(15) /**< Some additional dangerouse ones when recompiling 16-bit raw r0. */ 79 79 #define OPTYPE_RRM_MASK (OPTYPE_RRM_DANGEROUS | OPTYPE_RRM_DANGEROUS_16) 80 #define OPTYPE_INHIBIT_IRQS BIT(16) /**< Will or can inhibit irqs (sti, pop ss, mov ss) */81 #define OPTYPE_PORTIO_READ BIT(17)82 #define OPTYPE_PORTIO_WRITE BIT(18)80 #define OPTYPE_INHIBIT_IRQS RT_BIT(16) /**< Will or can inhibit irqs (sti, pop ss, mov ss) */ 81 #define OPTYPE_PORTIO_READ RT_BIT(17) 82 #define OPTYPE_PORTIO_WRITE RT_BIT(18) 83 83 #define OPTYPE_ALL (0xffffffff) 84 84 … … 86 86 * @{ 87 87 */ 88 #define USE_BASE BIT(0)89 #define USE_INDEX BIT(1)90 #define USE_SCALE BIT(2)91 #define USE_REG_GEN8 BIT(3)92 #define USE_REG_GEN16 BIT(4)93 #define USE_REG_GEN32 BIT(5)94 #define USE_REG_FP BIT(6)95 #define USE_REG_MMX BIT(7)96 #define USE_REG_XMM BIT(8)97 #define USE_REG_CR BIT(9)98 #define USE_REG_DBG BIT(10)99 #define USE_REG_SEG BIT(11)100 #define USE_REG_TEST BIT(12)101 #define USE_DISPLACEMENT8 BIT(13)102 #define USE_DISPLACEMENT16 BIT(14)103 #define USE_DISPLACEMENT32 BIT(15)104 #define USE_IMMEDIATE8 BIT(16)105 #define USE_IMMEDIATE8_REL BIT(17)106 #define USE_IMMEDIATE16 BIT(18)107 #define USE_IMMEDIATE16_REL BIT(19)108 #define USE_IMMEDIATE32 BIT(20)109 #define USE_IMMEDIATE32_REL BIT(21)110 #define USE_IMMEDIATE64 BIT(22)111 #define USE_IMMEDIATE_ADDR_0_32 BIT(23)112 #define USE_IMMEDIATE_ADDR_16_32 BIT(24)113 #define USE_IMMEDIATE_ADDR_0_16 BIT(25)114 #define USE_IMMEDIATE_ADDR_16_16 BIT(26)88 #define USE_BASE RT_BIT(0) 89 #define USE_INDEX RT_BIT(1) 90 #define USE_SCALE RT_BIT(2) 91 #define USE_REG_GEN8 RT_BIT(3) 92 #define USE_REG_GEN16 RT_BIT(4) 93 #define USE_REG_GEN32 RT_BIT(5) 94 #define USE_REG_FP RT_BIT(6) 95 #define USE_REG_MMX RT_BIT(7) 96 #define USE_REG_XMM RT_BIT(8) 97 #define USE_REG_CR RT_BIT(9) 98 #define USE_REG_DBG RT_BIT(10) 99 #define USE_REG_SEG RT_BIT(11) 100 #define USE_REG_TEST RT_BIT(12) 101 #define USE_DISPLACEMENT8 RT_BIT(13) 102 #define USE_DISPLACEMENT16 RT_BIT(14) 103 #define USE_DISPLACEMENT32 RT_BIT(15) 104 #define USE_IMMEDIATE8 RT_BIT(16) 105 #define USE_IMMEDIATE8_REL RT_BIT(17) 106 #define USE_IMMEDIATE16 RT_BIT(18) 107 #define USE_IMMEDIATE16_REL RT_BIT(19) 108 #define USE_IMMEDIATE32 RT_BIT(20) 109 #define USE_IMMEDIATE32_REL RT_BIT(21) 110 #define USE_IMMEDIATE64 RT_BIT(22) 111 #define USE_IMMEDIATE_ADDR_0_32 RT_BIT(23) 112 #define USE_IMMEDIATE_ADDR_16_32 RT_BIT(24) 113 #define USE_IMMEDIATE_ADDR_0_16 RT_BIT(25) 114 #define USE_IMMEDIATE_ADDR_16_16 RT_BIT(26) 115 115 /** DS:ESI */ 116 #define USE_POINTER_DS_BASED BIT(27)116 #define USE_POINTER_DS_BASED RT_BIT(27) 117 117 /** ES:EDI */ 118 #define USE_POINTER_ES_BASED BIT(28)119 #define USE_IMMEDIATE16_SX8 BIT(29)120 #define USE_IMMEDIATE32_SX8 BIT(30)118 #define USE_POINTER_ES_BASED RT_BIT(28) 119 #define USE_IMMEDIATE16_SX8 RT_BIT(29) 120 #define USE_IMMEDIATE32_SX8 RT_BIT(30) 121 121 122 122 #define USE_IMMEDIATE (USE_IMMEDIATE8|USE_IMMEDIATE16|USE_IMMEDIATE32|USE_IMMEDIATE64|USE_IMMEDIATE8_REL|USE_IMMEDIATE16_REL|USE_IMMEDIATE32_REL|USE_IMMEDIATE_ADDR_0_32|USE_IMMEDIATE_ADDR_16_32|USE_IMMEDIATE_ADDR_0_16|USE_IMMEDIATE_ADDR_16_16|USE_IMMEDIATE16_SX8|USE_IMMEDIATE32_SX8) … … 218 218 * @{ 219 219 */ 220 #define PARAM_VAL8 BIT(0)221 #define PARAM_VAL16 BIT(1)222 #define PARAM_VAL32 BIT(2)223 #define PARAM_VAL64 BIT(3)224 #define PARAM_VALFARPTR16 BIT(4)225 #define PARAM_VALFARPTR32 BIT(5)220 #define PARAM_VAL8 RT_BIT(0) 221 #define PARAM_VAL16 RT_BIT(1) 222 #define PARAM_VAL32 RT_BIT(2) 223 #define PARAM_VAL64 RT_BIT(3) 224 #define PARAM_VALFARPTR16 RT_BIT(4) 225 #define PARAM_VALFARPTR32 RT_BIT(5) 226 226 227 227 #define PARMTYPE_REGISTER 1 trunk/include/VBox/hwacc_svm.h
r4071 r5605 230 230 */ 231 231 /* 0 Intercept INTR (physical maskable interrupt) */ 232 #define SVM_CTRL1_INTERCEPT_INTR BIT(0)232 #define SVM_CTRL1_INTERCEPT_INTR RT_BIT(0) 233 233 /* 1 Intercept NMI */ 234 #define SVM_CTRL1_INTERCEPT_NMI BIT(1)234 #define SVM_CTRL1_INTERCEPT_NMI RT_BIT(1) 235 235 /* 2 Intercept SMI */ 236 #define SVM_CTRL1_INTERCEPT_SMI BIT(2)236 #define SVM_CTRL1_INTERCEPT_SMI RT_BIT(2) 237 237 /* 3 Intercept INIT */ 238 #define SVM_CTRL1_INTERCEPT_INIT BIT(3)238 #define SVM_CTRL1_INTERCEPT_INIT RT_BIT(3) 239 239 /* 4 Intercept VINTR (virtual maskable interrupt) */ 240 #define SVM_CTRL1_INTERCEPT_VINTR BIT(4)240 #define SVM_CTRL1_INTERCEPT_VINTR RT_BIT(4) 241 241 /* 5 Intercept CR0 writes that change bits other than CR0.TS or CR0.MP */ 242 #define SVM_CTRL1_INTERCEPT_CR0 BIT(5)242 #define SVM_CTRL1_INTERCEPT_CR0 RT_BIT(5) 243 243 /* 6 Intercept reads of IDTR */ 244 #define SVM_CTRL1_INTERCEPT_IDTR_READS BIT(6)244 #define SVM_CTRL1_INTERCEPT_IDTR_READS RT_BIT(6) 245 245 /* 7 Intercept reads of GDTR */ 246 #define SVM_CTRL1_INTERCEPT_GDTR_READS BIT(7)246 #define SVM_CTRL1_INTERCEPT_GDTR_READS RT_BIT(7) 247 247 /* 8 Intercept reads of LDTR */ 248 #define SVM_CTRL1_INTERCEPT_LDTR_READS BIT(8)248 #define SVM_CTRL1_INTERCEPT_LDTR_READS RT_BIT(8) 249 249 /* 9 Intercept reads of TR */ 250 #define SVM_CTRL1_INTERCEPT_TR_READS BIT(9)250 #define SVM_CTRL1_INTERCEPT_TR_READS RT_BIT(9) 251 251 /* 10 Intercept writes of IDTR */ 252 #define SVM_CTRL1_INTERCEPT_IDTR_WRITES BIT(10)252 #define SVM_CTRL1_INTERCEPT_IDTR_WRITES RT_BIT(10) 253 253 /* 11 Intercept writes of GDTR */ 254 #define SVM_CTRL1_INTERCEPT_GDTR_WRITES BIT(11)254 #define SVM_CTRL1_INTERCEPT_GDTR_WRITES RT_BIT(11) 255 255 /* 12 Intercept writes of LDTR */ 256 #define SVM_CTRL1_INTERCEPT_LDTR_WRITES BIT(12)256 #define SVM_CTRL1_INTERCEPT_LDTR_WRITES RT_BIT(12) 257 257 /* 13 Intercept writes of TR */ 258 #define SVM_CTRL1_INTERCEPT_TR_WRITES BIT(13)258 #define SVM_CTRL1_INTERCEPT_TR_WRITES RT_BIT(13) 259 259 /* 14 Intercept RDTSC instruction */ 260 #define SVM_CTRL1_INTERCEPT_RDTSC BIT(14)260 #define SVM_CTRL1_INTERCEPT_RDTSC RT_BIT(14) 261 261 /* 15 Intercept RDPMC instruction */ 262 #define SVM_CTRL1_INTERCEPT_RDPMC BIT(15)262 #define SVM_CTRL1_INTERCEPT_RDPMC RT_BIT(15) 263 263 /* 16 Intercept PUSHF instruction */ 264 #define SVM_CTRL1_INTERCEPT_PUSHF BIT(16)264 #define SVM_CTRL1_INTERCEPT_PUSHF RT_BIT(16) 265 265 /* 17 Intercept POPF instruction */ 266 #define SVM_CTRL1_INTERCEPT_POPF BIT(17)266 #define SVM_CTRL1_INTERCEPT_POPF RT_BIT(17) 267 267 /* 18 Intercept CPUID instruction */ 268 #define SVM_CTRL1_INTERCEPT_CPUID BIT(18)268 #define SVM_CTRL1_INTERCEPT_CPUID RT_BIT(18) 269 269 /* 19 Intercept RSM instruction */ 270 #define SVM_CTRL1_INTERCEPT_RSM BIT(19)270 #define SVM_CTRL1_INTERCEPT_RSM RT_BIT(19) 271 271 /* 20 Intercept IRET instruction */ 272 #define SVM_CTRL1_INTERCEPT_IRET BIT(20)272 #define SVM_CTRL1_INTERCEPT_IRET RT_BIT(20) 273 273 /* 21 Intercept INTn instruction */ 274 #define SVM_CTRL1_INTERCEPT_INTN BIT(21)274 #define SVM_CTRL1_INTERCEPT_INTN RT_BIT(21) 275 275 /* 22 Intercept INVD instruction */ 276 #define SVM_CTRL1_INTERCEPT_INVD BIT(22)276 #define SVM_CTRL1_INTERCEPT_INVD RT_BIT(22) 277 277 /* 23 Intercept PAUSE instruction */ 278 #define SVM_CTRL1_INTERCEPT_PAUSE BIT(23)278 #define SVM_CTRL1_INTERCEPT_PAUSE RT_BIT(23) 279 279 /* 24 Intercept HLT instruction */ 280 #define SVM_CTRL1_INTERCEPT_HLT BIT(24)280 #define SVM_CTRL1_INTERCEPT_HLT RT_BIT(24) 281 281 /* 25 Intercept INVLPG instruction */ 282 #define SVM_CTRL1_INTERCEPT_INVLPG BIT(25)282 #define SVM_CTRL1_INTERCEPT_INVLPG RT_BIT(25) 283 283 /* 26 Intercept INVLPGA instruction */ 284 #define SVM_CTRL1_INTERCEPT_INVLPGA BIT(26)284 #define SVM_CTRL1_INTERCEPT_INVLPGA RT_BIT(26) 285 285 /* 27 IOIO_PROT Intercept IN/OUT accesses to selected ports. */ 286 #define SVM_CTRL1_INTERCEPT_INOUT_BITMAP BIT(27)286 #define SVM_CTRL1_INTERCEPT_INOUT_BITMAP RT_BIT(27) 287 287 /* 28 MSR_PROT Intercept RDMSR or WRMSR accesses to selected MSRs. */ 288 #define SVM_CTRL1_INTERCEPT_MSR_SHADOW BIT(28)288 #define SVM_CTRL1_INTERCEPT_MSR_SHADOW RT_BIT(28) 289 289 /* 29 Intercept task switches. */ 290 #define SVM_CTRL1_INTERCEPT_TASK_SWITCH BIT(29)290 #define SVM_CTRL1_INTERCEPT_TASK_SWITCH RT_BIT(29) 291 291 /* 30 FERR_FREEZE: intercept processor "freezing" during legacy FERR handling. */ 292 #define SVM_CTRL1_INTERCEPT_FERR_FREEZE BIT(30)292 #define SVM_CTRL1_INTERCEPT_FERR_FREEZE RT_BIT(30) 293 293 /* 31 Intercept shutdown events. */ 294 #define SVM_CTRL1_INTERCEPT_SHUTDOWN BIT(31)294 #define SVM_CTRL1_INTERCEPT_SHUTDOWN RT_BIT(31) 295 295 /** @} */ 296 296 … … 300 300 */ 301 301 /* 0 Intercept VMRUN instruction */ 302 #define SVM_CTRL2_INTERCEPT_VMRUN BIT(0)302 #define SVM_CTRL2_INTERCEPT_VMRUN RT_BIT(0) 303 303 /* 1 Intercept VMMCALL instruction */ 304 #define SVM_CTRL2_INTERCEPT_VMMCALL BIT(1)304 #define SVM_CTRL2_INTERCEPT_VMMCALL RT_BIT(1) 305 305 /* 2 Intercept VMLOAD instruction */ 306 #define SVM_CTRL2_INTERCEPT_VMLOAD BIT(2)306 #define SVM_CTRL2_INTERCEPT_VMLOAD RT_BIT(2) 307 307 /* 3 Intercept VMSAVE instruction */ 308 #define SVM_CTRL2_INTERCEPT_VMSAVE BIT(3)308 #define SVM_CTRL2_INTERCEPT_VMSAVE RT_BIT(3) 309 309 /* 4 Intercept STGI instruction */ 310 #define SVM_CTRL2_INTERCEPT_STGI BIT(4)310 #define SVM_CTRL2_INTERCEPT_STGI RT_BIT(4) 311 311 /* 5 Intercept CLGI instruction */ 312 #define SVM_CTRL2_INTERCEPT_CLGI BIT(5)312 #define SVM_CTRL2_INTERCEPT_CLGI RT_BIT(5) 313 313 /* 6 Intercept SKINIT instruction */ 314 #define SVM_CTRL2_INTERCEPT_SKINIT BIT(6)314 #define SVM_CTRL2_INTERCEPT_SKINIT RT_BIT(6) 315 315 /* 7 Intercept RDTSCP instruction */ 316 #define SVM_CTRL2_INTERCEPT_RDTSCP BIT(7)316 #define SVM_CTRL2_INTERCEPT_RDTSCP RT_BIT(7) 317 317 /* 8 Intercept ICEBP instruction */ 318 #define SVM_CTRL2_INTERCEPT_ICEBP BIT(8)318 #define SVM_CTRL2_INTERCEPT_ICEBP RT_BIT(8) 319 319 /* 9 Intercept WBINVD instruction */ 320 #define SVM_CTRL2_INTERCEPT_WBINVD BIT(9)320 #define SVM_CTRL2_INTERCEPT_WBINVD RT_BIT(9) 321 321 /** @} */ 322 322 … … 324 324 * @{ 325 325 */ 326 #define SVM_NESTED_PAGING_ENABLE BIT(0)326 #define SVM_NESTED_PAGING_ENABLE RT_BIT(0) 327 327 /** @} */ 328 328 … … 330 330 * @{ 331 331 */ 332 #define SVM_INTERRUPT_SHADOW_ACTIVE BIT(0)332 #define SVM_INTERRUPT_SHADOW_ACTIVE RT_BIT(0) 333 333 /** @} */ 334 334 trunk/include/VBox/hwacc_vmx.h
r4071 r5605 322 322 */ 323 323 /* External interrupts cause VM exits if set; otherwise dispatched through the guest's IDT. */ 324 #define VMX_VMCS_CTRL_PIN_EXEC_CONTROLS_EXT_INT_EXIT BIT(0)324 #define VMX_VMCS_CTRL_PIN_EXEC_CONTROLS_EXT_INT_EXIT RT_BIT(0) 325 325 /* Non-maskable interrupts cause VM exits if set; otherwise dispatched through the guest's IDT. */ 326 #define VMX_VMCS_CTRL_PIN_EXEC_CONTROLS_NMI_EXIT BIT(3)326 #define VMX_VMCS_CTRL_PIN_EXEC_CONTROLS_NMI_EXIT RT_BIT(3) 327 327 /* All other bits are reserved and must be set according to MSR IA32_VMX_PROCBASED_CTLS. */ 328 328 /** @} */ … … 333 333 */ 334 334 /* VM Exit as soon as RFLAGS.IF=1 and no blocking is active. */ 335 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_IRQ_WINDOW_EXIT BIT(2)335 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_IRQ_WINDOW_EXIT RT_BIT(2) 336 336 /* Use timestamp counter offset. */ 337 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_TSC_OFFSET BIT(3)337 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_TSC_OFFSET RT_BIT(3) 338 338 /* VM Exit when executing the HLT instruction. */ 339 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_HLT_EXIT BIT(7)339 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_HLT_EXIT RT_BIT(7) 340 340 /* VM Exit when executing the INVLPG instruction. */ 341 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INVLPG_EXIT BIT(9)341 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INVLPG_EXIT RT_BIT(9) 342 342 /* VM Exit when executing the MWAIT instruction. */ 343 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MWAIT_EXIT BIT(10)343 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MWAIT_EXIT RT_BIT(10) 344 344 /* VM Exit when executing the RDPMC instruction. */ 345 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDPMC_EXIT BIT(11)345 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDPMC_EXIT RT_BIT(11) 346 346 /* VM Exit when executing the RDTSC instruction. */ 347 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT BIT(12)347 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT RT_BIT(12) 348 348 /* VM Exit on CR8 loads. */ 349 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_LOAD_EXIT BIT(19)349 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_LOAD_EXIT RT_BIT(19) 350 350 /* VM Exit on CR8 stores. */ 351 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_STORE_EXIT BIT(20)351 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_STORE_EXIT RT_BIT(20) 352 352 /* Use TPR shadow. */ 353 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW BIT(21)353 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW RT_BIT(21) 354 354 /* VM Exit when executing a MOV DRx instruction. */ 355 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MOV_DR_EXIT BIT(23)355 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MOV_DR_EXIT RT_BIT(23) 356 356 /* VM Exit when executing IO instructions. */ 357 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_UNCOND_IO_EXIT BIT(24)357 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_UNCOND_IO_EXIT RT_BIT(24) 358 358 /* Use IO bitmaps. */ 359 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_IO_BITMAPS BIT(25)359 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_IO_BITMAPS RT_BIT(25) 360 360 /* Use MSR bitmaps. */ 361 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_MSR_BITMAPS BIT(28)361 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_MSR_BITMAPS RT_BIT(28) 362 362 /* VM Exit when executing the MONITOR instruction. */ 363 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MONITOR_EXIT BIT(29)363 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MONITOR_EXIT RT_BIT(29) 364 364 /* VM Exit when executing the PAUSE instruction. */ 365 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_PAUSE_EXIT BIT(30)365 #define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_PAUSE_EXIT RT_BIT(30) 366 366 /** @} */ 367 367 … … 371 371 */ 372 372 /** 64 bits guest mode. Must be 0 for CPUs that don't support AMD64. */ 373 #define VMX_VMCS_CTRL_ENTRY_CONTROLS_IA64_MODE BIT(9)373 #define VMX_VMCS_CTRL_ENTRY_CONTROLS_IA64_MODE RT_BIT(9) 374 374 /** In SMM mode after VM-entry. */ 375 #define VMX_VMCS_CTRL_ENTRY_CONTROLS_ENTRY_SMM BIT(10)375 #define VMX_VMCS_CTRL_ENTRY_CONTROLS_ENTRY_SMM RT_BIT(10) 376 376 /** Disable dual treatment of SMI and SMM; must be zero for VM-entry outside of SMM. */ 377 #define VMX_VMCS_CTRL_ENTRY_CONTROLS_DEACTIVATE_DUALMON BIT(11)377 #define VMX_VMCS_CTRL_ENTRY_CONTROLS_DEACTIVATE_DUALMON RT_BIT(11) 378 378 /** @} */ 379 379 … … 383 383 */ 384 384 /** Return to long mode after a VM-exit. */ 385 #define VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_AMD64 BIT(9)385 #define VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_AMD64 RT_BIT(9) 386 386 /** Acknowledge external interrupts with the irq controller if one caused a VM-exit. */ 387 #define VMX_VMCS_CTRL_EXIT_CONTROLS_ACK_EXTERNAL_IRQ BIT(15)387 #define VMX_VMCS_CTRL_EXIT_CONTROLS_ACK_EXTERNAL_IRQ RT_BIT(15) 388 388 /** @} */ 389 389 … … 407 407 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT 8 408 408 #define VMX_EXIT_INTERRUPTION_INFO_TYPE(a) ((a >> VMX_EXIT_INTERRU

