VirtualBox

Changeset 18716 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 5, 2009 12:09:45 PM (16 years ago)
Author:
vboxsync
Message:

PGMAllPhys.cpp: MM_RAM_FLAGS_RESERVED is no more, cleaned out references to it.

File:
1 edited

Legend:

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

    r18666 r18716  
    1919 * additional information or have any questions.
    2020 */
    21 
    22 /*******************************************************************************
    23 *   Defined Constants And Macros                                               *
    24 *******************************************************************************/
    25 /** @def PGM_IGNORE_RAM_FLAGS_RESERVED
    26  * Don't respect the MM_RAM_FLAGS_RESERVED flag when converting to HC addresses.
    27  *
    28  * Since this flag is currently incorrectly kept set for ROM regions we will
    29  * have to ignore it for now so we don't break stuff.
    30  *
    31  * @todo this has been fixed now I believe, remove this hack.
    32  */
    33 #define PGM_IGNORE_RAM_FLAGS_RESERVED
    34 
    3521
    3622/*******************************************************************************
     
    195181    if (RT_FAILURE(rc))
    196182        return rc;
    197 
    198 #ifndef PGM_IGNORE_RAM_FLAGS_RESERVED
    199     if (RT_UNLIKELY(pPage->HCPhys & MM_RAM_FLAGS_RESERVED)) /** @todo PAGE FLAGS */
    200         return VERR_PGM_PHYS_PAGE_RESERVED;
    201 #endif
    202183
    203184    *pHCPhys = PGM_PAGE_GET_HCPHYS(pPage) | (GCPhys & PAGE_OFFSET_MASK);
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