VirtualBox

Ignore:
Timestamp:
Nov 22, 2013 6:11:29 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90859
Message:

SUPDrv: Added an interface for probing MSRs.

File:
1 edited

Legend:

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

    r47537 r49634  
    943943
    944944
     945#ifdef SUPDRV_WITH_MSR_PROBER
     946
     947int VBOXCALL    supdrvOSMsrProberRead(uint32_t uMsr, RTCPUID idCpu, uint64_t *puValue)
     948{
     949    NOREF(uMsr); NOREF(idCpu); NOREF(puValue);
     950    return VERR_NOT_SUPPORTED;
     951}
     952
     953
     954int VBOXCALL    supdrvOSMsrProberWrite(uint32_t uMsr, RTCPUID idCpu, uint64_t uValue)
     955{
     956    NOREF(uMsr); NOREF(idCpu); NOREF(uValue);
     957    return VERR_NOT_SUPPORTED;
     958}
     959
     960
     961int VBOXCALL    supdrvOSMsrProberModify(RTCPUID idCpu, PSUPMSRPROBER pReq)
     962{
     963    NOREF(idCpu); NOREF(pReq);
     964    return VERR_NOT_SUPPORTED;
     965}
     966
     967#endif /* SUPDRV_WITH_MSR_PROBER */
     968
     969
     970
    945971/**
    946972 * Converts an IPRT error code to a darwin error code.
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