VirtualBox

Changeset 76227 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Dec 14, 2018 10:43:07 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127496
Message:

VMM/HM, SUPDrv: Utilize common function to detect VMX/SVM support. No need to duplicate this code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp

    r76223 r76227  
    203203    { "SUPR0GetPagingMode",                     (void *)(uintptr_t)SUPR0GetPagingMode },
    204204    { "SUPR0GetSvmUsability",                   (void *)(uintptr_t)SUPR0GetSvmUsability },
     205    { "SUPR0GetVTSupport",                      (void *)(uintptr_t)SUPR0GetVTSupport },
    205206    { "SUPR0GetVmxUsability",                   (void *)(uintptr_t)SUPR0GetVmxUsability },
    206207    { "SUPR0GetRawModeUsability",               (void *)(uintptr_t)SUPR0GetRawModeUsability },
     
    41104111SUPR0DECL(int) SUPR0GetVTSupport(uint32_t *pfCaps)
    41114112{
    4112     Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    41134113    Assert(pfCaps);
    41144114    *pfCaps = 0;
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