Add sys_vumap() kernel call

This new call is a vectored version of sys_umap(). It supports batch
lookups, non-contiguous memory, faulting in memory, and basic access
checks.
This commit is contained in:
David van Moolenbroek
2012-03-21 23:51:18 +01:00
parent 2a395dd8b4
commit 70abb127cc
12 changed files with 216 additions and 3 deletions

View File

@@ -92,6 +92,11 @@ _PROTOTYPE( int do_umap_remote, (struct proc * caller, message *m_ptr) );
#define do_umap_remote NULL
#endif
_PROTOTYPE( int do_vumap, (struct proc * caller, message *m_ptr) );
#if ! USE_VUMAP
#define do_vumap NULL
#endif
_PROTOTYPE( int do_memset, (struct proc * caller, message *m_ptr) );
#if ! USE_MEMSET
#define do_memset NULL