VirtualBox

Ignore:
Timestamp:
Nov 28, 2008 2:58:01 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40070
Message:

#1865: Converted 4 PGM*2HC* conversion functions to RTR3PTR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r14411 r14755  
    34773477
    34783478        /* convert eip to physical address. */
    3479         int rc = PGMPhysGCPtr2HCPtrByGstCR3(env->pVM,
     3479        int rc = PGMPhysGCPtr2R3PtrByGstCR3(env->pVM,
    34803480                                            GCPtrPC,
    34813481                                            env->cr[3],
     
    34933493    {
    34943494        /* physical address */
    3495         int rc = PGMPhysGCPhys2HCPtr(env->pVM, (RTGCPHYS)GCPtrPC, nrInstructions * 16, &pvPC);
     3495        int rc = PGMPhysGCPhys2R3Ptr(env->pVM, (RTGCPHYS)GCPtrPC, nrInstructions * 16, &pvPC);
    34963496        if (RT_FAILURE(rc))
    34973497            return false;
     
    35723572    {
    35733573        /* convert eip to physical address. */
    3574         int rc = PGMPhysGCPtr2HCPtrByGstCR3(pVM,
     3574        int rc = PGMPhysGCPtr2R3PtrByGstCR3(pVM,
    35753575                                            GCPtrPC,
    35763576                                            env->cr[3],
     
    35893589
    35903590        /* physical address */
    3591         int rc = PGMPhysGCPhys2HCPtr(pVM, (RTGCPHYS)GCPtrPC, 16, &pvPC);
     3591        int rc = PGMPhysGCPhys2R3Ptr(pVM, (RTGCPHYS)GCPtrPC, 16, &pvPC);
    35923592        if (RT_FAILURE(rc))
    35933593            return false;
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