summaryrefslogtreecommitdiffstats
path: root/vm/mmap.c
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-06-21 19:07:57 +0200
committermanuel <manuel@mausz.at>2012-06-21 19:07:57 +0200
commitf442c3fbe203752f0a751317d3e833fe0b660ae1 (patch)
treebf747f4914fd6e23327ce6cfacbef1d94f52f9be /vm/mmap.c
parente61e868b265efe2f6d51079373588d639fc54d59 (diff)
downloadprogos-f442c3fbe203752f0a751317d3e833fe0b660ae1.tar.gz
progos-f442c3fbe203752f0a751317d3e833fe0b660ae1.tar.bz2
progos-f442c3fbe203752f0a751317d3e833fe0b660ae1.zip
use void* instead of uint8_t* in mmap/page table and fill in more of proj2
Diffstat (limited to 'vm/mmap.c')
-rw-r--r--vm/mmap.c2
1 files changed, 1 insertions, 1 deletions
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)
38/* inserts a new mmap entry in the mmap table. 38/* inserts a new mmap entry in the mmap table.
39 returns -1 if entry is invalid or already in the table */ 39 returns -1 if entry is invalid or already in the table */
40mapid_t 40mapid_t
41mmap_table_insert (struct mmap_table *table, uint8_t *upage, struct file *file, 41mmap_table_insert (struct mmap_table *table, void *upage, struct file *file,
42 off_t len) 42 off_t len)
43{ 43{
44 off_t ofs = 0; 44 off_t ofs = 0;