Changeset 26025 in vbox
- Timestamp:
- Jan 25, 2010 4:42:29 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56918
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r26018 r26025 2917 2917 break; 2918 2918 } 2919 } 2919 } 2920 2920 goto ResumeExecution; 2921 2921 } … … 4072 4072 Log(("VMX_VMCS_GUEST_RFLAGS %08x\n", val2)); 4073 4073 4074 VMX_LOG_SELREG(CS, "CS" );4075 VMX_LOG_SELREG(DS, "DS" );4076 VMX_LOG_SELREG(ES, "ES" );4077 VMX_LOG_SELREG(FS, "FS" );4078 VMX_LOG_SELREG(GS, "GS" );4079 VMX_LOG_SELREG(SS, "SS" );4080 VMX_LOG_SELREG(TR, "TR" );4081 VMX_LOG_SELREG(LDTR, "LDTR" );4074 VMX_LOG_SELREG(CS, "CS", val2); 4075 VMX_LOG_SELREG(DS, "DS", val2); 4076 VMX_LOG_SELREG(ES, "ES", val2); 4077 VMX_LOG_SELREG(FS, "FS", val2); 4078 VMX_LOG_SELREG(GS, "GS", val2); 4079 VMX_LOG_SELREG(SS, "SS", val2); 4080 VMX_LOG_SELREG(TR, "TR", val2); 4081 VMX_LOG_SELREG(LDTR, "LDTR", val2); 4082 4082 4083 4083 VMXReadVMCS(VMX_VMCS64_GUEST_GDTR_BASE, &val2); -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
r25647 r26025 257 257 258 258 /* Don't read from the cache in this macro; used only in case of failure where the cache is out of sync. */ 259 # define VMX_LOG_SELREG(REG, szSelReg ) \260 { \261 VMXReadVMCS(VMX_VMCS16_GUEST_FIELD_##REG, & val); \262 Log(("%s Selector %x\n", szSelReg, val)); \263 VMXReadVMCS(VMX_VMCS32_GUEST_##REG##_LIMIT, & val); \264 Log(("%s Limit %x\n", szSelReg, val)); \265 VMXReadVMCS(VMX_VMCS64_GUEST_##REG##_BASE, & val); \266 Log(("%s Base %RX64\n", szSelReg, (uint64_t) val)); \267 VMXReadVMCS(VMX_VMCS32_GUEST_##REG##_ACCESS_RIGHTS, & val); \268 Log(("%s Attributes %x\n", szSelReg, val)); \259 # define VMX_LOG_SELREG(REG, szSelReg, val) \ 260 { \ 261 VMXReadVMCS(VMX_VMCS16_GUEST_FIELD_##REG, &(val)); \ 262 Log(("%s Selector %x\n", szSelReg, (val))); \ 263 VMXReadVMCS(VMX_VMCS32_GUEST_##REG##_LIMIT, &(val)); \ 264 Log(("%s Limit %x\n", szSelReg, (val))); \ 265 VMXReadVMCS(VMX_VMCS64_GUEST_##REG##_BASE, &(val)); \ 266 Log(("%s Base %RX64\n", szSelReg, (uint64_t)(val))); \ 267 VMXReadVMCS(VMX_VMCS32_GUEST_##REG##_ACCESS_RIGHTS, &(val)); \ 268 Log(("%s Attributes %x\n", szSelReg, (val))); \ 269 269 } 270 270
Note:
See TracChangeset
for help on using the changeset viewer.