VirtualBox

Changeset 55049 in vbox


Ignore:
Timestamp:
Mar 31, 2015 7:01:36 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99338
Message:

build fix

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

Legend:

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

    r55048 r55049  
    385385
    386386    /* padding to get 64byte aligned size */
    387     uint8_t         auPadding[16+12];
     387    uint8_t         auPadding[16+20];
    388388
    389389#elif HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     
    447447    R3PTRTYPE(PX86XSAVEAREA)    pXStateR3;
    448448} CPUMHOSTCTX;
     449AssertCompileSizeAlignment(CPUMHOSTCTX, 64);
    449450/** Pointer to the saved host CPU state. */
    450451typedef CPUMHOSTCTX *PCPUMHOSTCTX;
  • trunk/src/VBox/VMM/include/CPUMInternal.mac

    r55048 r55049  
    332332    .Host.SysEnter.esp   resq    1
    333333    .Host.efer           resq    1
    334     .Host.auPadding      resb    (16+12)
     334    .Host.auPadding      resb    (16+20)
    335335
    336336%else ; 64-bit
  • trunk/src/VBox/VMM/testcase/tstHelp.h

    r47466 r55049  
    3737        if (off != RT_OFFSETOF(type, m)) \
    3838        { \
    39             printf("error! %#010x %s  Off by %d!! (off=%#x)\n", RT_OFFSETOF(type, m), #type "." #m, off - RT_OFFSETOF(type, m), off); \
     39            printf("error! %#010x %s  Off by %d!! (expected off=%#x)\n", \
     40                   RT_OFFSETOF(type, m), #type "." #m, off - RT_OFFSETOF(type, m), off); \
    4041            rc++; \
    4142        } \
     
    5354        if (size != sizeof(type)) \
    5455        { \
    55             printf("error! sizeof(%s): %#x (%d)  Off by %d!!\n", #type, (int)sizeof(type), (int)sizeof(type), (int)(sizeof(type) - size)); \
     56            printf("error! sizeof(%s): %#x (%d)  Off by %d!! (expected %#x)\n", \
     57                   #type, (int)sizeof(type), (int)sizeof(type), (int)(sizeof(type) - size, size)); \
    5658            rc++; \
    5759        } \
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