VirtualBox

Changeset 66281 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 28, 2017 7:29:08 AM (8 years ago)
Author:
vboxsync
Message:

VMM: Nested Hw.virt: Decls, naming.

Location:
trunk/src/VBox/VMM
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp

    r66276 r66281  
    458458            {
    459459                uint8_t   const uVector    = pEventInject->n.u8Vector;
    460                 TRPMEVENT const enmType    = HMSvmEventToTrpmEventType(pEventInject);
     460                TRPMEVENT const enmType    = hmSvmEventToTrpmEventType(pEventInject);
    461461                uint16_t  const uErrorCode = pEventInject->n.u1ErrorCodeValid ? pEventInject->n.u32ErrorCode : 0;
    462462
     
    681681 * @param   pEvent       Pointer to the SVM event.
    682682 */
    683 VMM_INT_DECL(TRPMEVENT) HMSvmEventToTrpmEventType(PCSVMEVENT pEvent)
     683VMM_INT_DECL(TRPMEVENT) hmSvmEventToTrpmEventType(PCSVMEVENT pEvent)
    684684{
    685685    uint8_t const uType = pEvent->n.u3Type;
  • trunk/src/VBox/VMM/VMMR0/HMR0.cpp

    r65407 r66281  
    16141614 * @returns The cpu structure pointer.
    16151615 */
    1616 VMMR0DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void)
     1616VMMR0_INT_DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void)
    16171617{
    16181618    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
     
    17521752 * @param   pszMsg   Message to prepend the log entry with.
    17531753 */
    1754 VMMR0DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg)
     1754VMMR0_INT_DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg)
    17551755{
    17561756    /*
     
    18751875 * @param   pCtx        Pointer to the CPU context.
    18761876 */
    1877 VMMR0DECL(void) hmDumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
     1877VMMR0_INT_DECL(void) hmR0DumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
    18781878{
    18791879    NOREF(pVM);
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r66276 r66281  
    24562456    uint8_t   uVector     = Event.n.u8Vector;
    24572457    uint8_t   uVectorType = Event.n.u3Type;
    2458     TRPMEVENT enmTrapType = HMSvmEventToTrpmEventType(&Event);
     2458    TRPMEVENT enmTrapType = hmSvmEventToTrpmEventType(&Event);
    24592459
    24602460    Log4(("HM event->TRPM: uVector=%#x enmTrapType=%d\n", uVector, uVectorType));
     
    27432743    if (rcVMRun == VERR_SVM_INVALID_GUEST_STATE)
    27442744    {
    2745         hmDumpRegs(pVM, pVCpu, pCtx); NOREF(pVM);
     2745        hmR0DumpRegs(pVM, pVCpu, pCtx); NOREF(pVM);
    27462746#ifdef VBOX_STRICT
    27472747        Log4(("ctrl.u64VmcbCleanBits             %#RX64\n",   pVmcb->ctrl.u64VmcbCleanBits));
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r66052 r66281  
    1201412014#endif
    1201512015
    12016     hmDumpRegs(pVCpu->CTX_SUFF(pVM), pVCpu, pMixedCtx);
     12016    hmR0DumpRegs(pVCpu->CTX_SUFF(pVM), pVCpu, pMixedCtx);
    1201712017    return VERR_VMX_INVALID_GUEST_STATE;
    1201812018}
  • trunk/src/VBox/VMM/include/HMInternal.h

    r66227 r66281  
    11021102AssertCompileMemberAlignment(HMCPU, Event, 8);
    11031103
    1104 VMM_INT_DECL(TRPMEVENT) HMSvmEventToTrpmEventType(PCSVMEVENT pSvmEvent);
     1104VMM_INT_DECL(TRPMEVENT) hmSvmEventToTrpmEventType(PCSVMEVENT pSvmEvent);
    11051105
    11061106#ifdef IN_RING0
    1107 VMMR0DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void);
     1107VMMR0_INT_DECL(PHMGLOBALCPUINFO) hmR0GetCurrentCpu(void);
    11081108
    11091109# ifdef VBOX_STRICT
    1110 VMMR0DECL(void) hmDumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);
    1111 VMMR0DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg);
     1110VMMR0_INT_DECL(void) hmR0DumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);
     1111VMMR0_INT_DECL(void) hmR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg);
    11121112# else
    1113 #  define hmDumpRegs(a, b ,c)            do { } while (0)
     1113#  define hmR0DumpRegs(a, b ,c)          do { } while (0)
    11141114#  define hmR0DumpDescriptor(a, b, c)    do { } while (0)
    11151115# endif /* VBOX_STRICT */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette