VirtualBox

Changeset 82916 in vbox


Ignore:
Timestamp:
Jan 29, 2020 5:41:12 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135897
Message:

VMM/darwin: Enable mapping/allocating guest RAM into host ring-0. bugref:9627

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r82808 r82916  
    432432endif
    433433# Enables mapping guest RAM into host kernel space.
    434 #if1of ($(KBUILD_TARGET), linux win)
    435 # VBOX_WITH_RAM_IN_KERNEL := 1
    436 #endif
     434if1of ($(KBUILD_TARGET), darwin) # linux win
     435 VBOX_WITH_RAM_IN_KERNEL := 1
     436endif
    437437## @}
    438438
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r82876 r82916  
    193193#endif
    194194
     195#if (!defined(VBOX_WITH_RAM_IN_KERNEL) || defined(VBOX_WITH_LINEAR_HOST_PHYS_MEM)) \
     196 && !defined(RT_OS_DARWIN)
    195197/** Enable the legacy mode code (will be dropped soon). */
    196 #define GMM_WITH_LEGACY_MODE
     198# define GMM_WITH_LEGACY_MODE
     199#endif
    197200
    198201
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