diff options
| author | manuel <manuel@mausz.at> | 2012-06-21 19:07:57 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-06-21 19:07:57 +0200 |
| commit | f442c3fbe203752f0a751317d3e833fe0b660ae1 (patch) | |
| tree | bf747f4914fd6e23327ce6cfacbef1d94f52f9be /vm/mmap.c | |
| parent | e61e868b265efe2f6d51079373588d639fc54d59 (diff) | |
| download | progos-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 */ |
| 40 | mapid_t | 40 | mapid_t |
| 41 | mmap_table_insert (struct mmap_table *table, uint8_t *upage, struct file *file, | 41 | mmap_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; |
