Merge branch 'vm/memory-mapped-files' into vm/virtual-memory/saleh

This commit is contained in:
sBubshait
2024-12-05 01:24:50 +00:00
11 changed files with 275 additions and 24 deletions

View File

@@ -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. */