VirtualBox

Changeset 40740 in vbox for trunk/include/VBox/sup.h


Ignore:
Timestamp:
Apr 2, 2012 11:54:41 AM (13 years ago)
Author:
vboxsync
Message:

SUPDrv: Update GIP data behind a spinlock for online/offline race conditions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r40667 r40740  
    208208    /** The max CPU ID (RTMpGetMaxCpuId). */
    209209    RTCPUID             idCpuMax;
     210    /** Padding to 8 byte alignment. */
     211    uint16_t            au16Padding1[2];
     212    /** Spinlock protecting the GIP array members. */
     213    RTSPINLOCK          Spinlock;                       /* 144 */
    210214
    211215    /** Padding / reserved space for future data. */
    212     uint32_t            au32Padding1[29];
     216    uint32_t            au32Padding1[26];
    213217
    214218    /** Table indexed by the CPU APIC ID to get the CPU table index. */
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