VirtualBox

Changeset 21644 in vbox for trunk/src/VBox/VMM/VMM.cpp


Ignore:
Timestamp:
Jul 16, 2009 11:54:31 AM (15 years ago)
Author:
vboxsync
Message:

Register guest allocated memory (locked & executable) for patching purposes.

File:
1 edited

Legend:

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

    r21196 r21644  
    13041304}
    13051305
     1306/**
     1307 * Sets the guest memory range that can be used for patching
     1308 *
     1309 * @param   pVM         The VM to operate on.
     1310 * @param   pPatchMem   Patch memory range
     1311 * @param   cbPatchMem  Size of the memory range
     1312 */
     1313VMMR3DECL(int) VMMR3SetPatchMemory(PVM pVM, RTGCPTR pPatchPage, unsigned cbPatch)
     1314{
     1315    return VERR_ACCESS_DENIED;
     1316}
     1317
     1318/**
     1319 * Clears the guest memory range that can be used for patching
     1320 *
     1321 * @param   pVM         The VM to operate on.
     1322 * @param   pPatchMem   Patch memory range
     1323 * @param   cbPatchMem  Size of the memory range
     1324 */
     1325VMMR3DECL(int) VMMR3ClearPatchMemory(PVM pVM, RTGCPTR pPatchPage, unsigned cbPatch)
     1326{
     1327    return VINF_SUCCESS;
     1328}
     1329
    13061330
    13071331/**
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