diff options
Diffstat (limited to 'userprog/process.h')
| -rw-r--r-- | userprog/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/userprog/process.h b/userprog/process.h index 5fcd80e..bac9a60 100644 --- a/userprog/process.h +++ b/userprog/process.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define USERPROG_PROCESS_H | 2 | #define USERPROG_PROCESS_H |
| 3 | 3 | ||
| 4 | #include "threads/thread.h" | 4 | #include "threads/thread.h" |
| 5 | #include "vm/mmap.h" | ||
| 5 | 6 | ||
| 6 | #define STACK_SIZE (1 << 23) /* 8MB maximum stack size */ | 7 | #define STACK_SIZE (1 << 23) /* 8MB maximum stack size */ |
| 7 | 8 | ||
| @@ -27,6 +28,7 @@ struct process { | |||
| 27 | /* files */ | 28 | /* files */ |
| 28 | struct file *executable; /* Loaded executable, if any. */ | 29 | struct file *executable; /* Loaded executable, if any. */ |
| 29 | struct fd_table fd_table; /* File descriptor table */ | 30 | struct fd_table fd_table; /* File descriptor table */ |
| 31 | struct mmap_table mmap_table; /* Memory mapped files table */ | ||
| 30 | 32 | ||
| 31 | /* Owned by syscall.c */ | 33 | /* Owned by syscall.c */ |
| 32 | void* syscall_buffer; | 34 | void* syscall_buffer; |
