VirtualBox

Changeset 2095 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 16, 2007 12:00:54 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20408
Message:

GetPage will deal with real and protected mode without paging.

File:
1 edited

Legend:

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

    r1946 r2095  
    495495PGMDECL(int) PGMPhysGCPtr2GCPhys(PVM pVM, RTGCPTR GCPtr, PRTGCPHYS pGCPhys)
    496496{
    497     int rc = PGM_GST_PFN(GetPage,pVM)(pVM, (RTGCUINTPTR)GCPtr, NULL, pGCPhys);
    498     /** @todo real mode & protected mode? */
    499     return rc;
     497    return PGM_GST_PFN(GetPage,pVM)(pVM, (RTGCUINTPTR)GCPtr, NULL, pGCPhys);
    500498}
    501499
     
    517515    if (VBOX_SUCCESS(rc))
    518516        rc = PGMPhysGCPhys2HCPhys(pVM, GCPhys | ((RTGCUINTPTR)GCPtr & PAGE_OFFSET_MASK), pHCPhys);
    519     /** @todo real mode & protected mode? */
    520517    return rc;
    521518}
     
    538535    if (VBOX_SUCCESS(rc))
    539536        rc = PGMPhysGCPhys2HCPtr(pVM, GCPhys | ((RTGCUINTPTR)GCPtr & PAGE_OFFSET_MASK), 1 /* we always stay within one page */, pHCPtr);
    540     /** @todo real mode & protected mode? */
    541537    return rc;
    542538}
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