define basic fixed-point macros

This commit is contained in:
EDiasAlberto
2024-10-15 15:13:40 +01:00
committed by Gleb Koval
parent f969b02630
commit 112432dde0
2 changed files with 27 additions and 1 deletions

View File

@@ -93,6 +93,10 @@ struct thread
/* Shared between thread.c and synch.c. */
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
/* Owned by userprog/process.c. */
uint32_t *pagedir; /* Page directory. */