VirtualBox

Changeset 1994 in vbox for trunk


Ignore:
Timestamp:
Apr 9, 2007 1:33:03 PM (18 years ago)
Author:
vboxsync
Message:

Added CSAMR3RemovePage

File:
1 edited

Legend:

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

    r1974 r1994  
    15151515
    15161516/**
     1517 * Remove a CSAM monitored page. Use with care!
     1518 *
     1519 * @returns VBox status code
     1520 * @param   pVM         The VM to operate on.
     1521 * @param   addr        GC address of the page to flush
     1522 */
     1523CSAMR3DECL(int) CSAMR3RemovePage(PVM pVM, RTGCPTR addr)
     1524{
     1525    int rc = csamRemovePageRecord(pVM, addr);
     1526    if (VBOX_SUCCESS(rc))
     1527        PATMR3FlushPage(pVM, addr);
     1528    return VINF_SUCCESS;
     1529}
     1530
     1531/**
    15171532 * Check a page record in case a page has been changed
    15181533 *
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