Files
codezero/tasks/libposix
Bahadir Balban 4f346cea53 Added the first means to pass information between 2 tasks using the
utcb as a shared page instead of the message registers.

Implemented the code that passes task information from mm0 to fs0
using the fs0 utcb. The code seems to work OK but:

There's an issue with anon pages that they end up on the same swapfile
and with same file offsets (e.g. utcb and stack at offset 0). Need to
fix this issue but otherwise this implementation seems to work.

TODO:
- Separate anon regions into separate vmfiles.
- Possibly map the stacks from virtual files so that they can be
  read from userspace in the future for debugging.
- Possibly utcb could be created as a shared memory object using shmget/shmat
  during startup.
2008-02-29 21:56:05 +00:00
..
2008-01-13 13:53:52 +00:00
2008-01-13 13:53:52 +00:00
2008-01-13 13:53:52 +00:00
2008-01-13 13:53:52 +00:00

libposix

Copyright (C) 2007 Bahadir Balban

Despite the name, this is a library that supports only a tiny portion of posix functions.

Currently supported functions are:


Functions to be supported in the near future are:

shmat
shmget
shmdt
mmap
munmap
read
write
lseek
open
close
creat
unlink
fork
execve
getpid

New ones will be added as needed.