2021-03-27 | Paul Boddie | file changeset files shortlog | Introduced a preallocated memory object alongside the existing incremental allocation object (which has been renamed), both employing a common interface, thus permitting the use of a generic page collection with different page queue types to support both files and pipes. Changed the pipe paging to employ just two pipe regions in order to limit the amount of memory that would be used by each pipe. |
paul@2 | 1 | #pragma once |
paul@2 | 2 | |
paul@2 | 3 | #include <l4/sys/ipc.h> |
paul@2 | 4 | |
paul@2 | 5 | #include "flexpage.h" |
paul@2 | 6 | |
paul@2 | 7 | |
paul@2 | 8 | |
paul@4 | 9 | long ipc_prepare_flexpage(Flexpage *flexpage, unsigned long offset, |
paul@4 | 10 | unsigned long max_offset, l4_addr_t hot_spot, |
paul@11 | 11 | l4_snd_fpage_t *region); |
paul@4 | 12 | |
paul@4 | 13 | void ipc_unmap_flexpage(Flexpage *flexpage); |
paul@2 | 14 | |
paul@2 | 15 | // vim: tabstop=4 expandtab shiftwidth=4 |