VirtualBox

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


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/VMMAll/TMAll.cpp

    r87760 r87764  
    25342534 *
    25352535 * @returns timer clock ticks.
     2536 * @param   pVM             The cross context VM structure.
    25362537 * @param   pTimer          Timer handle as returned by one of the create functions.
    25372538 * @param   cMilliSecs      The millisecond value ticks to convert.
    25382539 * @remark  There could be rounding and overflow errors here.
    25392540 */
    2540 VMMDECL(uint64_t) TMTimerFromMilli(PTMTIMER pTimer, uint64_t cMilliSecs)
    2541 {
     2541VMMDECL(uint64_t) TMTimerFromMilli(PVMCC pVM, PTMTIMER pTimer, uint64_t cMilliSecs)
     2542{
     2543    RT_NOREF(pVM);
     2544    Assert(pVM == pTimer->CTX_SUFF(pVM));
    25422545#ifdef IN_RING0
    25432546    Assert(pTimer->fFlags & TMTIMER_FLAGS_RING0);
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