Move vmm fully into hal
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include "hal/hal.h"
|
||||
#include "vmm/vmm.h"
|
||||
#include "spinlock/spinlock.h"
|
||||
#include "bitmap/bitmap.h"
|
||||
|
||||
@ -14,6 +13,13 @@
|
||||
|
||||
#define PROC_MAX 0x100 // max amount of processes
|
||||
|
||||
typedef struct {
|
||||
uint64_t fsbase;
|
||||
IntrStackFrame trapframe;
|
||||
uint8_t *kstack;
|
||||
PgTable *cr3;
|
||||
} ProcPlatformData;
|
||||
|
||||
enum {
|
||||
PROC_READY,
|
||||
PROC_RUNNING,
|
||||
|
Reference in New Issue
Block a user