diff options
| author | manuel <manuel@mausz.at> | 2012-06-21 18:14:58 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-06-21 18:14:58 +0200 |
| commit | e61e868b265efe2f6d51079373588d639fc54d59 (patch) | |
| tree | 035fa9afef57c88ed156909d73cd8c4a91fe4435 /vm/page.h | |
| parent | e11b2ef0c606ab516a4344aeea1dbba22cb1fe5d (diff) | |
| download | progos-e61e868b265efe2f6d51079373588d639fc54d59.tar.gz progos-e61e868b265efe2f6d51079373588d639fc54d59.tar.bz2 progos-e61e868b265efe2f6d51079373588d639fc54d59.zip | |
full mmap implementation
Diffstat (limited to 'vm/page.h')
| -rw-r--r-- | vm/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -26,6 +26,7 @@ struct page_table_entry | |||
| 26 | void page_table_init (struct hash *ht); | 26 | void page_table_init (struct hash *ht); |
| 27 | void page_table_free (struct hash *ht); | 27 | void page_table_free (struct hash *ht); |
| 28 | struct page_table_entry *page_table_fetch (struct hash *ht, void *upage); | 28 | struct page_table_entry *page_table_fetch (struct hash *ht, void *upage); |
| 29 | struct page_table_entry *page_table_remove (struct hash *ht, void *upage); | ||
| 29 | bool page_table_insert_segment (struct hash *ht, struct file *file, off_t ofs, | 30 | bool page_table_insert_segment (struct hash *ht, struct file *file, off_t ofs, |
| 30 | uint8_t *upage, uint32_t read_bytes, bool writable); | 31 | uint8_t *upage, uint32_t read_bytes, bool writable); |
| 31 | bool page_load (struct page_table_entry *pte); | 32 | bool page_load (struct page_table_entry *pte); |
