VirtualBox

Changeset 60309 in vbox for trunk/src


Ignore:
Timestamp:
Apr 4, 2016 4:02:21 PM (9 years ago)
Author:
vboxsync
Message:

VMM: Doxygen fixes for r106369.

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

Legend:

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

    r60307 r60309  
    216216
    217217/**
    218  * Gets the current APIC mode.
    219  *
    220  * @returns The mode.
    221  * @param   pApicCpu        The APIC CPU state.
     218 * Gets the APIC mode given the base MSR value.
     219 *
     220 * @returns The APIC mode.
     221 * @param   uApicBaseMsr        The APIC Base MSR value.
    222222 */
    223223static APICMODE apicGetMode(uint64_t uApicBaseMsr)
     
    337337 *
    338338 * @param   pVCpu           The cross context virtual CPU structure.
     339 * @param   uError          The error.
    339340 * @thread  Any.
    340341 */
     
    350351 *
    351352 * @returns The value of the internal ESR before clearing.
    352  * @param   pApicCpu        The APIC CPU state.
     353 * @param   pVCpu           The cross context virtual CPU structure.
    353354 */
    354355DECLINLINE(uint32_t) apicClearAllErrors(PVMCPU pVCpu)
     
    848849 * @returns Strict VBox status code.
    849850 * @param   pVCpu           The cross context virtual CPU structure.
    850  * @param   uIcrHi          The ICR value.
     851 * @param   u64Icr          The ICR (High and Low combined).
    851852 * @param   rcRZ            The return code if the operation cannot be performed
    852853 *                          in the current context.
    853854 */
    854 static VBOXSTRICTRC apicSetIcr(PVMCPU pVCpu, uint64_t uIcr, int rcRZ)
     855static VBOXSTRICTRC apicSetIcr(PVMCPU pVCpu, uint64_t u64Icr, int rcRZ)
    855856{
    856857    VMCPU_ASSERT_EMT(pVCpu);
     
    858859
    859860    /* Validate. */
    860     uint32_t const uLo = RT_LO_U32(uIcr);
     861    uint32_t const uLo = RT_LO_U32(u64Icr);
    861862    if (RT_LIKELY(!(uLo & ~XAPIC_ICR_LO_WR)))
    862863    {
    863864        /* Update high dword first, then update the low dword which sends the IPI. */
    864865        PX2APICPAGE pX2ApicPage = VMCPU_TO_X2APICPAGE(pVCpu);
    865         pX2ApicPage->icr_hi.u32IcrHi = RT_HI_U32(uIcr);
     866        pX2ApicPage->icr_hi.u32IcrHi = RT_HI_U32(u64Icr);
    866867        return apicSetIcrLo(pVCpu, uLo,  rcRZ);
    867868    }
     
    10311032 * @returns Strict VBox status code.
    10321033 * @param   pVCpu           The cross context virtual CPU structure.
    1033  * @param   uLdr            The DFR value.
     1034 * @param   uDfr            The DFR value.
    10341035 *
    10351036 * @remarks DFR is not available in x2APIC mode.
     
    12661267 *
    12671268 * @param   pApicCpu        The APIC CPU state.
     1269 * @param   uInitialCount   The new initial count.
     1270 * @param   uTimerShift     The new timer shift.
    12681271 * @thread  Any.
    12691272 */
     
    17511754 * @interface_method_impl{PDMAPICREG,pfnSetBaseMsrR3}
    17521755 */
    1753 VMMDECL(VBOXSTRICTRC) APICSetBaseMsr(PPDMDEVINS pDevIns, PVMCPU pVCpu, uint64_t uBase)
     1756VMMDECL(VBOXSTRICTRC) APICSetBaseMsr(PPDMDEVINS pDevIns, PVMCPU pVCpu, uint64_t u64BaseMsr)
    17541757{
    17551758    Assert(pVCpu);
     
    17571760    PAPIC    pApic      = VM_TO_APIC(pVCpu->CTX_SUFF(pVM));
    17581761    APICMODE enmOldMode = apicGetMode(pApicCpu->uApicBaseMsr);
    1759     APICMODE enmNewMode = apicGetMode(uBase);
     1762    APICMODE enmNewMode = apicGetMode(u64BaseMsr);
    17601763    uint64_t uBaseMsr   = pApicCpu->uApicBaseMsr;
    17611764
     
    19151918{
    19161919    NOREF(uPolarity);
     1920    NOREF(uTagSrc);
    19171921    PVM pVM = PDMDevHlpGetVM(pDevIns);
    19181922
  • trunk/src/VBox/VMM/VMMAll/PDMAll.cpp

    r60307 r60309  
    375375 * @returns Strict VBox status code.
    376376 * @param   pVCpu           The cross context virtual CPU structure.
    377  * @param   iCpu            Target CPU.
    378377 * @param   u32Reg          MSR to write.
    379378 * @param   u64Value        Value to write.
     
    396395 * @returns Strict VBox status code.
    397396 * @param   pVCpu           The cross context virtual CPU structure.
    398  * @param   iCpu            Target CPU.
    399397 * @param   u32Reg          MSR to read.
    400  * @param   pu64Value       Value read.
     398 * @param   pu64Value       Where to store the value read.
    401399 */
    402400VMM_INT_DECL(VBOXSTRICTRC) PDMApicReadMsr(PVMCPU pVCpu, uint32_t u32Reg, uint64_t *pu64Value)
  • trunk/src/VBox/VMM/VMMR3/APIC.cpp

    r60307 r60309  
    268268 * Gets the timer mode name.
    269269 *
    270  * @returns The timer mdoe name.
    271  * @param   enmDestShorthand     The destination shorthand.
     270 * @returns The timer mode name.
     271 * @param   enmTimerMode         The timer mode.
    272272 */
    273273static const char *apicGetTimerModeName(XAPICTIMERMODE enmTimerMode)
     
    794794 *
    795795 * @returns The legacy APIC mode.
    796  * @param   enmApicMode       The APIC mode to convert.
     796 * @param   enmMode       The APIC mode to convert.
    797797 */
    798798static PDMAPICMODE apicR3ConvertToLegacyApicMode(APICMODE enmMode)
  • trunk/src/VBox/VMM/include/PDMInternal.h

    r60307 r60309  
    581581    DECLR3CALLBACKMEMBER(VBOXSTRICTRC, pfnReadMsrR3, (PPDMDEVINS pDevIns, PVMCPU pVCpu, uint32_t u32Reg, uint64_t *pu64Value));
    582582    /** @copydoc PDMAPICREG::pfnBusDeliverR3 */
    583     DECLR3CALLBACKMEMBER(int,       pfnBusDeliverR3,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
    584                                                      uint8_t iVector, uint8_t u8Polarity, uint8_t u8TriggerMode, uint32_t uTagSrc));
     583    DECLR3CALLBACKMEMBER(int,       pfnBusDeliverR3,(PPDMDEVINS pDevIns, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode,
     584                                                     uint8_t uVector, uint8_t uPolarity, uint8_t uTriggerMode, uint32_t uTagSrc));
    585585    /** @copydoc PDMAPICREG::pfnLocalInterruptR3 */
    586586    DECLR3CALLBACKMEMBER(VBOXSTRICTRC, pfnLocalInterruptR3,(PPDMDEVINS pDevIns, PVMCPU pVCpu, uint8_t u8Pin, uint8_t u8Level,
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