VirtualBox

Changeset 92363 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Nov 11, 2021 11:25:18 AM (3 years ago)
Author:
vboxsync
Message:

VMM/include/HMVMXCommon.h: Use IN_NEM_DARWIN instead of IN_RING0 so tstStructVMSize doesn't fail to compile, bugref:10136

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/HMVMXCommon.h

    r92359 r92363  
    328328    /** CR4 guest/host mask. */
    329329    uint64_t                    u64Cr4Mask;
    330 #ifdef IN_RING0
     330#ifndef IN_NEM_DARWIN
    331331    /** Current VMX_VMCS_HOST_RIP value (only used in HMR0A.asm). */
    332332    uint64_t                    uHostRip;
     
    354354    /** @} */
    355355
    356 #ifdef IN_RING0
     356#ifndef IN_NEM_DARWIN
    357357    /** @name Host-physical address of VMCS and related data structures.
    358358     *  @{ */
     
    394394AssertCompileMemberAlignment(VMXVMCSINFO, pvGuestMsrStore, 8);
    395395AssertCompileMemberAlignment(VMXVMCSINFO, pvHostMsrLoad,   8);
    396 #ifdef IN_RING0
     396#ifndef IN_NEM_DARWIN
    397397AssertCompileMemberAlignment(VMXVMCSINFO, HCPhysVmcs,      8);
    398398AssertCompileMemberAlignment(VMXVMCSINFO, hMemObj,         8);
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