VirtualBox

Changeset 32055 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 27, 2010 3:25:54 PM (14 years ago)
Author:
vboxsync
Message:

Revert r65303 because it breaks Windows builds.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r32046 r32055  
    107107     * Only valid when in RC or HWACCMR0 with scheduling disabled. */
    108108    RTCPUID volatile        idHostCpu;
    109     /** State data for use by ad hoc profiling. */
    110     uint32_t                uAdHoc;
    111     /** Profiling samples for use by ad hoc profiling. */
    112     STAMPROFILEADV          aStatAdHoc[8];
    113 
    114 #if HC_ARCH_BITS == 32
     109
    115110    /** Align the next bit on a 64-byte boundary and make sure it starts at the same
    116111     *  offset in both 64-bit and 32-bit builds.
     
    121116     *          following it (to grow into and align the struct size).
    122117     *   */
    123     uint8_t                 abAlignment1[HC_ARCH_BITS == 32 ? 20 : 0];
    124 #endif
     118    uint8_t                 abAlignment1[HC_ARCH_BITS == 32 ? 24 : 4];
    125119
    126120    /** CPUM part. */
     
    207201
    208202    /** Align the following members on page boundrary. */
    209     uint8_t                 abAlignment2[256];
     203    uint8_t                 abAlignment2[576];
    210204
    211205    /** PGM part. */
     
    474468 * Checks if a force action flag is set for the given VCPU.
    475469 *
    476  * @param   pVCpu   VMCPU Handle.
     470 * @param   pVCpu     VMCPU Handle.
    477471 * @param   fFlag   The flag to check.
    478472 */
    479 #define VMCPU_FF_ISSET(pVCpu, fFlag)        (((pVCpu)->fLocalForcedActions & (fFlag)) == (fFlag))
     473#define VMCPU_FF_ISSET(pVCpu, fFlag)  (((pVCpu)->fLocalForcedActions & (fFlag)) == (fFlag))
    480474
    481475/** @def VM_FF_ISPENDING
  • trunk/include/VBox/vm.mac

    r32046 r32055  
    123123    .hNativeThreadR0        RTR0PTR_RES 1
    124124    .idHostCpu              resd 1
    125     .uAdHoc                 resd 1
    126     .aStatAdHoc             resb STAMPROFILEADV_size * 8
    127125
    128126    alignb 64
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