VirtualBox

Changeset 692 in vbox


Ignore:
Timestamp:
Feb 6, 2007 5:37:22 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18330
Message:

32-bit gcc packs AVLOHCPHYSNODECORE a little bit different, pad it to a multiple of 8 if any 64-bit compilers are involved.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/avl.h

    r449 r692  
    534534    /** Height of this tree: max(height(left), height(right)) + 1 */
    535535    unsigned char       uchHeight;
     536#if HC_ARCH_BITS == 64 || GC_ARCH_BITS == 64
     537    unsigned char       Padding[7]; /**< Alignment padding. */
     538#endif
    536539} AVLOHCPHYSNODECORE, *PAVLOHCPHYSNODECORE;
    537540
  • trunk/src/VBox/VMM/PGMInternal.h

    r686 r692  
    643643    /** AVL node code with the (HC) physical address of this page. */
    644644    AVLOHCPHYSNODECORE  Core;
    645 #if HC_ARCH_BITS == 64 && GC_ARCH_BITS == 32 && defined(IN_GC) && !defined(_MSC_VER) /** @todo figure out this one. */
    646     uint32_t            Alignment0; /**< Alignment. */
    647 #endif
    648645    /** Pointer to the HC mapping of the page. */
    649646    HCPTRTYPE(void *)   pvPageHC;
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