VirtualBox

Changeset 82037 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 20, 2019 4:57:29 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134841
Message:

APIC: Remove unused critical section APICCPU::TimerCritSect. The code seems to be using whatever is associated with APICCPU::hTimer. TimerCritSect wasn't even initialized bugref:9218

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/APICInternal.h

    r82036 r82037  
    12881288    /** The timer. */
    12891289    TMTIMERHANDLE               hTimer;
    1290     /** The time stamp when the timer was initialized. */
     1290    /** The time stamp when the timer was initialized.
     1291     * @note Access protected by the timer critsect.  */
    12911292    uint64_t                    u64TimerInitial;
    12921293    /** Cache of timer initial count of the frequency hint to TM. */
     
    12941295    /** Cache of timer shift of the frequency hint to TM. */
    12951296    uint32_t                    uHintedTimerShift;
    1296     /** The timer critical sect protecting @a u64TimerInitial  */
    1297     PDMCRITSECT                 TimerCritSect;
    12981297    /** The timer description. */
    1299     char                        szTimerDesc[32];
     1298    char                        szTimerDesc[16];
    13001299    /** @} */
    13011300
  • trunk/src/VBox/VMM/testcase/tstVMStruct.h

    r82036 r82037  
    14071407    GEN_CHECK_OFF(APICCPU, ApicPibLevel);
    14081408    GEN_CHECK_OFF(APICCPU, hTimer);
    1409     GEN_CHECK_OFF(APICCPU, TimerCritSect);
    14101409
    14111410    GEN_CHECK_SIZE(VM);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette