VirtualBox

Changeset 6927 in vbox for trunk/include


Ignore:
Timestamp:
Feb 12, 2008 8:44:35 PM (17 years ago)
Author:
vboxsync
Message:

Converted MM_RAM_FLAGS_VIRTUAL_HANDLER, MM_RAM_FLAGS_VIRTUAL_WRITE
and MM_RAM_FLAGS_VIRTUAL_ALL into a two bit state variable in PGMPAGE.
I've checked this trice because, like last time, bugs may have odd
sideeffects and hide for a while before showing up. Hope I got this
right (unlike for phys).

Fixed a regression from the MM_RAM_FLAGS_PHYSICAL in the physical read/write code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/mm.h

    r6902 r6927  
    7777#define MM_RAM_FLAGS_MMIO2              RT_BIT(3)
    7878
    79 /** PGM has virtual page access handler(s) defined for pages with this flag. */
    80 #define MM_RAM_FLAGS_VIRTUAL_HANDLER    RT_BIT(4)
    81 /** PGM has virtual page access handler(s) for write access. */
    82 #define MM_RAM_FLAGS_VIRTUAL_WRITE      RT_BIT(5)
    83 /** PGM has virtual page access handler(s) for all access. */
    84 #define MM_RAM_FLAGS_VIRTUAL_ALL        RT_BIT(6)
    8579#ifndef VBOX_WITH_NEW_PHYS_CODE
    8680/** Physical backing memory is allocated dynamically. Not set implies a one time static allocation. */
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