Update frame table to add a pinned flag and protect those from being evicted

This commit is contained in:
sBubshait
2024-12-05 17:52:01 +00:00
parent 5cf79b5389
commit e03273756d
2 changed files with 51 additions and 7 deletions

View File

@@ -6,6 +6,8 @@
void frame_init (void);
void *frame_alloc (enum palloc_flags, void *, struct thread *);
void frame_pin (void *frame);
void frame_unpin (void *frame);
void frame_free (void *frame);
#endif /* vm/frame.h */