VirtualBox

Changeset 9375 in vbox for trunk/src


Ignore:
Timestamp:
Jun 4, 2008 8:42:37 AM (17 years ago)
Author:
vboxsync
Message:

Use another define to actually enable 64 bits guest support.
Long mode implies PAE.

File:
1 edited

Legend:

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

    r9354 r9375  
    4949/* Uncomment to enable experimental nested paging. */
    5050//#define VBOX_WITH_NESTED_PAGING
     51/* Uncomment to enable 64 bits guest support. */
     52//#define VBOX_ENABLE_64_BITS_GUESTS
    5153
    5254/*******************************************************************************
     
    432434
    433435                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SEP);
    434 #ifdef VBOX_WITH_64_BITS_GUESTS
     436#ifdef VBOX_ENABLE_64_BITS_GUESTS
     437                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
    435438                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_LONG_MODE);
    436439                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SYSCALL);            /* 64 bits only on Intel CPUs */
     
    520523                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SEP);
    521524                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SYSCALL);
    522 #ifdef VBOX_WITH_64_BITS_GUESTS
     525#ifdef VBOX_ENABLE_64_BITS_GUESTS
     526                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
    523527                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_LONG_MODE);
    524528                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_NXE);
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