Update mmap to add an insert helper function to allocate and add new mmap entries to the hash table

This commit is contained in:
sBubshait
2024-12-04 15:26:00 +00:00
parent 6e838aa06a
commit 6b0f708d8f
2 changed files with 30 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ struct mmap_entry {
};
bool mmap_init (void);
struct mmap_entry *mmap_insert (struct file *file, void *upage);
void mmap_destroy (void);
#endif /* vm/mmap.h */