SYS_populate_va (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 18 Feb 2014 00:33:19 +0000 (16:33 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 18 Feb 2014 03:49:30 +0000 (19:49 -0800)
commitc93e3da654eb552e7f1a167aae9e1f5fd5d36b4e
treee2fd74c2adc9c102847fd5ae5a44826d990e1153
parentb8a36b430b1ccf84afe70254ca072c8cb375a7cc
SYS_populate_va (XCC)

Syscall for populating a range of virtual addresses.  This will usually
be used by PF handlers on file-backed VMRs, but it can be done for any
sort of user-controlled read-ahead that is desired.

If people want more control, like an FD interface that doesn't bother
with PTEs, let me know.

You need to reinstall your kernel headers.
kern/include/mm.h
kern/include/ros/bits/syscall.h
kern/src/mm.c
kern/src/syscall.c