kern

diff src/vm.h @ 72:3941e82b07f2

- implemented syscalls: exit, waitpid, getppid - moved sys_whatever functions out of syscall.c into more reasonable files - putting all the definitions that must be synced with userland to include/kdef.h
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 15 Oct 2011 07:45:56 +0300
parents b45e2d5f0ae1
children
line diff
     1.1 --- a/src/vm.h	Thu Oct 13 05:22:35 2011 +0300
     1.2 +++ b/src/vm.h	Sat Oct 15 07:45:56 2011 +0300
     1.3 @@ -78,7 +78,11 @@
     1.4  int pgalloc_vrange(int start, int num);
     1.5  void pgfree(int start, int num);
     1.6  
     1.7 +/* don't be fooled by the fact these two accept process arguments
     1.8 + * they in fact work only for the "current" process (psrc and p)
     1.9 + */
    1.10  void clone_vm(struct process *pdest, struct process *psrc, int cow);
    1.11 +void cleanup_vm(struct process *p);
    1.12  
    1.13  int get_page_bit(int pgnum, uint32_t bit, int wholepath);
    1.14  void set_page_bit(int pgnum, uint32_t bit, int wholepath);