VirtualBox

Ignore:
Timestamp:
Dec 4, 2024 3:20:14 PM (6 weeks ago)
Author:
vboxsync
Message:

VMM: Cleaning up ARMv8 / x86 split. jiraref:VBP-1470

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3NativeTemplate-linux.cpp.h

    r104840 r107227  
    6666
    6767        CAP_ENTRY__L(KVM_CAP_IRQCHIP),                       /* 0 */
    68 #ifdef VBOX_VMM_TARGET_ARMV8
     68#ifdef VBOX_VMM_TARGET_X86
     69        CAP_ENTRY_ML(KVM_CAP_HLT),
     70#else
    6971        CAP_ENTRY__L(KVM_CAP_HLT),
    70 #else
    71         CAP_ENTRY_ML(KVM_CAP_HLT),
    7272#endif
    7373        CAP_ENTRY__L(KVM_CAP_MMU_SHADOW_CACHE_CONTROL),
     
    120120        CAP_ENTRY__L(KVM_CAP_XEN_HVM),
    121121#endif
    122 #ifdef VBOX_VMM_TARGET_ARMV8
     122#ifdef VBOX_VMM_TARGET_X86
     123        CAP_ENTRY_ML(KVM_CAP_ADJUST_CLOCK),
     124#else
    123125        CAP_ENTRY__L(KVM_CAP_ADJUST_CLOCK),
    124 #else
    125         CAP_ENTRY_ML(KVM_CAP_ADJUST_CLOCK),
    126126#endif
    127127        CAP_ENTRY__L(KVM_CAP_INTERNAL_ERROR_DATA),           /* 40 */
     
    142142        CAP_ENTRY__L(KVM_CAP_DEBUGREGS),                     /* 50 */
    143143#endif
    144 #ifdef VBOX_VMM_TARGET_ARMV8
     144#ifdef VBOX_VMM_TARGET_X86
     145        CAP_ENTRY__S(KVM_CAP_X86_ROBUST_SINGLESTEP, fRobustSingleStep),
     146#else
    145147        CAP_ENTRY__L(KVM_CAP_X86_ROBUST_SINGLESTEP),
    146 #else
    147         CAP_ENTRY__S(KVM_CAP_X86_ROBUST_SINGLESTEP, fRobustSingleStep),
    148148#endif
    149149        CAP_ENTRY__L(KVM_CAP_PPC_OSI),
     
    305305        CAP_ENTRY__L(KVM_CAP_S390_DIAG318),
    306306        CAP_ENTRY__L(KVM_CAP_STEAL_TIME),
    307 #ifdef VBOX_VMM_TARGET_ARMV8
     307#ifdef VBOX_VMM_TARGET_X86
     308        CAP_ENTRY_ML(KVM_CAP_X86_USER_SPACE_MSR),            /* (since 5.10) */
     309        CAP_ENTRY_ML(KVM_CAP_X86_MSR_FILTER),
     310#else
    308311        CAP_ENTRY__L(KVM_CAP_X86_USER_SPACE_MSR),            /* (since 5.10) */
    309312        CAP_ENTRY__L(KVM_CAP_X86_MSR_FILTER),
    310 #else
    311         CAP_ENTRY_ML(KVM_CAP_X86_USER_SPACE_MSR),            /* (since 5.10) */
    312         CAP_ENTRY_ML(KVM_CAP_X86_MSR_FILTER),
    313313#endif
    314314        CAP_ENTRY__L(KVM_CAP_ENFORCE_PV_FEATURE_CPUID),      /* 190 */
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