Merge rewritten inline funcs into main BSD repo #4

Merged
ed1223 merged 6 commits from gleb/BSD into BSD-merged 2024-10-16 17:02:14 +00:00
2 changed files with 10 additions and 1 deletions
Showing only changes of commit df89bda71e - Show all commits

View File

@@ -93,6 +93,10 @@ struct thread
/* Shared between thread.c and synch.c. */ /* Shared between thread.c and synch.c. */
struct list_elem elem; /* List element. */ struct list_elem elem; /* List element. */
/* MLFQS items */
int nice; /* Nice value for this thread */
int32_t recent_cpu; /* Amount of time this process received */
#ifdef USERPROG #ifdef USERPROG
/* Owned by userprog/process.c. */ /* Owned by userprog/process.c. */
uint32_t *pagedir; /* Page directory. */ uint32_t *pagedir; /* Page directory. */