Started separating important structs from kernel.c

This commit is contained in:
2023-11-08 14:13:03 -06:00
parent 108e04a8f0
commit c5ef8c53a7
6 changed files with 160 additions and 0 deletions

16
include/addressspace.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef QUARK_ADDRESSSPACE_H
#define QUARK_ADDRESSSPACE_H
#include "types/physaddr.h"
typedef struct addressspace_t
{
physaddr_t page_table;
int refcount;
} addressspace_t;
addressspace_t *addressspace_construct();
#endif