VirtualBox

Changeset 12989 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Oct 6, 2008 2:15:39 AM (16 years ago)
Author:
vboxsync
Message:

VMM + VBox/cdefs.h: consolidated all the XYZ*DECLS of the VMM into VMM*DECL. Removed dead DECL and IN_XYZ* macros.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp

    r12657 r12989  
    4545 * @param   pVM         The VM to operate on.
    4646 */
    47 CPUMR0DECL(int) CPUMR0Init(PVM pVM)
     47VMMR0DECL(int) CPUMR0Init(PVM pVM)
    4848{
    4949    LogFlow(("CPUMR0Init: %p\n", pVM));
     
    116116 * @param   pCtx        CPU context
    117117 */
    118 CPUMR0DECL(int) CPUMR0LoadGuestFPU(PVM pVM, PCPUMCTX pCtx)
     118VMMR0DECL(int) CPUMR0LoadGuestFPU(PVM pVM, PCPUMCTX pCtx)
    119119{
    120120    Assert(pVM->cpum.s.CPUFeatures.edx.u1FXSR);
     
    236236 * @param   pCtx        CPU context
    237237 */
    238 CPUMR0DECL(int) CPUMR0SaveGuestFPU(PVM pVM, PCPUMCTX pCtx)
     238VMMR0DECL(int) CPUMR0SaveGuestFPU(PVM pVM, PCPUMCTX pCtx)
    239239{
    240240    Assert(pVM->cpum.s.CPUFeatures.edx.u1FXSR);
     
    287287 * @param   fDR6        Include DR6 or not
    288288 */
    289 CPUMR0DECL(int) CPUMR0SaveGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6)
     289VMMR0DECL(int) CPUMR0SaveGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6)
    290290{
    291291    Assert(pVM->cpum.s.fUseFlags & CPUM_USE_DEBUG_REGS);
     
    323323 * @param   fDR6        Include DR6 or not
    324324 */
    325 CPUMR0DECL(int) CPUMR0LoadGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6)
     325VMMR0DECL(int) CPUMR0LoadGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6)
    326326{
    327327    /* Save the host state. */
  • trunk/src/VBox/VMM/VMMR0/DBGFR0.cpp

    r12663 r12989  
    4747 * @param   uDr6        The DR6 register value.
    4848 */
    49 DBGFR0DECL(int) DBGFR0Trap01Handler(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCUINTREG uDr6)
     49VMMR0DECL(int) DBGFR0Trap01Handler(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCUINTREG uDr6)
    5050{
    5151    /** @todo Intel docs say that X86_DR6_BS has the highest priority... */
     
    105105 * @param   pRegFrame   Pointer to the register frame for the trap.
    106106 */
    107 DBGFR0DECL(int) DBGFR0Trap03Handler(PVM pVM, PCPUMCTXCORE pRegFrame)
     107VMMR0DECL(int) DBGFR0Trap03Handler(PVM pVM, PCPUMCTXCORE pRegFrame)
    108108{
    109109    /*
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r12892 r12989  
    136136 * @returns VBox status code.
    137137 */
    138 HWACCMR0DECL(int) HWACCMR0Init(void)
     138VMMR0DECL(int) HWACCMR0Init(void)
    139139{
    140140    int        rc;
     
    415415 * @returns VBox status code.
    416416 */
    417 HWACCMR0DECL(int) HWACCMR0Term(void)
     417VMMR0DECL(int) HWACCMR0Term(void)
    418418{
    419419    int aRc[RTCPUSET_MAX_CPUS];
     
    512512 *
    513513 */
    514 HWACCMR0DECL(int) HWACCMR0EnableAllCpus(PVM pVM, HWACCMSTATE enmNewHwAccmState)
     514VMMR0DECL(int) HWACCMR0EnableAllCpus(PVM pVM, HWACCMSTATE enmNewHwAccmState)
    515515{
    516516    Assert(sizeof(HWACCMR0Globals.enmHwAccmState) == sizeof(uint32_t));
     
    649649 * @param   pVM         The VM to operate on.
    650650 */
    651 HWACCMR0DECL(int) HWACCMR0InitVM(PVM pVM)
     651VMMR0DECL(int) HWACCMR0InitVM(PVM pVM)
    652652{
    653653    AssertReturn(pVM, VERR_INVALID_PARAMETER);
     
    696696 * @param   pVM         The VM to operate on.
    697697 */
    698 HWACCMR0DECL(int) HWACCMR0TermVM(PVM pVM)
     698VMMR0DECL(int) HWACCMR0TermVM(PVM pVM)
    699699{
    700700    AssertReturn(pVM, VERR_INVALID_PARAMETER);
     
    715715 * @param   pVM         The VM to operate on.
    716716 */
    717 HWACCMR0DECL(int) HWACCMR0SetupVM(PVM pVM)
     717VMMR0DECL(int) HWACCMR0SetupVM(PVM pVM)
    718718{
    719719    AssertReturn(pVM, VERR_INVALID_PARAMETER);
     
    734734 * @param   pVM         The VM to operate on.
    735735 */
    736 HWACCMR0DECL(int) HWACCMR0Enter(PVM pVM)
     736VMMR0DECL(int) HWACCMR0Enter(PVM pVM)
    737737{
    738738    CPUMCTX *pCtx;
     
    785785 * @param   pVM         The VM to operate on.
    786786 */
    787 HWACCMR0DECL(int) HWACCMR0Leave(PVM pVM)
     787VMMR0DECL(int) HWACCMR0Leave(PVM pVM)
    788788{
    789789    CPUMCTX *pCtx;
     
    825825 * @param   pVM         The VM to operate on.
    826826 */
    827 HWACCMR0DECL(int) HWACCMR0RunGuestCode(PVM pVM)
     827VMMR0DECL(int) HWACCMR0RunGuestCode(PVM pVM)
    828828{
    829829    CPUMCTX *pCtx;
     
    848848 * @param   pVM         The VM to operate on.
    849849 */
    850 HWACCMR0DECL(PHWACCM_CPUINFO) HWACCMR0GetCurrentCpu()
     850VMMR0DECL(PHWACCM_CPUINFO) HWACCMR0GetCurrentCpu()
    851851{
    852852    RTCPUID  idCpu = RTMpCpuId();
     
    864864 * @param   pszMsg  Message to prepend the log entry with.
    865865 */
    866 HWACCMR0DECL(void) HWACCMR0DumpDescriptor(PX86DESCHC pDesc, RTSEL Sel, const char *pszMsg)
     866VMMR0DECL(void) HWACCMR0DumpDescriptor(PX86DESCHC pDesc, RTSEL Sel, const char *pszMsg)
    867867{
    868868    /*
     
    985985 * @param   pCtx        The context to format.
    986986 */
    987 HWACCMR0DECL(void) HWACCMDumpRegs(PVM pVM, PCPUMCTX pCtx)
     987VMMR0DECL(void) HWACCMDumpRegs(PVM pVM, PCPUMCTX pCtx)
    988988{
    989989    /*
     
    11271127
    11281128/* Dummy callback handlers. */
    1129 HWACCMR0DECL(int) HWACCMR0DummyEnter(PVM pVM, PHWACCM_CPUINFO pCpu)
     1129VMMR0DECL(int) HWACCMR0DummyEnter(PVM pVM, PHWACCM_CPUINFO pCpu)
    11301130{
    11311131    return VINF_SUCCESS;
    11321132}
    11331133
    1134 HWACCMR0DECL(int) HWACCMR0DummyLeave(PVM pVM, PCPUMCTX pCtx)
     1134VMMR0DECL(int) HWACCMR0DummyLeave(PVM pVM, PCPUMCTX pCtx)
    11351135{
    11361136    return VINF_SUCCESS;
    11371137}
    11381138
    1139 HWACCMR0DECL(int) HWACCMR0DummyEnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
     1139VMMR0DECL(int) HWACCMR0DummyEnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
    11401140{
    11411141    return VINF_SUCCESS;
    11421142}
    11431143
    1144 HWACCMR0DECL(int) HWACCMR0DummyDisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
     1144VMMR0DECL(int) HWACCMR0DummyDisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
    11451145{
    11461146    return VINF_SUCCESS;
    11471147}
    11481148
    1149 HWACCMR0DECL(int) HWACCMR0DummyInitVM(PVM pVM)
     1149VMMR0DECL(int) HWACCMR0DummyInitVM(PVM pVM)
    11501150{
    11511151    return VINF_SUCCESS;
    11521152}
    11531153
    1154 HWACCMR0DECL(int) HWACCMR0DummyTermVM(PVM pVM)
     1154VMMR0DECL(int) HWACCMR0DummyTermVM(PVM pVM)
    11551155{
    11561156    return VINF_SUCCESS;
    11571157}
    11581158
    1159 HWACCMR0DECL(int) HWACCMR0DummySetupVM(PVM pVM)
     1159VMMR0DECL(int) HWACCMR0DummySetupVM(PVM pVM)
    11601160{
    11611161    return VINF_SUCCESS;
    11621162}
    11631163
    1164 HWACCMR0DECL(int) HWACCMR0DummyRunGuestCode(PVM pVM, CPUMCTX *pCtx)
     1164VMMR0DECL(int) HWACCMR0DummyRunGuestCode(PVM pVM, CPUMCTX *pCtx)
    11651165{
    11661166    return VINF_SUCCESS;
    11671167}
    11681168
    1169 HWACCMR0DECL(int) HWACCMR0DummySaveHostState(PVM pVM)
     1169VMMR0DECL(int) HWACCMR0DummySaveHostState(PVM pVM)
    11701170{
    11711171    return VINF_SUCCESS;
    11721172}
    11731173
    1174 HWACCMR0DECL(int) HWACCMR0DummyLoadGuestState(PVM pVM, CPUMCTX *pCtx)
     1174VMMR0DECL(int) HWACCMR0DummyLoadGuestState(PVM pVM, CPUMCTX *pCtx)
    11751175{
    11761176    return VINF_SUCCESS;
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r12795 r12989  
    6666 * @param   pPageCpuPhys    Physical address of the global cpu page
    6767 */
    68 HWACCMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
     68VMMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
    6969{
    7070    AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER);
     
    9999 * @param   pPageCpuPhys    Physical address of the global cpu page
    100100 */
    101 HWACCMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
     101VMMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
    102102{
    103103    AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER);
     
    125125 * @param   pVM         The VM to operate on.
    126126 */
    127 HWACCMR0DECL(int) SVMR0InitVM(PVM pVM)
     127VMMR0DECL(int) SVMR0InitVM(PVM pVM)
    128128{
    129129    int rc;
     
    218218 * @param   pVM         The VM to operate on.
    219219 */
    220 HWACCMR0DECL(int) SVMR0TermVM(PVM pVM)
     220VMMR0DECL(int) SVMR0TermVM(PVM pVM)
    221221{
    222222    if (pVM->hwaccm.s.svm.pMemObjVMCB != NIL_RTR0MEMOBJ)
     
    257257 * @param   pVM         The VM to operate on.
    258258 */
    259 HWACCMR0DECL(int) SVMR0SetupVM(PVM pVM)
     259VMMR0DECL(int) SVMR0SetupVM(PVM pVM)
    260260{
    261261    int         rc = VINF_SUCCESS;
     
    525525 * @param   pVM         The VM to operate on.
    526526 */
    527 HWACCMR0DECL(int) SVMR0SaveHostState(PVM pVM)
     527VMMR0DECL(int) SVMR0SaveHostState(PVM pVM)
    528528{
    529529    /* Nothing to do here. */
     
    540540 * @param   pCtx        Guest context
    541541 */
    542 HWACCMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx)
     542VMMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx)
    543543{
    544544    RTGCUINTPTR val;
     
    799799 * @param   pCtx        Guest context
    800800 */
    801 HWACCMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx)
     801VMMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx)
    802802{
    803803    int         rc = VINF_SUCCESS;
     
    20552055 * @param   pCpu        CPU info struct
    20562056 */
    2057 HWACCMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu)
     2057VMMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu)
    20582058{
    20592059    Assert(pVM->hwaccm.s.svm.fSupported);
     
    20762076 * @param   pCtx        CPU context
    20772077 */
    2078 HWACCMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx)
     2078VMMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx)
    20792079{
    20802080    SVM_VMCB *pVMCB = (SVM_VMCB *)pVM->hwaccm.s.svm.pVMCB;
     
    21932193 * @param   GCVirt      Page to invalidate
    21942194 */
    2195 HWACCMR0DECL(int) SVMR0InvalidatePage(PVM pVM, RTGCPTR GCVirt)
     2195VMMR0DECL(int) SVMR0InvalidatePage(PVM pVM, RTGCPTR GCVirt)
    21962196{
    21972197    bool fFlushPending = pVM->hwaccm.s.svm.fAlwaysFlushTLB | pVM->hwaccm.s.svm.fForceTLBFlush;
     
    22252225 * @param   GCPhys      Page to invalidate
    22262226 */
    2227 HWACCMR0DECL(int) SVMR0InvalidatePhysPage(PVM pVM, RTGCPHYS GCPhys)
     2227VMMR0DECL(int) SVMR0InvalidatePhysPage(PVM pVM, RTGCPHYS GCPhys)
    22282228{
    22292229    bool fFlushPending = pVM->hwaccm.s.svm.fAlwaysFlushTLB | pVM->hwaccm.s.svm.fForceTLBFlush;
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.h

    r12756 r12989  
    4949 * @param   pCpu        CPU info struct
    5050 */
    51 HWACCMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu);
     51VMMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu);
    5252
    5353/**
     
    5858 * @param   pCtx        CPU context
    5959 */
    60 HWACCMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx);
     60VMMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx);
    6161
    6262/**
     
    6969 * @param   pPageCpuPhys    Physical address of the global cpu page
    7070 */
    71 HWACCMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
     71VMMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
    7272
    7373/**
     
    7979 * @param   pPageCpuPhys    Physical address of the global cpu page
    8080 */
    81 HWACCMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
     81VMMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
    8282
    8383/**
     
    8787 * @param   pVM         The VM to operate on.
    8888 */
    89 HWACCMR0DECL(int) SVMR0InitVM(PVM pVM);
     89VMMR0DECL(int) SVMR0InitVM(PVM pVM);
    9090
    9191/**
     
    9595 * @param   pVM         The VM to operate on.
    9696 */
    97 HWACCMR0DECL(int) SVMR0TermVM(PVM pVM);
     97VMMR0DECL(int) SVMR0TermVM(PVM pVM);
    9898
    9999/**
     
    103103 * @param   pVM         The VM to operate on.
    104104 */
    105 HWACCMR0DECL(int) SVMR0SetupVM(PVM pVM);
     105VMMR0DECL(int) SVMR0SetupVM(PVM pVM);
    106106
    107107
     
    113113 * @param   pCtx        Guest context
    114114 */
    115 HWACCMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx);
     115VMMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx);
    116116
    117117
     
    122122 * @param   pVM         The VM to operate on.
    123123 */
    124 HWACCMR0DECL(int) SVMR0SaveHostState(PVM pVM);
     124VMMR0DECL(int) SVMR0SaveHostState(PVM pVM);
    125125
    126126/**
     
    131131 * @param   pCtx        Guest context
    132132 */
    133 HWACCMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx);
     133VMMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx);
    134134
    135135
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r12824 r12989  
    7171 * @param   pPageCpuPhys    Physical address of the global cpu page
    7272 */
    73 HWACCMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
     73VMMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
    7474{
    7575    AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER);
     
    112112 * @param   pPageCpuPhys    Physical address of the global cpu page
    113113 */
    114 HWACCMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
     114VMMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)
    115115{
    116116    AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER);
     
    135135 * @param   pVM         The VM to operate on.
    136136 */
    137 HWACCMR0DECL(int) VMXR0InitVM(PVM pVM)
     137VMMR0DECL(int) VMXR0InitVM(PVM pVM)
    138138{
    139139    int rc;
     
    203203 * @param   pVM         The VM to operate on.
    204204 */
    205 HWACCMR0DECL(int) VMXR0TermVM(PVM pVM)
     205VMMR0DECL(int) VMXR0TermVM(PVM pVM)
    206206{
    207207    if (pVM->hwaccm.s.vmx.pMemObjVMCS != NIL_RTR0MEMOBJ)
     
    235235 * @param   pVM         The VM to operate on.
    236236 */
    237 HWACCMR0DECL(int) VMXR0SetupVM(PVM pVM)
     237VMMR0DECL(int) VMXR0SetupVM(PVM pVM)
    238238{
    239239    int rc = VINF_SUCCESS;
     
    476476    if (CPUMIsGuestInRealModeEx(pCtx))
    477477    {
    478         /* Injecting events doesn't work right with real mode emulation. 
     478        /* Injecting events doesn't work right with real mode emulation.
    479479         * (#GP if we try to inject external hardware interrupts)
    480480         * Fake an 'int x' instruction. Note that we need to take special precautions when
     
    637637 * @param   pVM         The VM to operate on.
    638638 */
    639 HWACCMR0DECL(int) VMXR0SaveHostState(PVM pVM)
     639VMMR0DECL(int) VMXR0SaveHostState(PVM pVM)
    640640{
    641641    int rc = VINF_SUCCESS;
     
    749749 * @param   pCtx        Guest context
    750750 */
    751 HWACCMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx)
     751VMMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx)
    752752{
    753753    int         rc = VINF_SUCCESS;
     
    12301230# endif /* HWACCM_VMX_EMULATE_REALMODE */
    12311231    rc = VMXWriteVMCS(VMX_VMCS_CTRL_EXCEPTION_BITMAP, pVM->hwaccm.s.vmx.u32TrapMask);
    1232     AssertRC(rc);   
     1232    AssertRC(rc);
    12331233#endif
    12341234
     
    12461246 * @param   pCtx        Guest context
    12471247 */
    1248 HWACCMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx)
     1248VMMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx)
    12491249{
    12501250    int         rc = VINF_SUCCESS;
     
    26372637 * @param   pCpu        CPU info struct
    26382638 */
    2639 HWACCMR0DECL(int) VMXR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu)
     2639VMMR0DECL(int) VMXR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu)
    26402640{
    26412641    Assert(pVM->hwaccm.s.vmx.fSupported);
     
    26652665 * @param   pCtx        CPU context
    26662666 */
    2667 HWACCMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx)
     2667VMMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx)
    26682668{
    26692669    Assert(pVM->hwaccm.s.vmx.fSupported);
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.h

    r12826 r12989  
    4949 * @param   pCpu        CPU info struct
    5050 */
    51 HWACCMR0DECL(int) VMXR0Enter(PVM pVMm, PHWACCM_CPUINFO pCpu);
     51VMMR0DECL(int) VMXR0Enter(PVM pVMm, PHWACCM_CPUINFO pCpu);
    5252
    5353/**
     
    5858 * @param   pCtx        CPU context
    5959 */
    60 HWACCMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx);
     60VMMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx);
    6161
    6262
     
    7070 * @param   pPageCpuPhys    Physical address of the global cpu page
    7171 */
    72 HWACCMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
     72VMMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
    7373
    7474/**
     
    8080 * @param   pPageCpuPhys    Physical address of the global cpu page
    8181 */
    82 HWACCMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
     82VMMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys);
    8383
    8484/**
     
    8888 * @param   pVM         The VM to operate on.
    8989 */
    90 HWACCMR0DECL(int) VMXR0InitVM(PVM pVM);
     90VMMR0DECL(int) VMXR0InitVM(PVM pVM);
    9191
    9292/**
     
    9696 * @param   pVM         The VM to operate on.
    9797 */
    98 HWACCMR0DECL(int) VMXR0TermVM(PVM pVM);
     98VMMR0DECL(int) VMXR0TermVM(PVM pVM);
    9999
    100100/**
     
    104104 * @param   pVM         The VM to operate on.
    105105 */
    106 HWACCMR0DECL(int) VMXR0SetupVM(PVM pVM);
     106VMMR0DECL(int) VMXR0SetupVM(PVM pVM);
    107107
    108108
     
    113113 * @param   pVM         The VM to operate on.
    114114 */
    115 HWACCMR0DECL(int) VMXR0SaveHostState(PVM pVM);
     115VMMR0DECL(int) VMXR0SaveHostState(PVM pVM);
    116116
    117117/**
     
    122122 * @param   pCtx        Guest context
    123123 */
    124 HWACCMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx);
     124VMMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx);
    125125
    126126
     
    132132 * @param   pCtx        Guest context
    133133 */
    134 HWACCMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx);
     134VMMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx);
    135135
    136136
  • trunk/src/VBox/VMM/VMMR0/PGMR0.cpp

    r10471 r12989  
    5858 * @remarks Must be called from within the PGM critical section.
    5959 */
    60 PGMR0DECL(int) PGMR0PhysAllocateHandyPages(PVM pVM)
     60VMMR0DECL(int) PGMR0PhysAllocateHandyPages(PVM pVM)
    6161{
    6262    return VERR_NOT_IMPLEMENTED;
     
    7474 * @param   pvFault             The fault address.
    7575 */
    76 PGMR0DECL(int) PGMR0Trap0eHandlerNestedPaging(PVM pVM, PGMMODE enmShwPagingMode, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPHYS pvFault)
     76VMMR0DECL(int) PGMR0Trap0eHandlerNestedPaging(PVM pVM, PGMMODE enmShwPagingMode, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPHYS pvFault)
    7777{
    7878    int rc;
     
    128128     * Call the worker.
    129129     *
    130      * We pretend the guest is in protected mode without paging, so we can use existing code to build the 
     130     * We pretend the guest is in protected mode without paging, so we can use existing code to build the
    131131     * nested page tables.
    132132     */
  • trunk/src/VBox/VMM/VMMR0/TRPMR0.cpp

    r9412 r12989  
    4040 * @remark  Must be called with interrupts disabled.
    4141 */
    42 TRPMR0DECL(void) TRPMR0DispatchHostInterrupt(PVM pVM)
     42VMMR0DECL(void) TRPMR0DispatchHostInterrupt(PVM pVM)
    4343{
    4444    RTUINT uActiveVector = pVM->trpm.s.uActiveVector;
     
    115115 * @param   pvRet       Pointer to the return address of VMMR0Entry() on the stack.
    116116 */
    117 TRPMR0DECL(void) TRPMR0SetupInterruptDispatcherFrame(PVM pVM, void *pvRet)
     117VMMR0DECL(void) TRPMR0SetupInterruptDispatcherFrame(PVM pVM, void *pvRet)
    118118{
    119119    RTUINT uActiveVector = pVM->trpm.s.uActiveVector;
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