VirtualBox

Changeset 1283 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Mar 7, 2007 12:02:11 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19236
Message:

Added support for the hybrid darwin setup where the kernel is 32-bit but the cpu *might* be running in 64-bit mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp

    r520 r1283  
    182182    CHECK_CPUMCTXCORE(ss);
    183183
     184#if HC_ARCH_BITS == 32
     185    /* CPUMHOSTCTX - lss pair */
     186    if (RT_OFFSETOF(CPUMHOSTCTX, esp) + 4 != RT_OFFSETOF(CPUMHOSTCTX, ss))
     187    {
     188        printf("error: CPUMHOSTCTX lss has been split up!\n");
     189        rc++;
     190    }
     191#endif
     192
    184193    /* pdm */
    185194    CHECK_MEMBER_ALIGNMENT(PDMDEVINS, achInstanceData, 16);
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