Implement skeleton for swapping frames into disk

This commit is contained in:
Themis Demetriades
2024-11-26 18:59:46 +00:00
parent ea2725f606
commit 1e6b90da0d
6 changed files with 106 additions and 25 deletions

9
src/vm/page.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef VM_PAGE_H
#define VM_PAGE_H
#include "threads/thread.h"
void page_set_swap (struct thread *, void *, size_t);
size_t page_get_swap (struct thread *, void *);
#endif /* vm/frame.h */