add process removal support and sanity checks for obvious memory corruption issues

This commit is contained in:
2025-03-07 18:49:49 +02:00
parent 775eb861ff
commit d416a446aa
5 changed files with 190 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ struct RunQ {
struct RunQ *RunQ(size_t max_procs);
void RUNQ_add_process(size_t max_page_accesses, size_t total_pages_owned);
void RUNQ_remove_current_process(void);
@@ -27,7 +28,7 @@ struct PhysPage {
void KERNEL_page_fault(struct PageTableEntry *pt, size_t page_no);
void KERNEL_update_job(size_t page_amount);
void KERNEL_sanity_check_memory_lists(void);
#endif