feat: implement frame table without thread safety

This commit is contained in:
Themis Demetriades
2024-11-26 15:17:11 +00:00
parent 605050e38d
commit ea2725f606
5 changed files with 189 additions and 5 deletions

View File

@@ -32,6 +32,7 @@
#include "tests/threads/tests.h"
#endif
#ifdef VM
#include "vm/frame.h"
#include "devices/swap.h"
#endif
#ifdef FILESYS
@@ -101,6 +102,9 @@ main (void)
palloc_init (user_page_limit);
malloc_init ();
paging_init ();
#ifdef VM
frame_init ();
#endif
/* Segmentation. */
#ifdef USERPROG