VirtualBox

Changeset 53441 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 4, 2014 11:06:26 AM (10 years ago)
Author:
vboxsync
Message:

VMM/TM: Rename TMMODE to TMTSCMODE and the corresponding enum and CFGM key. Fixed an endian issue in the assembly code.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r53435 r53441  
    15291529 * @param   pGip            Pointer to the GIP.
    15301530 * @param   puTsc           Pointer to a valid TSC value before the TSC delta has been applied.
    1531  * @param   idApic          The APIC ID of the CPU @c uTsc corresponds to.
     1531 * @param   idApic          The APIC ID of the CPU @c puTsc corresponds to.
    15321532 * @param   fDeltaApplied   Where to store whether the TSC delta was succesfully
    15331533 *                          applied or not (optional, can be NULL).
  • trunk/include/VBox/sup.mac

    r53436 r53441  
    130130%macro SUPTscDeltaApply 1
    131131    ; Check if we have a valid TSC-delta, i.e. != INT64_MAX.
    132     cmp     dword [%1 + SUPGIPCPU.i64TSCDelta + 4], 0xffffffff
     132    cmp     dword [%1 + SUPGIPCPU.i64TSCDelta], 0xffffffff
    133133    jne     %%valid_delta
    134     cmp     dword [%1 + SUPGIPCPU.i64TSCDelta], 0x7fffffff
     134    cmp     dword [%1 + SUPGIPCPU.i64TSCDelta + 4], 0x7fffffff
    135135    je      %%done
    136136%%valid_delta:
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