VirtualBox

Changeset 1485 in vbox for trunk


Ignore:
Timestamp:
Mar 14, 2007 6:50:17 PM (18 years ago)
Author:
vboxsync
Message:

More build fixes.

Location:
trunk
Files:
2 edited

Legend:

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

    r1480 r1485  
    319319
    320320    /* padding to make gnuc put the StatQemuToGC where msc does. */
    321 /*#if HC_ARCH_BITS == 32
    322     uint32_t            padding0;
    323 #endif*/
     321#if HC_ARCH_BITS == 32
     322    uint32_t            padding0[2];
     323#endif
    324324
    325325    /** Profiling the total time from Qemu to GC. */
  • trunk/src/VBox/VMM/SELM.cpp

    r1480 r1485  
    102102    AssertCompile(sizeof(pVM->selm.s) <= sizeof(pVM->selm.padding));    AssertRelease(sizeof(pVM->selm.s) <= sizeof(pVM->selm.padding));
    103103    AssertCompileMemberAlignment(VM, selm.s, 32);                       AssertRelease(!(RT_OFFSETOF(VM, selm.s) & 31));
    104 #ifndef __AMD64__ /* gcc 4.1.1 doesn't deal correctly with this :/ */
     104#if 0 /* doesn't work */
    105105    AssertCompile((RT_OFFSETOF(VM, selm.s.Tss)       & PAGE_OFFSET_MASK) <= PAGE_SIZE - sizeof(pVM->selm.s.Tss));       
    106106    AssertCompile((RT_OFFSETOF(VM, selm.s.TssTrap08) & PAGE_OFFSET_MASK) <= PAGE_SIZE - sizeof(pVM->selm.s.TssTrap08));
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