stage 2
This commit is contained in:
@@ -13,7 +13,6 @@ struct RunQ {
|
||||
struct RunQ *RunQ(size_t max_procs);
|
||||
void RUNQ_add_process(size_t max_page_accesses, size_t total_pages_owned);
|
||||
|
||||
static struct RunQ *runq;
|
||||
|
||||
|
||||
struct PhysPage {
|
||||
@@ -21,13 +20,10 @@ struct PhysPage {
|
||||
size_t busy_flag;
|
||||
struct PhysPage *prev;
|
||||
struct PhysPage *next;
|
||||
struct PageTable *pt;
|
||||
struct PageTableEntry *pt;
|
||||
size_t pt_index;
|
||||
};
|
||||
|
||||
static struct PhysPage *first_free_page;
|
||||
static struct PhysPage *first_busy_page;
|
||||
|
||||
|
||||
void KERNEL_page_fault(struct PageTableEntry *pt, size_t page_no);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user