- Timestamp:
- May 30, 2019 8:54:59 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/apic.h
r76585 r78870 169 169 /* These functions are exported as they are called from external modules (recompiler). */ 170 170 VMMDECL(void) APICUpdatePendingInterrupts(PVMCPU pVCpu); 171 VMMDECL(int) APICGetTpr(P VMCPU pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr);171 VMMDECL(int) APICGetTpr(PCVMCPU pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr); 172 172 VMMDECL(int) APICSetTpr(PVMCPU pVCpu, uint8_t u8Tpr); 173 173 174 174 /* These functions are VMM internal. */ 175 VMM_INT_DECL(bool) APICIsEnabled(P VMCPU pVCpu);175 VMM_INT_DECL(bool) APICIsEnabled(PCVMCPU pVCpu); 176 176 VMM_INT_DECL(bool) APICGetHighestPendingInterrupt(PVMCPU pVCpu, uint8_t *pu8PendingIntr); 177 177 VMM_INT_DECL(bool) APICQueueInterruptToService(PVMCPU pVCpu, uint8_t u8PendingIntr); … … 181 181 VMM_INT_DECL(int) APICGetTimerFreq(PVM pVM, uint64_t *pu64Value); 182 182 VMM_INT_DECL(VBOXSTRICTRC) APICLocalInterrupt(PVMCPU pVCpu, uint8_t u8Pin, uint8_t u8Level, int rcRZ); 183 VMM_INT_DECL(uint64_t) APICGetBaseMsrNoCheck(P VMCPU pVCpu);183 VMM_INT_DECL(uint64_t) APICGetBaseMsrNoCheck(PCVMCPU pVCpu); 184 184 VMM_INT_DECL(VBOXSTRICTRC) APICGetBaseMsr(PVMCPU pVCpu, uint64_t *pu64Value); 185 185 VMM_INT_DECL(int) APICSetBaseMsr(PVMCPU pVCpu, uint64_t u64BaseMsr); … … 187 187 VMM_INT_DECL(int) APICBusDeliver(PVM pVM, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode, uint8_t uVector, 188 188 uint8_t uPolarity, uint8_t uTriggerMode, uint32_t uTagSrc); 189 VMM_INT_DECL(int) APICGetApicPageForCpu(P VMCPU pVCpu, PRTHCPHYS pHCPhys, PRTR0PTR pR0Ptr, PRTR3PTR pR3Ptr,189 VMM_INT_DECL(int) APICGetApicPageForCpu(PCVMCPU pVCpu, PRTHCPHYS pHCPhys, PRTR0PTR pR0Ptr, PRTR3PTR pR3Ptr, 190 190 PRTRCPTR pRCPtr); 191 191 -
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r78208 r78870 409 409 * @param pVCpu The cross context virtual CPU structure. 410 410 */ 411 VMM_INT_DECL(bool) APICIsEnabled(P VMCPU pVCpu)411 VMM_INT_DECL(bool) APICIsEnabled(PCVMCPU pVCpu) 412 412 { 413 413 PCAPICCPU pApicCpu = VMCPU_TO_APICCPU(pVCpu); … … 2485 2485 * @param pVCpu The cross context virtual CPU structure. 2486 2486 */ 2487 VMM_INT_DECL(uint64_t) APICGetBaseMsrNoCheck(P VMCPU pVCpu)2487 VMM_INT_DECL(uint64_t) APICGetBaseMsrNoCheck(PCVMCPU pVCpu) 2488 2488 { 2489 2489 VMCPU_ASSERT_EMT_OR_NOT_RUNNING(pVCpu); … … 2543 2543 * interrupt is pending (optional, can be NULL). 2544 2544 */ 2545 static bool apicGetHighestPendingInterrupt(P VMCPU pVCpu, uint8_t *pu8PendingIntr)2545 static bool apicGetHighestPendingInterrupt(PCVMCPU pVCpu, uint8_t *pu8PendingIntr) 2546 2546 { 2547 2547 PCXAPICPAGE pXApicPage = VMCPU_TO_CXAPICPAGE(pVCpu); … … 2569 2569 * interrupt (optional, can be NULL). 2570 2570 */ 2571 VMMDECL(int) APICGetTpr(P VMCPU pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr)2571 VMMDECL(int) APICGetTpr(PCVMCPU pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr) 2572 2572 { 2573 2573 VMCPU_ASSERT_EMT(pVCpu); … … 3493 3493 * (optional). 3494 3494 */ 3495 VMM_INT_DECL(int) APICGetApicPageForCpu(P VMCPU pVCpu, PRTHCPHYS pHCPhys, PRTR0PTR pR0Ptr, PRTR3PTR pR3Ptr, PRTRCPTR pRCPtr)3495 VMM_INT_DECL(int) APICGetApicPageForCpu(PCVMCPU pVCpu, PRTHCPHYS pHCPhys, PRTR0PTR pR0Ptr, PRTR3PTR pR3Ptr, PRTRCPTR pRCPtr) 3496 3496 { 3497 3497 AssertReturn(pVCpu, VERR_INVALID_PARAMETER);
Note:
See TracChangeset
for help on using the changeset viewer.