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/page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/page.c') diff --git a/vm/page.c b/vm/page.c index 98120e5..b40382f 100644 --- a/vm/page.c +++ b/vm/page.c @@ -69,7 +69,7 @@ page_table_insert (struct hash *ht, struct page_table_entry *pte) returns false if entry is invalid or already in the table */ bool page_table_insert_segment (struct hash *ht, struct file *file, off_t ofs, - uint8_t *upage, uint32_t read_bytes, bool writable) + void *upage, uint32_t read_bytes, bool writable) { struct page_table_entry *pte = malloc (sizeof *pte); if (pte == NULL) -- cgit v1.2.3