VirtualBox

Changeset 87764 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Feb 15, 2021 11:49:16 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142818
Message:

VMM/TM: Experimenting with changing the signature of TMTimerFromMilli. Work in progress. bugref:9943

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PDMR0DevHlp.cpp

    r87760 r87764  
    423423}
    424424
    425 
    426425/** @interface_method_impl{PDMDEVHLPR0,pfnTimerFromMicro} */
    427426static DECLCALLBACK(uint64_t) pdmR0DevHlp_TimerFromMicro(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, uint64_t cMicroSecs)
     
    434433static DECLCALLBACK(uint64_t) pdmR0DevHlp_TimerFromMilli(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, uint64_t cMilliSecs)
    435434{
    436     return TMTimerFromMilli(pdmR0DevHlp_TimerToPtr(pDevIns, hTimer), cMilliSecs);
     435    PDMDEV_ASSERT_DEVINS(pDevIns);
     436    return TMTimerFromMilli(pDevIns->Internal.s.pGVM, pdmR0DevHlp_TimerToPtr(pDevIns, hTimer), cMilliSecs);
    437437}
    438438
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