kernel: initial vmm implementation

This commit is contained in:
Matheus
2023-04-16 20:47:41 -03:00
parent fac767129e
commit 30d64485fd
6 changed files with 357 additions and 1 deletions
+2
View File
@@ -7,12 +7,14 @@
#include <arch/msr.h>
#include <arch/ist.h>
#include <kernel/interrupt.h>
#include <kernel/vmm.h>
typedef struct {
uint64_t gdt[7];
ist_t ist;
long id;
isr_t isr[MAX_ISR_COUNT];
vmmcontext_t *vmmctx;
} cpu_t;
static inline cpu_t *_cpu() {