VirtualBox

Ignore:
Timestamp:
Jun 20, 2008 9:30:18 AM (16 years ago)
Author:
vboxsync
Message:

Added CPUMGetGuest/HyperRIP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r9825 r9841  
    319319{
    320320    return pVM->cpum.s.CTXALLSUFF(pHyperCore)->eip;
     321}
     322
     323CPUMDECL(uint64_t) CPUMGetHyperRIP(PVM pVM)
     324{
     325    return pVM->cpum.s.CTXALLSUFF(pHyperCore)->rip;
    321326}
    322327
     
    749754}
    750755
     756CPUMDECL(uint64_t) CPUMGetGuestRIP(PVM pVM)
     757{
     758    return pVM->cpum.s.Guest.rip;
     759}
     760
    751761CPUMDECL(uint32_t) CPUMGetGuestEAX(PVM pVM)
    752762{
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