Kernel processes / multitasking
This commit is contained in:
15
kernel/hal/x86_64/proc.h
Normal file
15
kernel/hal/x86_64/proc.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef HAL_PROC_H_
|
||||
#define HAL_PROC_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "intr.h"
|
||||
#include "vmm.h"
|
||||
|
||||
typedef struct {
|
||||
uint64_t fsbase;
|
||||
IntrStackFrame trapframe;
|
||||
uint8_t *kstack;
|
||||
PgTable *cr3;
|
||||
} ProcPlatformData;
|
||||
|
||||
#endif // HAL_PROC_H_
|
Reference in New Issue
Block a user