Cleaned up all compile errors.

This commit is contained in:
Bahadir Balban
2008-08-25 16:59:00 +03:00
parent cdfaa4bbe9
commit 476bac5142
19 changed files with 99 additions and 80 deletions

View File

@@ -20,6 +20,9 @@
#define MAP_SHARED 0x01
#define MAP_PRIVATE 0x02
struct vm_area *vma_new(unsigned long pfn_start, unsigned long npages,
unsigned int flags, unsigned long file_offset);
int do_munmap(void *vaddr, unsigned long size, struct tcb *task);
int do_mmap(struct vm_file *mapfile, unsigned long f_offset, struct tcb *t,

View File

@@ -10,6 +10,7 @@
#define __MM0_SYSARGS_H__
#include <sys/types.h>
#include <l4lib/types.h>
/* For reading argument data from a system call */
struct sys_mmap_args {
@@ -43,7 +44,7 @@ struct sys_shmget_args {
int sys_shmget(key_t key, int size, int shmflg);
int sys_fork(void);
int sys_fork(l4id_t parent);
#endif /* __MM0_SYSARGS_H__ */

View File

@@ -10,7 +10,7 @@
#include <l4/types.h>
#include INC_GLUE(memlayout.h)
#include <l4/lib/list.h>
#include <l4lib/types.h>
#include <l4lib/arch/types.h>
#include <l4lib/utcb.h>
#include <lib/addr.h>
#include <l4/api/kip.h>