VirtualBox

Changeset 107118 in vbox


Ignore:
Timestamp:
Nov 22, 2024 11:32:14 AM (8 weeks ago)
Author:
vboxsync
Message:

VMM: bugref:10759 APIC restructure [lin-32 and doxygen]

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmapic.h

    r107117 r107118  
    624624     * @param   pVCpu           The cross context virtual CPU structure.
    625625     */
    626     DECLRGCALLBACKMEMBER(bool, pfnIsEnabled, (PCVMCPUCC pVCpu));
     626    DECLRCCALLBACKMEMBER(bool, pfnIsEnabled, (PCVMCPUCC pVCpu));
    627627
    628628    /**
     
    632632     * @param   pVCpu       The cross context virtual CPU structure.
    633633     */
    634     DECLRGCALLBACKMEMBER(void, pfnInitIpi, (PVMCPUCC pVCpu));
     634    DECLRCCALLBACKMEMBER(void, pfnInitIpi, (PVMCPUCC pVCpu));
    635635
    636636    /**
     
    641641     * @param   pVCpu       The cross context virtual CPU structure.
    642642     */
    643     DECLRGCALLBACKMEMBER(uint64_t, pfnGetBaseMsrNoCheck, (PCVMCPUCC pVCpu));
     643    DECLRCCALLBACKMEMBER(uint64_t, pfnGetBaseMsrNoCheck, (PCVMCPUCC pVCpu));
    644644
    645645    /**
     
    650650     * @param   pu64Value   Where to store the MSR value.
    651651     */
    652     DECLRGCALLBACKMEMBER(VBOXSTRICTRC, pfnGetBaseMsr, (PVMCPUCC pVCpu, uint64_t *pu64Value));
     652    DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnGetBaseMsr, (PVMCPUCC pVCpu, uint64_t *pu64Value));
    653653
    654654    /**
     
    659659     * @param   u64BaseMsr  The value to set.
    660660     */
    661     DECLRGCALLBACKMEMBER(int, pfnSetBaseMsr, (PVMCPUCC pVCpu, uint64_t u64BaseMsr));
     661    DECLRCCALLBACKMEMBER(int, pfnSetBaseMsr, (PVMCPUCC pVCpu, uint64_t u64BaseMsr));
    662662
    663663    /**
     
    668668     * @param   offReg          The offset of the register being read.
    669669     */
    670     DECLRGCALLBACKMEMBER(uint32_t, pfnReadRaw32, (PCVMCPUCC pVCpu, uint16_t offReg));
     670    DECLRCCALLBACKMEMBER(uint32_t, pfnReadRaw32, (PCVMCPUCC pVCpu, uint16_t offReg));
    671671
    672672    /**
     
    678678     * @param   pu64Value       Where to store the read value.
    679679     */
    680     DECLRGCALLBACKMEMBER(VBOXSTRICTRC, pfnReadMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t *pu64Value));
     680    DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnReadMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t *pu64Value));
    681681
    682682    /**
     
    688688     * @param   u64Value        The value to write.
    689689     */
    690     DECLRGCALLBACKMEMBER(VBOXSTRICTRC, pfnWriteMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t u64Value));
     690    DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnWriteMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t u64Value));
    691691
    692692    /**
     
    701701     *                          (optional, can be NULL).
    702702     */
    703     DECLRGCALLBACKMEMBER(int, pfnGetTpr, (PCVMCPUCC pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr));
     703    DECLRCCALLBACKMEMBER(int, pfnGetTpr, (PCVMCPUCC pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr));
    704704
    705705    /**
     
    715715     *                                  write.
    716716     */
    717     DECLRGCALLBACKMEMBER(int, pfnSetTpr, (PVMCPUCC pVCpu, uint8_t u8Tpr, bool fForceX2ApicBehaviour));
     717    DECLRCCALLBACKMEMBER(int, pfnSetTpr, (PVMCPUCC pVCpu, uint8_t u8Tpr, bool fForceX2ApicBehaviour));
    718718
    719719    /**
     
    724724     * @param   pVCpu           The cross context virtual CPU structure.
    725725     */
    726     DECLRGCALLBACKMEMBER(uint64_t, pfnGetIcrNoCheck, (PVMCPUCC pVCpu));
     726    DECLRCCALLBACKMEMBER(uint64_t, pfnGetIcrNoCheck, (PVMCPUCC pVCpu));
    727727
    728728    /**
     
    740740     *          \#GP like a regular x2APIC access.
    741741     */
    742     DECLRGCALLBACKMEMBER(VBOXSTRICTRC, pfnSetIcr, (PVMCPUCC pVCpu, uint64_t uIcr, int rcRZ));
     742    DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnSetIcr, (PVMCPUCC pVCpu, uint64_t uIcr, int rcRZ));
    743743
    744744    /**
     
    749749     * @param   pu64Value       Where to store the timer frequency.
    750750     */
    751     DECLRGCALLBACKMEMBER(int, pfnGetTimerFreq, (PVMCC pVM, uint64_t *pu64Value));
     751    DECLRCCALLBACKMEMBER(int, pfnGetTimerFreq, (PVMCC pVM, uint64_t *pu64Value));
    752752
    753753    /**
     
    763763     * @note    All callers totally ignores the status code!
    764764     */
    765     DECLRGCALLBACKMEMBER(VBOXSTRICTRC, pfnSetLocalInterrupt, (PVMCPUCC pVCpu, uint8_t u8Pin, uint8_t u8Level, int rcRZ));
     765    DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnSetLocalInterrupt, (PVMCPUCC pVCpu, uint8_t u8Pin, uint8_t u8Level, int rcRZ));
    766766
    767767    /**
     
    774774     * @param   puSrcTag    Where to store the interrupt source tag (debugging).
    775775     */
    776     DECLRGCALLBACKMEMBER(int, pfnGetInterrupt, (PVMCPUCC pVCpu, uint8_t *pu8Vector, uint32_t *puTagSrc));
     776    DECLRCCALLBACKMEMBER(int, pfnGetInterrupt, (PVMCPUCC pVCpu, uint8_t *pu8Vector, uint32_t *puTagSrc));
    777777
    778778    /**
     
    794794     * @thread  Any.
    795795     */
    796     DECLRGCALLBACKMEMBER(bool, pfnPostInterrupt, (PVMCPUCC pVCpu, uint8_t uVector, XAPICTRIGGERMODE enmTriggerMode, bool fAutoEoi,
     796    DECLRCCALLBACKMEMBER(bool, pfnPostInterrupt, (PVMCPUCC pVCpu, uint8_t uVector, XAPICTRIGGERMODE enmTriggerMode, bool fAutoEoi,
    797797                                                  uint32_t uSrcTag));
    798798
     
    802802     * @param   pVCpu   The cross context virtual CPU structure.
    803803     */
    804     DECLRGCALLBACKMEMBER(void, pfnUpdatePendingInterrupts, (PVMCPUCC pVCpu));
     804    DECLRCCALLBACKMEMBER(void, pfnUpdatePendingInterrupts, (PVMCPUCC pVCpu));
    805805
    806806    /**
     
    817817     * @param   uSrcTag         The interrupt source tag (debugging).
    818818     */
    819     DECLRGCALLBACKMEMBER(int, pfnBusDeliver, (PVMCC pVM, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode, uint8_t uVector,
     819    DECLRCCALLBACKMEMBER(int, pfnBusDeliver, (PVMCC pVM, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode, uint8_t uVector,
    820820                                              uint8_t uPolarity, uint8_t uTriggerMode, uint32_t uSrcTag));
    821821
     
    829829     *                                  this write.
    830830     */
    831     DECLRGCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi, (PVMCPUCC pVCpu, uint32_t uEoi, bool fForceX2ApicBehaviour));
     831    DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi, (PVMCPUCC pVCpu, uint32_t uEoi, bool fForceX2ApicBehaviour));
    832832
    833833    /** @name Reserved for future (MBZ).
    834834     * @{ */
    835     DECLRGCALLBACKMEMBER(int, pfnReserved0, (void));
    836     DECLRGCALLBACKMEMBER(int, pfnReserved1, (void));
    837     DECLRGCALLBACKMEMBER(int, pfnReserved2, (void));
    838     DECLRGCALLBACKMEMBER(int, pfnReserved3, (void));
    839     DECLRGCALLBACKMEMBER(int, pfnReserved4, (void));
    840     DECLRGCALLBACKMEMBER(int, pfnReserved5, (void));
    841     DECLRGCALLBACKMEMBER(int, pfnReserved6, (void));
    842     DECLRGCALLBACKMEMBER(int, pfnReserved7, (void));
    843     DECLRGCALLBACKMEMBER(int, pfnReserved8, (void));
    844     DECLRGCALLBACKMEMBER(int, pfnReserved9, (void));
    845     DECLRGCALLBACKMEMBER(int, pfnReserved10, (void));
     835    DECLRCCALLBACKMEMBER(int, pfnReserved0, (void));
     836    DECLRCCALLBACKMEMBER(int, pfnReserved1, (void));
     837    DECLRCCALLBACKMEMBER(int, pfnReserved2, (void));
     838    DECLRCCALLBACKMEMBER(int, pfnReserved3, (void));
     839    DECLRCCALLBACKMEMBER(int, pfnReserved4, (void));
     840    DECLRCCALLBACKMEMBER(int, pfnReserved5, (void));
     841    DECLRCCALLBACKMEMBER(int, pfnReserved6, (void));
     842    DECLRCCALLBACKMEMBER(int, pfnReserved7, (void));
     843    DECLRCCALLBACKMEMBER(int, pfnReserved8, (void));
     844    DECLRCCALLBACKMEMBER(int, pfnReserved9, (void));
     845    DECLRCCALLBACKMEMBER(int, pfnReserved10, (void));
    846846    /** @} */
    847847} PDMAPICBACKENDRC;
     
    852852AssertCompileSizeAlignment(PDMAPICBACKENDRC, 8);
    853853AssertCompile(sizeof(PDMAPICBACKENDR3) == sizeof(PDMAPICBACKENDR0));
    854 AssertCompile(sizeof(PDMAPICBACKENDR3) == sizeof(PDMAPICBACKENDRC));
    855854
    856855/** @typedef PDMAPICBACKENDR3
  • trunk/src/VBox/VMM/VMMAll/PDMAllApic.cpp

    r107117 r107118  
    261261 */
    262262VMM_INT_DECL(int) PDMApicBusDeliver(PVMCC pVM, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode, uint8_t uVector,
    263                                     uint8_t uPolarity, uint8_t uTriggerMode, uint32_t uTagSrc)
     263                                    uint8_t uPolarity, uint8_t uTriggerMode, uint32_t uSrcTag)
    264264{
    265265    AssertReturn(PDM_TO_APICBACKEND(pVM)->pfnBusDeliver, VERR_INVALID_POINTER);
    266266    return PDM_TO_APICBACKEND(pVM)->pfnBusDeliver(pVM, uDest, uDestMode, uDeliveryMode, uVector, uPolarity, uTriggerMode,
    267                                                   uTagSrc);
     267                                                  uSrcTag);
    268268}
    269269
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