VirtualBox

Changeset 4754 in vbox


Ignore:
Timestamp:
Sep 13, 2007 7:59:39 AM (17 years ago)
Author:
vboxsync
Message:

PGMPhysReadGCPtr at poweroff crashes calling a NULL pointer (GetPage), just use the GCPhys verison.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VM.cpp

    r4678 r4754  
    12581258                           "ss:sp=0000:%04x ", esp);
    12591259            uint32_t Start = esp & ~(uint32_t)63;
    1260             int rc = PGMPhysReadGCPtr(pVM, abBuf, Start, Start + 0x100);
     1260            int rc = PGMPhysReadGCPhys(pVM, abBuf, Start, Start + 0x100);
    12611261            if (VBOX_SUCCESS(rc))
    12621262                RTLogRelPrintf("0000:%04x TO 0000:%04x:\n"
     
    12701270            if (esp < 0x2000 && esp > 0x1fc0)
    12711271            {
    1272                 rc = PGMPhysReadGCPtr(pVM, abBuf, 0x8000, 0x800);
     1272                rc = PGMPhysReadGCPhys(pVM, abBuf, 0x8000, 0x800);
    12731273                if (VBOX_SUCCESS(rc))
    12741274                    RTLogRelPrintf("0000:8000 TO 0000:87ff:\n"
     
    12791279            if (true)
    12801280            {
    1281                 rc = PGMPhysReadGCPtr(pVM, abBuf, 0x8000, 0x200);
     1281                rc = PGMPhysReadGCPhys(pVM, abBuf, 0x8000, 0x200);
    12821282                if (VBOX_SUCCESS(rc))
    12831283                    RTLogRelPrintf("2000:0000 TO 2000:01ff:\n"
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