Update thread structure to add mmap files table and a counter for mappings of the thread
This commit is contained in:
@@ -137,6 +137,10 @@ struct thread
|
||||
|
||||
struct hash pages; /* Table of open user pages. */
|
||||
|
||||
/* Memory mapped files for user virtual memory. */
|
||||
struct hash mmap_files; /* List of memory mapped files. */
|
||||
unsigned int mmap_counter; /* Counter for memory mapped files. */
|
||||
|
||||
#ifdef USERPROG
|
||||
/* Owned by userprog/process.c. */
|
||||
uint32_t *pagedir; /* Page directory. */
|
||||
|
||||
Reference in New Issue
Block a user