minix/include/minix
Ben Gras 33a7ac7557 vfs: mmap support
. libc: add vfs_mmap, a way for vfs to initiate mmap()s.
	  This is a good special case to have as vfs is a slightly
	  different client from regular user processes. It doesn't do it
	  for itself, and has the dev & inode info already so the callback
	  to VFS for the lookup isn't necessary. So it has different info
	  to have to give to VM.
	. libc: also add minix_mmap64() that accepts a 64-bit offset, even
	  though our off_t is still 32 bit now.
	. On exec() time, try to mmap() in the executable if available.
	  (It is not yet available in this commit.)
	. To support mmap(), add do_vm_call that allows VM to lookup
	  (to ino+dev), do i/o from and close FD's on behalf of other
	  processes.

Change-Id: I831551e45a6781c74313c450eb9c967a68505932
2013-05-31 15:42:00 +00:00
..
acpi.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
audio_fw.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
bdev.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
bitmap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
blockdriver.h Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
blockdriver_mt.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
btrace.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
callnr.h vfs: mmap support 2013-05-31 15:42:00 +00:00
chardriver.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
com.h vfs: mmap support 2013-05-31 15:42:00 +00:00
compiler.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
config.h cleanup:misc documentation fix. 2013-04-12 20:52:58 +02:00
const.h kernel, ramdisk: some boot unification 2013-03-07 14:29:27 +00:00
cpufeature.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
crtso.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
debug.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
devio.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
devman.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
dirent.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
dmap.h fb: introduce framebuffer support to Minix 2013-02-21 10:29:08 +00:00
driver.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
drivers.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
drvlib.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
ds.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
endpoint.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
fb.h fb: introduce framebuffer support to Minix 2013-02-21 10:29:08 +00:00
fslib.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
gcov.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
gpio.h GPIO:further development 2013-02-06 16:07:43 +01:00
hash.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
hgfs.h Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
input.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
ioctl.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
ipc.h vm: new secondary cache code 2013-04-24 10:18:16 +00:00
ipcconst.h machine/ipcconst.h for arch-specific constants 2012-08-27 19:46:41 -04:00
keymap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
libminixfs.h libminixfs, mfs, ext2: may re-evaluate cache size 2013-04-26 13:57:08 +00:00
log.h GPIO:further development 2013-02-06 16:07:43 +01:00
Makefile Removing include/minix/limits.h 2013-04-09 16:43:02 +02:00
minlib.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
mmio.h GPIO:further development 2013-02-06 16:07:43 +01:00
mount.h common upgrades 2013-01-14 11:36:25 +01:00
mthread.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
netdriver.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
netsock.h LWIP,NETSOCK - lwip uses asynchronous protocol 2012-03-02 15:44:48 +00:00
optset.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
padconf.h GPIO:further development 2013-02-06 16:07:43 +01:00
param.h impove memory accounting 2013-02-11 19:31:57 +01:00
partition.h Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
paths.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
portio.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
priv.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
procfs.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
profile.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
queryparam.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
reboot.h Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
rs.h Switch to disable bin. exp. wait time in RS 2013-02-16 19:35:19 +01:00
safecopies.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
sched.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sef.h SEF: add sef_cancel() 2012-04-09 16:35:57 +02:00
sffs.h Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
sound.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
spin.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sys_config.h VM: slight pagedir mapping generalization 2013-02-10 21:50:34 +01:00
sysinfo.h Implement dynamic mtab support 2012-11-26 15:20:18 +00:00
syslib.h kernel ipc debug: various fixes 2013-05-01 21:40:23 +00:00
sysutil.h panic: declare as printf-style-checked 2013-05-31 13:35:25 +00:00
termios.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
timers.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tty.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
type.h ARM: provide free running clock to replace ccnt 2013-01-31 15:19:11 +00:00
u64.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
usb.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
usb_ch9.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
vbox.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vboxfs.h Add libvboxfs: VirtualBox shared folders library 2012-04-09 19:25:18 +02:00
vboxif.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vboxtype.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vfsif.h VFS: Implement REQ_BPEEK. 2013-04-24 10:18:16 +00:00
virtio.h virtio: generic virtio library 2013-01-23 09:03:03 +00:00
vm.h vfs: mmap support 2013-05-31 15:42:00 +00:00
vtreefs.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00