Changeset 66281 in vbox for trunk/src/VBox
- Timestamp:
- Mar 28, 2017 7:29:08 AM (8 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp
r66276 r66281 458 458 { 459 459 uint8_t const uVector = pEventInject->n.u8Vector; 460 TRPMEVENT const enmType = HMSvmEventToTrpmEventType(pEventInject);460 TRPMEVENT const enmType = hmSvmEventToTrpmEventType(pEventInject); 461 461 uint16_t const uErrorCode = pEventInject->n.u1ErrorCodeValid ? pEventInject->n.u32ErrorCode : 0; 462 462 … … 681 681 * @param pEvent Pointer to the SVM event. 682 682 */ 683 VMM_INT_DECL(TRPMEVENT) HMSvmEventToTrpmEventType(PCSVMEVENT pEvent)683 VMM_INT_DECL(TRPMEVENT) hmSvmEventToTrpmEventType(PCSVMEVENT pEvent) 684 684 { 685 685 uint8_t const uType = pEvent->n.u3Type; -
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r65407 r66281 1614 1614 * @returns The cpu structure pointer. 1615 1615 */ 1616 VMMR0 DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void)1616 VMMR0_INT_DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void) 1617 1617 { 1618 1618 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); … … 1752 1752 * @param pszMsg Message to prepend the log entry with. 1753 1753 */ 1754 VMMR0 DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg)1754 VMMR0_INT_DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg) 1755 1755 { 1756 1756 /* … … 1875 1875 * @param pCtx Pointer to the CPU context. 1876 1876 */ 1877 VMMR0 DECL(void) hmDumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)1877 VMMR0_INT_DECL(void) hmR0DumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx) 1878 1878 { 1879 1879 NOREF(pVM); -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r66276 r66281 2456 2456 uint8_t uVector = Event.n.u8Vector; 2457 2457 uint8_t uVectorType = Event.n.u3Type; 2458 TRPMEVENT enmTrapType = HMSvmEventToTrpmEventType(&Event);2458 TRPMEVENT enmTrapType = hmSvmEventToTrpmEventType(&Event); 2459 2459 2460 2460 Log4(("HM event->TRPM: uVector=%#x enmTrapType=%d\n", uVector, uVectorType)); … … 2743 2743 if (rcVMRun == VERR_SVM_INVALID_GUEST_STATE) 2744 2744 { 2745 hm DumpRegs(pVM, pVCpu, pCtx); NOREF(pVM);2745 hmR0DumpRegs(pVM, pVCpu, pCtx); NOREF(pVM); 2746 2746 #ifdef VBOX_STRICT 2747 2747 Log4(("ctrl.u64VmcbCleanBits %#RX64\n", pVmcb->ctrl.u64VmcbCleanBits)); -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r66052 r66281 12014 12014 #endif 12015 12015 12016 hm DumpRegs(pVCpu->CTX_SUFF(pVM), pVCpu, pMixedCtx);12016 hmR0DumpRegs(pVCpu->CTX_SUFF(pVM), pVCpu, pMixedCtx); 12017 12017 return VERR_VMX_INVALID_GUEST_STATE; 12018 12018 } -
trunk/src/VBox/VMM/include/HMInternal.h
r66227 r66281 1102 1102 AssertCompileMemberAlignment(HMCPU, Event, 8); 1103 1103 1104 VMM_INT_DECL(TRPMEVENT) HMSvmEventToTrpmEventType(PCSVMEVENT pSvmEvent);1104 VMM_INT_DECL(TRPMEVENT) hmSvmEventToTrpmEventType(PCSVMEVENT pSvmEvent); 1105 1105 1106 1106 #ifdef IN_RING0 1107 VMMR0 DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void);1107 VMMR0_INT_DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void); 1108 1108 1109 1109 # ifdef VBOX_STRICT 1110 VMMR0 DECL(void) hmDumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);1111 VMMR0 DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg);1110 VMMR0_INT_DECL(void) hmR0DumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx); 1111 VMMR0_INT_DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg); 1112 1112 # else 1113 # define hm DumpRegs(a, b ,c)do { } while (0)1113 # define hmR0DumpRegs(a, b ,c) do { } while (0) 1114 1114 # define hmR0DumpDescriptor(a, b, c) do { } while (0) 1115 1115 # endif /* VBOX_STRICT */
Note:
See TracChangeset
for help on using the changeset viewer.