VirtualBox

Changeset 34322 in vbox for trunk


Ignore:
Timestamp:
Nov 24, 2010 1:36:24 PM (14 years ago)
Author:
vboxsync
Message:

VMM: Changed a bunch of VMMR3DECLs to VMMR3_INT_DECL.

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

Legend:

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

    r34320 r34322  
    121121 * @param   pVM         The VM to operate on.
    122122 */
    123 VMMR3DECL(int) VMMR3Init(PVM pVM)
     123VMMR3_INT_DECL(int) VMMR3Init(PVM pVM)
    124124{
    125125    LogFlow(("VMMR3Init\n"));
     
    465465 * @param   pVM         The VM to operate on.
    466466 */
    467 VMMR3DECL(int) VMMR3InitR0(PVM pVM)
     467VMMR3_INT_DECL(int) VMMR3InitR0(PVM pVM)
    468468{
    469469    int    rc;
     
    527527 * @param   pVM         The VM to operate on.
    528528 */
    529 VMMR3DECL(int) VMMR3InitRC(PVM pVM)
     529VMMR3_INT_DECL(int) VMMR3InitRC(PVM pVM)
    530530{
    531531    PVMCPU pVCpu = VMMGetCpu(pVM);
     
    689689 * @param   pVM         The VM handle.
    690690 */
    691 VMMR3DECL(int) VMMR3Term(PVM pVM)
     691VMMR3_INT_DECL(int) VMMR3Term(PVM pVM)
    692692{
    693693    PVMCPU pVCpu = VMMGetCpu(pVM);
     
    771771 * @param   pVM         The VM to operate on.
    772772 */
    773 VMMR3DECL(int) VMMR3TermCPU(PVM pVM)
     773VMMR3_INT_DECL(int) VMMR3TermCPU(PVM pVM)
    774774{
    775775    return VINF_SUCCESS;
     
    787787 * @param   offDelta    The relocation delta.
    788788 */
    789 VMMR3DECL(void) VMMR3Relocate(PVM pVM, RTGCINTPTR offDelta)
     789VMMR3_INT_DECL(void) VMMR3Relocate(PVM pVM, RTGCINTPTR offDelta)
    790790{
    791791    LogFlow(("VMMR3Relocate: offDelta=%RGv\n", offDelta));
     
    838838 * @param   pVM     The VM handle.
    839839 */
    840 VMMR3DECL(int) VMMR3UpdateLoggers(PVM pVM)
     840VMMR3_INT_DECL(int) VMMR3UpdateLoggers(PVM pVM)
    841841{
    842842    /*
     
    10751075 * @remark  This has to work before VMMR3Relocate() is called.
    10761076 */
    1077 VMMR3DECL(int) VMMR3GetImportRC(PVM pVM, const char *pszSymbol, PRTRCPTR pRCPtrValue)
     1077VMMR3_INT_DECL(int) VMMR3GetImportRC(PVM pVM, const char *pszSymbol, PRTRCPTR pRCPtrValue)
    10781078{
    10791079    if (!strcmp(pszSymbol, "g_Logger"))
     
    11041104 * @param   pVM             The VM handle.
    11051105 */
    1106 VMMR3DECL(void) VMMR3YieldSuspend(PVM pVM)
     1106VMMR3_INT_DECL(void) VMMR3YieldSuspend(PVM pVM)
    11071107{
    11081108    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
     
    11261126 * @param   pVM             The VM handle.
    11271127 */
    1128 VMMR3DECL(void) VMMR3YieldStop(PVM pVM)
     1128VMMR3_INT_DECL(void) VMMR3YieldStop(PVM pVM)
    11291129{
    11301130    if (!pVM->vmm.s.cYieldResumeMillies)
     
    11401140 * @param   pVM             The VM handle.
    11411141 */
    1142 VMMR3DECL(void) VMMR3YieldResume(PVM pVM)
     1142VMMR3_INT_DECL(void) VMMR3YieldResume(PVM pVM)
    11431143{
    11441144    if (pVM->vmm.s.cYieldResumeMillies)
     
    11961196 * @param   pVCpu       The VMCPU to operate on.
    11971197 */
    1198 VMMR3DECL(int) VMMR3RawRunGC(PVM pVM, PVMCPU pVCpu)
     1198VMMR3_INT_DECL(int) VMMR3RawRunGC(PVM pVM, PVMCPU pVCpu)
    11991199{
    12001200    Log2(("VMMR3RawRunGC: (cs:eip=%04x:%08x)\n", CPUMGetGuestCS(pVCpu), CPUMGetGuestEIP(pVCpu)));
     
    12651265 * @param   pVCpu       The VMCPU to operate on.
    12661266 */
    1267 VMMR3DECL(int) VMMR3HwAccRunGC(PVM pVM, PVMCPU pVCpu)
     1267VMMR3_INT_DECL(int) VMMR3HwAccRunGC(PVM pVM, PVMCPU pVCpu)
    12681268{
    12691269    Log2(("VMMR3HwAccRunGC: (cs:eip=%04x:%08x)\n", CPUMGetGuestCS(pVCpu), CPUMGetGuestEIP(pVCpu)));
     
    13621362 * @param   uVector     SIPI vector
    13631363 */
    1364 VMMR3DECL(void) VMMR3SendSipi(PVM pVM, VMCPUID idCpu,  uint32_t uVector)
     1364VMMR3_INT_DECL(void) VMMR3SendSipi(PVM pVM, VMCPUID idCpu,  uint32_t uVector)
    13651365{
    13661366    AssertReturnVoid(idCpu < pVM->cCpus);
     
    13761376 * @param   idCpu       Virtual CPU to perform int IPI on
    13771377 */
    1378 VMMR3DECL(void) VMMR3SendInitIpi(PVM pVM, VMCPUID idCpu)
     1378VMMR3_INT_DECL(void) VMMR3SendInitIpi(PVM pVM, VMCPUID idCpu)
    13791379{
    13801380    AssertReturnVoid(idCpu < pVM->cCpus);
     
    14411441 * @param   pvUser      User specified parameter
    14421442 *
    1443  * @thread EMT
     1443 * @thread  EMT
     1444 * @todo    Remove this if not used again soon.
    14441445 */
    14451446VMMR3DECL(int) VMMR3AtomicExecuteHandler(PVM pVM, PFNATOMICHANDLER pfnHandler, void *pvUser)
     
    16821683 * @thread  EMT
    16831684 */
    1684 VMMR3DECL(int) VMMR3EmtRendezvousFF(PVM pVM, PVMCPU pVCpu)
     1685VMMR3_INT_DECL(int) VMMR3EmtRendezvousFF(PVM pVM, PVMCPU pVCpu)
    16851686{
    16861687    return vmmR3EmtRendezvousCommon(pVM, pVCpu, false /* fIsCaller */, pVM->vmm.s.fRendezvousFlags,
     
    18341835 * @param   cbRead          The number of bytes to read.
    18351836 */
    1836 VMMR3DECL(int) VMMR3ReadR0Stack(PVM pVM, VMCPUID idCpu, RTHCUINTPTR R0Addr, void *pvBuf, size_t cbRead)
     1837VMMR3_INT_DECL(int) VMMR3ReadR0Stack(PVM pVM, VMCPUID idCpu, RTHCUINTPTR R0Addr, void *pvBuf, size_t cbRead)
    18371838{
    18381839    PVMCPU pVCpu = VMMGetCpuById(pVM, idCpu);
  • trunk/src/VBox/VMM/VMMSwitcher.cpp

    r33540 r34322  
    938938 * @remark  This function may be called before the VMM is initialized.
    939939 */
    940 VMMR3DECL(int) VMMR3SelectSwitcher(PVM pVM, VMMSWITCHER enmSwitcher)
     940VMMR3_INT_DECL(int) VMMR3SelectSwitcher(PVM pVM, VMMSWITCHER enmSwitcher)
    941941{
    942942    /*
     
    985985 * @param   pVM             VM handle.
    986986 */
    987 VMMR3DECL(int) VMMR3DisableSwitcher(PVM pVM)
     987VMMR3_INT_DECL(int) VMMR3DisableSwitcher(PVM pVM)
    988988{
    989989/** @todo r=bird: I would suggest that we create a dummy switcher which just does something like:
     
    10061006 * @param   enmSwitcher     The new switcher.
    10071007 */
    1008 VMMR3DECL(RTR0PTR) VMMR3GetHostToGuestSwitcher(PVM pVM, VMMSWITCHER enmSwitcher)
     1008VMMR3_INT_DECL(RTR0PTR) VMMR3GetHostToGuestSwitcher(PVM pVM, VMMSWITCHER enmSwitcher)
    10091009{
    10101010    /*
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