VirtualBox

Changeset 841 in vbox


Ignore:
Timestamp:
Feb 12, 2007 12:20:09 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18536
Message:

PGMPhysGCPhys2HCPtr fix.

File:
1 edited

Legend:

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

    r120 r841  
    34563456    {
    34573457        /* physical address */
    3458         int rc = PGMPhysGCPhys2HCPtr(env->pVM, (RTGCPHYS)GCPtrPC, &pvPC);
     3458        int rc = PGMPhysGCPhys2HCPtr(env->pVM, (RTGCPHYS)GCPtrPC, nrInstructions * 16, &pvPC);
    34593459        if (VBOX_FAILURE(rc))
    34603460            return false;
     
    35483548
    35493549        /* physical address */
    3550         int rc = PGMPhysGCPhys2HCPtr(pVM, (RTGCPHYS)GCPtrPC, &pvPC);
     3550        int rc = PGMPhysGCPhys2HCPtr(pVM, (RTGCPHYS)GCPtrPC, 16, &pvPC);
    35513551        if (VBOX_FAILURE(rc))
    35523552            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