From f442c3fbe203752f0a751317d3e833fe0b660ae1 Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 21 Jun 2012 19:07:57 +0200 Subject: use void* instead of uint8_t* in mmap/page table and fill in more of proj2 --- vm/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/mmap.c') diff --git a/vm/mmap.c b/vm/mmap.c index 55ee91b..0dc9190 100644 --- a/vm/mmap.c +++ b/vm/mmap.c @@ -38,7 +38,7 @@ mmap_table_free (struct mmap_table *table) /* inserts a new mmap entry in the mmap table. returns -1 if entry is invalid or already in the table */ mapid_t -mmap_table_insert (struct mmap_table *table, uint8_t *upage, struct file *file, +mmap_table_insert (struct mmap_table *table, void *upage, struct file *file, off_t len) { off_t ofs = 0; -- cgit v1.2.3