Add a more complex physalloc syscall.
Adds physalloc3
(and physalloc2
which is a regular function based on it), which allow frame allocation with extra flags. physalloc3
also supports "partial allocation", where a driver requests a physical block range, and then the kernel may or may not allocate that whole range. This reduces heap fragmentation, and is mainly meant to work with scatter-gather lists.
Edited by Jacob Lorentzon