VirtualBox

Ignore:
Timestamp:
Apr 14, 2010 6:06:05 PM (15 years ago)
Author:
vboxsync
Message:

RTMemPageFree + all users: Added size parameter to RTMemPageFree so we can avoid tracking structures when using mmap/munmap.

File:
1 edited

Legend:

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

    r22077 r28317  
    186186
    187187
    188 int suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t /* cPages */)
     188int suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)
    189189{
    190190    NOREF(pThis);
    191     RTMemPageFree(pvPages);
     191    RTMemPageFree(pvPages, cPages * PAGE_SIZE);
    192192    return VINF_SUCCESS;
    193193}
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