- Timestamp:
- Nov 24, 2010 1:36:24 PM (14 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMM.cpp
r34320 r34322 121 121 * @param pVM The VM to operate on. 122 122 */ 123 VMMR3 DECL(int) VMMR3Init(PVM pVM)123 VMMR3_INT_DECL(int) VMMR3Init(PVM pVM) 124 124 { 125 125 LogFlow(("VMMR3Init\n")); … … 465 465 * @param pVM The VM to operate on. 466 466 */ 467 VMMR3 DECL(int) VMMR3InitR0(PVM pVM)467 VMMR3_INT_DECL(int) VMMR3InitR0(PVM pVM) 468 468 { 469 469 int rc; … … 527 527 * @param pVM The VM to operate on. 528 528 */ 529 VMMR3 DECL(int) VMMR3InitRC(PVM pVM)529 VMMR3_INT_DECL(int) VMMR3InitRC(PVM pVM) 530 530 { 531 531 PVMCPU pVCpu = VMMGetCpu(pVM); … … 689 689 * @param pVM The VM handle. 690 690 */ 691 VMMR3 DECL(int) VMMR3Term(PVM pVM)691 VMMR3_INT_DECL(int) VMMR3Term(PVM pVM) 692 692 { 693 693 PVMCPU pVCpu = VMMGetCpu(pVM); … … 771 771 * @param pVM The VM to operate on. 772 772 */ 773 VMMR3 DECL(int) VMMR3TermCPU(PVM pVM)773 VMMR3_INT_DECL(int) VMMR3TermCPU(PVM pVM) 774 774 { 775 775 return VINF_SUCCESS; … … 787 787 * @param offDelta The relocation delta. 788 788 */ 789 VMMR3 DECL(void) VMMR3Relocate(PVM pVM, RTGCINTPTR offDelta)789 VMMR3_INT_DECL(void) VMMR3Relocate(PVM pVM, RTGCINTPTR offDelta) 790 790 { 791 791 LogFlow(("VMMR3Relocate: offDelta=%RGv\n", offDelta)); … … 838 838 * @param pVM The VM handle. 839 839 */ 840 VMMR3 DECL(int)VMMR3UpdateLoggers(PVM pVM)840 VMMR3_INT_DECL(int) VMMR3UpdateLoggers(PVM pVM) 841 841 { 842 842 /* … … 1075 1075 * @remark This has to work before VMMR3Relocate() is called. 1076 1076 */ 1077 VMMR3 DECL(int) VMMR3GetImportRC(PVM pVM, const char *pszSymbol, PRTRCPTR pRCPtrValue)1077 VMMR3_INT_DECL(int) VMMR3GetImportRC(PVM pVM, const char *pszSymbol, PRTRCPTR pRCPtrValue) 1078 1078 { 1079 1079 if (!strcmp(pszSymbol, "g_Logger")) … … 1104 1104 * @param pVM The VM handle. 1105 1105 */ 1106 VMMR3 DECL(void) VMMR3YieldSuspend(PVM pVM)1106 VMMR3_INT_DECL(void) VMMR3YieldSuspend(PVM pVM) 1107 1107 { 1108 1108 VMCPU_ASSERT_EMT(&pVM->aCpus[0]); … … 1126 1126 * @param pVM The VM handle. 1127 1127 */ 1128 VMMR3 DECL(void) VMMR3YieldStop(PVM pVM)1128 VMMR3_INT_DECL(void) VMMR3YieldStop(PVM pVM) 1129 1129 { 1130 1130 if (!pVM->vmm.s.cYieldResumeMillies) … … 1140 1140 * @param pVM The VM handle. 1141 1141 */ 1142 VMMR3 DECL(void) VMMR3YieldResume(PVM pVM)1142 VMMR3_INT_DECL(void) VMMR3YieldResume(PVM pVM) 1143 1143 { 1144 1144 if (pVM->vmm.s.cYieldResumeMillies) … … 1196 1196 * @param pVCpu The VMCPU to operate on. 1197 1197 */ 1198 VMMR3 DECL(int) VMMR3RawRunGC(PVM pVM, PVMCPU pVCpu)1198 VMMR3_INT_DECL(int) VMMR3RawRunGC(PVM pVM, PVMCPU pVCpu) 1199 1199 { 1200 1200 Log2(("VMMR3RawRunGC: (cs:eip=%04x:%08x)\n", CPUMGetGuestCS(pVCpu), CPUMGetGuestEIP(pVCpu))); … … 1265 1265 * @param pVCpu The VMCPU to operate on. 1266 1266 */ 1267 VMMR3 DECL(int) VMMR3HwAccRunGC(PVM pVM, PVMCPU pVCpu)1267 VMMR3_INT_DECL(int) VMMR3HwAccRunGC(PVM pVM, PVMCPU pVCpu) 1268 1268 { 1269 1269 Log2(("VMMR3HwAccRunGC: (cs:eip=%04x:%08x)\n", CPUMGetGuestCS(pVCpu), CPUMGetGuestEIP(pVCpu))); … … 1362 1362 * @param uVector SIPI vector 1363 1363 */ 1364 VMMR3 DECL(void) VMMR3SendSipi(PVM pVM, VMCPUID idCpu, uint32_t uVector)1364 VMMR3_INT_DECL(void) VMMR3SendSipi(PVM pVM, VMCPUID idCpu, uint32_t uVector) 1365 1365 { 1366 1366 AssertReturnVoid(idCpu < pVM->cCpus); … … 1376 1376 * @param idCpu Virtual CPU to perform int IPI on 1377 1377 */ 1378 VMMR3 DECL(void) VMMR3SendInitIpi(PVM pVM, VMCPUID idCpu)1378 VMMR3_INT_DECL(void) VMMR3SendInitIpi(PVM pVM, VMCPUID idCpu) 1379 1379 { 1380 1380 AssertReturnVoid(idCpu < pVM->cCpus); … … 1441 1441 * @param pvUser User specified parameter 1442 1442 * 1443 * @thread EMT 1443 * @thread EMT 1444 * @todo Remove this if not used again soon. 1444 1445 */ 1445 1446 VMMR3DECL(int) VMMR3AtomicExecuteHandler(PVM pVM, PFNATOMICHANDLER pfnHandler, void *pvUser) … … 1682 1683 * @thread EMT 1683 1684 */ 1684 VMMR3 DECL(int) VMMR3EmtRendezvousFF(PVM pVM, PVMCPU pVCpu)1685 VMMR3_INT_DECL(int) VMMR3EmtRendezvousFF(PVM pVM, PVMCPU pVCpu) 1685 1686 { 1686 1687 return vmmR3EmtRendezvousCommon(pVM, pVCpu, false /* fIsCaller */, pVM->vmm.s.fRendezvousFlags, … … 1834 1835 * @param cbRead The number of bytes to read. 1835 1836 */ 1836 VMMR3 DECL(int) VMMR3ReadR0Stack(PVM pVM, VMCPUID idCpu, RTHCUINTPTR R0Addr, void *pvBuf, size_t cbRead)1837 VMMR3_INT_DECL(int) VMMR3ReadR0Stack(PVM pVM, VMCPUID idCpu, RTHCUINTPTR R0Addr, void *pvBuf, size_t cbRead) 1837 1838 { 1838 1839 PVMCPU pVCpu = VMMGetCpuById(pVM, idCpu); -
trunk/src/VBox/VMM/VMMSwitcher.cpp
r33540 r34322 938 938 * @remark This function may be called before the VMM is initialized. 939 939 */ 940 VMMR3 DECL(int) VMMR3SelectSwitcher(PVM pVM, VMMSWITCHER enmSwitcher)940 VMMR3_INT_DECL(int) VMMR3SelectSwitcher(PVM pVM, VMMSWITCHER enmSwitcher) 941 941 { 942 942 /* … … 985 985 * @param pVM VM handle. 986 986 */ 987 VMMR3 DECL(int) VMMR3DisableSwitcher(PVM pVM)987 VMMR3_INT_DECL(int) VMMR3DisableSwitcher(PVM pVM) 988 988 { 989 989 /** @todo r=bird: I would suggest that we create a dummy switcher which just does something like: … … 1006 1006 * @param enmSwitcher The new switcher. 1007 1007 */ 1008 VMMR3 DECL(RTR0PTR) VMMR3GetHostToGuestSwitcher(PVM pVM, VMMSWITCHER enmSwitcher)1008 VMMR3_INT_DECL(RTR0PTR) VMMR3GetHostToGuestSwitcher(PVM pVM, VMMSWITCHER enmSwitcher) 1009 1009 { 1010 1010 /*
Note:
See TracChangeset
for help on using the changeset viewer.