PANDOS_TYPES¶
This header file contains utility types definitions.
Typedefs
-
typedef signed int cpu_t¶
-
typedef unsigned int memaddr¶
Represents a memory address.
-
typedef struct pteEntry_t pteEntry_t¶
-
typedef unsigned int size_t¶
Represents a size.
- int bool
Represents a boolean value.
-
typedef int semaphore¶
Represents a semaphore.
-
struct pteEntry_t
-
struct context_t
-
struct support_t
-
struct pcb_t
- #include <pandos_types.h>
Process Control Block.
- Remark
When inside a queue, by convention p_next points to the PCB that will exit the queue before it, while p_prev points to the PCB that will exit the queue after it.
-
struct swap_t
Public Members
-
int sw_asid¶
ASID number.
-
int sw_pageNo¶
Page’s virtual page number.
-
pteEntry_t *sw_pte¶
Page’s PTE entry.
-
int sw_asid¶