VirtualBox

Changeset 40769 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 5, 2012 11:49:20 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77270
Message:

HostDrivers/Support: Moved spinlock to DevExt for Mp event race updating the GIP.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r40763 r40769  
    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 */
    214210
    215211    /** Padding / reserved space for future data. */
    216     uint32_t            au32Padding1[HC_ARCH_BITS == 64 ? 26 : 27];
     212    uint32_t            au32Padding1[29];
    217213
    218214    /** Table indexed by the CPU APIC ID to get the CPU table index. */
  • trunk/include/VBox/sup.mac

    r40743 r40769  
    6363    .u16Padding0                resw 1
    6464    .idCpuMax                   resd 1
    65     .au16Padding1               resw 2
    66     .Spinlock                   RTR0PTR_RES 1
    67 %ifndef HC_ARCH_BITS
    68  %error "Missing HC_ARCH_BITS"
    69 %endif
    70 %if HC_ARCH_BITS == 64
    71     .au32Padding1               resd 26
    72 %else
    73     .au32Padding1               resd 27
    74 %endif
     65    .au32Padding1               resd 29
    7566    .aiCpuFromApicId            resw 256
    7667    .aiCpuFromCpuSetIdx         resw 256
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