VirtualBox

Changeset 47845 in vbox


Ignore:
Timestamp:
Aug 19, 2013 2:10:34 PM (11 years ago)
Author:
vboxsync
Message:

CPUM: build fix

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

Legend:

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

    r47844 r47845  
    411411    bool                    fX2Apic;
    412412#else
    413     uint8_t                 abPadding3[8+4+1];
     413    uint8_t                 abPadding3[(HC_ARCH_BITS == 64 ? 8 : 4) + 4 + 1];
    414414#endif
    415415
     
    420420
    421421    /** Align the structure on a 64-byte boundary. */
    422     uint8_t                 abPadding2[64 - 16 - 8 - 4 - 1 - 2];
     422    uint8_t                 abPadding2[64 - 16 - (HC_ARCH_BITS == 64 ? 8 : 4) - 4 - 1 - 2];
    423423} CPUMCPU;
    424424/** Pointer to the CPUMCPU instance data residing in the shared VMCPU structure. */
  • trunk/src/VBox/VMM/include/CPUMInternal.mac

    r47844 r47845  
    437437    .fX2Apic              resb    1
    438438%else
    439     .abPadding3           resb    (8 + 4 + 1)
     439    .abPadding3           resb    (RTR0PTR_CB + 4 + 1)
    440440%endif
    441441
     
    443443    .fRemEntered          resb    1
    444444
    445     .abPadding2           resb    (64 - 16 - 8 - 4 - 1 - 2)
     445    .abPadding2           resb    (64 - 16 - RTR0PTR_CB - 4 - 1 - 2)
    446446endstruc
    447447
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