VirtualBox

Ignore:
Timestamp:
Apr 1, 2008 9:18:10 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29194
Message:

Cleaned up.
AMD64 shadow paging is only valid with AMD64 guest paging. Other combinations removed.
Simplified paging #ifdefs.

File:
1 edited

Legend:

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

    r7629 r7676  
    184184#include "PGMAllShw.h"
    185185
    186 /* Guest - real mode */
    187 #define PGM_GST_TYPE                PGM_TYPE_REAL
    188 #define PGM_GST_NAME(name)          PGM_GST_NAME_REAL(name)
    189 #define PGM_BTH_NAME(name)          PGM_BTH_NAME_AMD64_REAL(name)
    190 #define BTH_PGMPOOLKIND_PT_FOR_PT   PGMPOOLKIND_PAE_PT_FOR_PHYS
    191 #include "PGMAllBth.h"
    192 #undef BTH_PGMPOOLKIND_PT_FOR_PT
    193 #undef PGM_BTH_NAME
    194 #undef PGM_GST_NAME
    195 #undef PGM_GST_TYPE
    196 
    197 /* Guest - protected mode */
    198 #define PGM_GST_TYPE                PGM_TYPE_PROT
    199 #define PGM_GST_NAME(name)          PGM_GST_NAME_PROT(name)
    200 #define PGM_BTH_NAME(name)          PGM_BTH_NAME_AMD64_PROT(name)
    201 #define BTH_PGMPOOLKIND_PT_FOR_PT   PGMPOOLKIND_PAE_PT_FOR_PHYS
    202 #include "PGMAllBth.h"
    203 #undef BTH_PGMPOOLKIND_PT_FOR_PT
    204 #undef PGM_BTH_NAME
    205 #undef PGM_GST_TYPE
    206 #undef PGM_GST_NAME
    207 
    208186/* Guest - AMD64 mode */
    209187#define PGM_GST_TYPE                PGM_TYPE_AMD64
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette