Implement Supplemental Page Table (SPT) per thread along with structure for its entries, w/ G
This commit is contained in:
@@ -135,6 +135,8 @@ struct thread
|
||||
/* Shared between thread.c and synch.c. */
|
||||
struct list_elem elem; /* List element. */
|
||||
|
||||
struct hash pages; /* Table of open user pages. */
|
||||
|
||||
#ifdef USERPROG
|
||||
/* Owned by userprog/process.c. */
|
||||
uint32_t *pagedir; /* Page directory. */
|
||||
|
||||
Reference in New Issue
Block a user