VirtualBox

Changeset 1284 in vbox


Ignore:
Timestamp:
Mar 7, 2007 2:21:14 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19237
Message:

hmm. weird.

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

Legend:

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

    r1283 r1284  
    7676/** @} */
    7777
     78/* Sanity check. */
     79#if defined(VBOX_WITH_HYBIRD_32BIT_KERNEL) && (HC_ARCH_BITS != 32 || R0_ARCH_BITS != 32)
     80# error "VBOX_WITH_HYBIRD_32BIT_KERNEL is only for 32 bit builds."
     81#endif
     82
    7883
    7984/**
    8085 * The save host CPU state.
    81  * 
    82  * @remark  The special VBOX_WITH_HYBIRD_32BIT_KERNEL checks here are for the 10.4.x series 
     86 *
     87 * @remark  The special VBOX_WITH_HYBIRD_32BIT_KERNEL checks here are for the 10.4.x series
    8388 *          of Mac OS X where the OS is essentially 32-bit but the cpu mode can be 64-bit.
    8489 */
     
    112117    //uint64_t        rip; - scratch
    113118    uint64_t        rflags;
    114 #endif 
     119#endif
    115120
    116121#if HC_ARCH_BITS == 32
     
    231236    uint8_t         auPadding[16];
    232237# else
    233     uint8_t         auPadding[24];
     238    uint8_t         auPadding[8];
    234239# endif
    235240
    236241#else
    237242# error HC_ARCH_BITS not defined
    238 #endif 
     243#endif
    239244} CPUMHOSTCTX, *PCPUMHOSTCTX;
    240245
  • trunk/src/VBox/VMM/CPUMInternal.mac

    r1283 r1284  
    4141%define FPUSTATE_SIZE           512
    4242
    43 ;; if anyone figures how to do %if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBIRD_32BIT_KERNEL) in 
     43;; if anyone figures how to do %if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBIRD_32BIT_KERNEL) in
    4444; nasm please tell / fix this hack.
    4545%ifdef VBOX_WITH_HYBIRD_32BIT_KERNEL
     
    166166%endif ; 64-bit
    167167
    168     ; padding
    169     ;.Host.padding            resd    0
    170 
    171168
    172169    ;
     
    174171    ; (Identical to .Host.*)
    175172    ;
    176     alignb 32
     173    alignb 32                           ; the padding
    177174    .Hyper.fpu            resb    512
    178175
  • trunk/src/VBox/VMM/testcase/Makefile

    r1279 r1284  
    244244# alias for the two struct tests.
    245245run-struct-tests: $(PATH_TARGET)/tstAsmStructs.run $(PATH_TARGET)/tstVMStructSize.run
    246 run-asm-tests: $(PATH_TARGET)/tstAsmStructs.run
    247         $(ECHO) $<
    248 
     246
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