VirtualBox

Ignore:
Timestamp:
Nov 23, 2021 1:12:29 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148437
Message:

SUP,VMM: Added a fFlags parameter to SUPR3PageAlloc so we can indicate a desire for large pages and other things. HM must enable large pages when configred for the NEM code paths too. bugref:9044 bugref:5324

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPLib-solaris.cpp

    r85129 r92556  
    212212
    213213
    214 DECLHIDDEN(int) suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages)
    215 {
    216     NOREF(pThis);
     214DECLHIDDEN(int) suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, uint32_t fFlags, void **ppvPages)
     215{
     216    RT_NOREF(pThis, fFlags);
    217217    *ppvPages = mmap(NULL, cPages * PAGE_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE,
    218218                     MAP_PRIVATE | MAP_ANON, -1, 0);
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