Running in user mode

This commit is contained in:
thomas committed 2018-03-29 19:36:32 +02:00
1 parent 6c078289f9
commit 68ec6fa575
9 files changed
+52 -29

No files matched your search

+2
View File
@@ -3,6 +3,8 @@
void cpu_init();
extern uint8_t tss[];
void set_tss_rsp0(void *tss, void *rsp0);
void load_idt(void *);
+1
View File
@@ -18,6 +18,7 @@
#define PAGE_PRESENT 0x001
#define PAGE_WRITE 0x002
#define PAGE_USER 0x004
#define PAGE_HUGE 0x080
#define PAGE_GLOBAL 0x100
+1
View File
@@ -2,6 +2,7 @@
#include <queue.h>
#include <scheduler.h>
#include <stdint.h>
#include <interrupts.h>
struct process
{