VirtualBox

Changeset 7700 in vbox for trunk/src


Ignore:
Timestamp:
Apr 2, 2008 3:03:19 PM (17 years ago)
Author:
vboxsync
Message:

AMD64 shadow mode isn't valid for real and protected mode either from what I can tell.

File:
1 edited

Legend:

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

    r7677 r7700  
    27452745                case SUPPAGINGMODE_AMD64_NX:
    27462746                case SUPPAGINGMODE_AMD64_GLOBAL_NX:
    2747                     enmShadowMode = PGMMODE_PAE;
     2747                    enmShadowMode = PGMMODE_AMD64;
    27482748                    enmSwitcher = VMMSWITCHER_AMD64_TO_AMD64;
    27492749                    break;
     
    28872887                case PGMMODE_AMD64:
    28882888                case PGMMODE_AMD64_NX:
    2889                     rc2 = PGM_BTH_NAME_PAE_REAL(Enter)(pVM, NIL_RTGCPHYS);
    2890                     break;
     2889                    AssertMsgFailed(("Should use PAE shadow mode!\n"));
    28912890                default: AssertFailed(); break;
    28922891            }
     
    29062905                case PGMMODE_AMD64:
    29072906                case PGMMODE_AMD64_NX:
    2908                     rc2 = PGM_BTH_NAME_PAE_PROT(Enter)(pVM, NIL_RTGCPHYS);
    2909                     break;
     2907                    AssertMsgFailed(("Should use PAE shadow mode!\n"));
    29102908                default: AssertFailed(); break;
    29112909            }
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