VirtualBox

Changeset 32505 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Sep 15, 2010 10:53:55 AM (14 years ago)
Author:
vboxsync
Message:

DevAPIC: build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevAPIC.cpp

    r32504 r32505  
    15031503 * @param   pThis               The device state.
    15041504 */
    1505 DECLINLINE(void) acpiDoFrequencyHinting(APICState *pThis)
     1505DECLINLINE(void) apciDoFrequencyHinting(APICState *pThis)
    15061506{
    15071507    if (   pThis->uHintedInitialCount != pThis->initial_count
     
    15501550        pThis->next_time = pThis->initial_count_load_time + cTicksNext;
    15511551        pThis->fTimerArmed = true;
    1552         acpiDoFrequencyHinting(pThis);
     1552        apciDoFrequencyHinting(pThis);
    15531553        STAM_COUNTER_INC(&pThis->StatTimerSetInitialCountArm);
    15541554    }
     
    16501650                    pThis->next_time = NextTS;
    16511651                    pThis->fTimerArmed = true;
    1652                     acpiDoFrequencyHinting(pThis);
     1652                    apciDoFrequencyHinting(pThis);
    16531653                    break;
    16541654                }
     
    16851685            TMTimerSet(pThis->CTX_SUFF(pTimer), pThis->next_time);
    16861686            pThis->fTimerArmed = true;
    1687             acpiDoFrequencyHinting(pThis);
     1687            apciDoFrequencyHinting(pThis);
    16881688        } else {
    16891689            /* single shot. */
     
    20742074    s->fTimerArmed = TMTimerIsActive(s->CTX_SUFF(pTimer));
    20752075    if (s->fTimerArmed)
    2076     {
    2077         PDMCritSectEnter(pThis->CTX_SUFF(pCritSect), VERR_SEM_BUSY);
    2078         acpiDoFrequencyHinting(s);
    2079         PDMCritSectLeave(pThis->CTX_SUFF(pCritSect));
    2080     }
     2076        apciDoFrequencyHinting(s);
    20812077#endif
    20822078
     
    27112707
    27122708    /* load all APICs data */ /** @todo: is it correct? */
     2709    APIC_LOCK(pThis, VERR_INTERNAL_ERROR_3);
    27132710    foreach_apic(pThis, 0xffffffff,
    27142711                 if (apic_load(pSSM, apic, uVersion)) {
    27152712                      AssertFailed();
     2713                      APIC_UNLOCK(pThis);
    27162714                      return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION;
    27172715                 }
    27182716                 );
     2717    APIC_UNLOCK(pThis);
    27192718    return VINF_SUCCESS;
    27202719}
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