VirtualBox

Changeset 835 in vbox for trunk/src


Ignore:
Timestamp:
Feb 12, 2007 12:05:26 PM (18 years ago)
Author:
vboxsync
Message:

GC Phys to HC virt conversion changes for dynamic RAM allocation.

File:
1 edited

Legend:

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

    r790 r835  
    34803480    {
    34813481        /* physical address */
    3482         int rc = PGMPhysGCPhys2HCPtr(env->pVM, (RTGCPHYS)GCPtrPC, &pvPC);
     3482        int rc = PGMPhysGCPhys2HCPtr(env->pVM, (RTGCPHYS)GCPtrPC, nrInstructions*16, &pvPC);
    34833483        if (VBOX_FAILURE(rc))
    34843484            return false;
     
    35723572
    35733573        /* physical address */
    3574         int rc = PGMPhysGCPhys2HCPtr(pVM, (RTGCPHYS)GCPtrPC, &pvPC);
     3574        int rc = PGMPhysGCPhys2HCPtr(pVM, (RTGCPHYS)GCPtrPC, 16, &pvPC);
    35753575        if (VBOX_FAILURE(rc))
    35763576            return false;
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