Changeset 32505 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Sep 15, 2010 10:53:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r32504 r32505 1503 1503 * @param pThis The device state. 1504 1504 */ 1505 DECLINLINE(void) a cpiDoFrequencyHinting(APICState *pThis)1505 DECLINLINE(void) apciDoFrequencyHinting(APICState *pThis) 1506 1506 { 1507 1507 if ( pThis->uHintedInitialCount != pThis->initial_count … … 1550 1550 pThis->next_time = pThis->initial_count_load_time + cTicksNext; 1551 1551 pThis->fTimerArmed = true; 1552 a cpiDoFrequencyHinting(pThis);1552 apciDoFrequencyHinting(pThis); 1553 1553 STAM_COUNTER_INC(&pThis->StatTimerSetInitialCountArm); 1554 1554 } … … 1650 1650 pThis->next_time = NextTS; 1651 1651 pThis->fTimerArmed = true; 1652 a cpiDoFrequencyHinting(pThis);1652 apciDoFrequencyHinting(pThis); 1653 1653 break; 1654 1654 } … … 1685 1685 TMTimerSet(pThis->CTX_SUFF(pTimer), pThis->next_time); 1686 1686 pThis->fTimerArmed = true; 1687 a cpiDoFrequencyHinting(pThis);1687 apciDoFrequencyHinting(pThis); 1688 1688 } else { 1689 1689 /* single shot. */ … … 2074 2074 s->fTimerArmed = TMTimerIsActive(s->CTX_SUFF(pTimer)); 2075 2075 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); 2081 2077 #endif 2082 2078 … … 2711 2707 2712 2708 /* load all APICs data */ /** @todo: is it correct? */ 2709 APIC_LOCK(pThis, VERR_INTERNAL_ERROR_3); 2713 2710 foreach_apic(pThis, 0xffffffff, 2714 2711 if (apic_load(pSSM, apic, uVersion)) { 2715 2712 AssertFailed(); 2713 APIC_UNLOCK(pThis); 2716 2714 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; 2717 2715 } 2718 2716 ); 2717 APIC_UNLOCK(pThis); 2719 2718 return VINF_SUCCESS; 2720 2719 }
Note:
See TracChangeset
for help on using the changeset viewer.