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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/page.h') diff --git a/vm/page.h b/vm/page.h index c78ab65..b7997fe 100644 --- a/vm/page.h +++ b/vm/page.h @@ -28,7 +28,7 @@ void page_table_free (struct hash *ht); struct page_table_entry *page_table_fetch (struct hash *ht, void *upage); struct page_table_entry *page_table_remove (struct hash *ht, void *upage); 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); bool page_load (struct page_table_entry *pte); #endif -- cgit v1.2.3