VirtualBox

忽略:
時間撮記:
2015-8-18 下午05:33:53 (9 年 以前)
作者:
vboxsync
訊息:

VMM: Removing VBOX_WITH_HYBRID_32BIT_KERNEL and other 32-bit darwin fun.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r55466 r57446  
    111111#define CPUM_USE_SUPPORTS_LONGMODE      RT_BIT(20)
    112112/** @} */
    113 
    114 /* Sanity check. */
    115 #ifndef VBOX_FOR_DTRACE_LIB
    116 #if defined(VBOX_WITH_HYBRID_32BIT_KERNEL) && (HC_ARCH_BITS != 32 || R0_ARCH_BITS != 32)
    117 # error "VBOX_WITH_HYBRID_32BIT_KERNEL is only for 32 bit builds."
    118 #endif
    119 #endif
    120113
    121114
     
    202195/**
    203196 * The saved host CPU state.
    204  *
    205  * @remark  The special VBOX_WITH_HYBRID_32BIT_KERNEL checks here are for the 10.4.x series
    206  *          of Mac OS X where the OS is essentially 32-bit but the cpu mode can be 64-bit.
    207197 */
    208198typedef struct CPUMHOSTCTX
     
    210200    /** General purpose register, selectors, flags and more
    211201     * @{ */
    212 #if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     202#if HC_ARCH_BITS == 64
    213203    /** General purpose register ++
    214204     * { */
     
    264254    /** @} */
    265255
    266 #if HC_ARCH_BITS == 32 && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     256#if HC_ARCH_BITS == 32
    267257    /** Control registers.
    268258     * @{ */
     
    309299    uint8_t         auPadding[20];
    310300
    311 #elif HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     301#elif HC_ARCH_BITS == 64
    312302
    313303    /** Control registers.
     
    352342
    353343    /* padding to get 32byte aligned size */
    354 # ifdef VBOX_WITH_HYBRID_32BIT_KERNEL
    355     uint8_t         auPadding[52];
    356 # else
    357344    uint8_t         auPadding[4];
    358 # endif
    359345
    360346#else
    361 # error HC_ARCH_BITS not defined
     347# error HC_ARCH_BITS not defined or unsupported
    362348#endif
    363349
     
    558544DECLASM(void)       cpumR0SetMXCSR(uint32_t u32MXCSR);
    559545DECLASM(uint32_t)   cpumR0GetMXCSR(void);
    560 DECLASM(void)       cpumR0LoadDRx(uint64_t const *pa4Regs);
    561 DECLASM(void)       cpumR0SaveDRx(uint64_t *pa4Regs);
    562546#endif
    563547
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette