proc: fix errors, enter userspace
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
b279d0a06a
commit
c7fa9a75fa
15 changed files with 86 additions and 8 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#ifndef _ARCH_PROC_H_
|
||||
#define _ARCH_PROC_H_
|
||||
|
||||
#include <descriptor.h>
|
||||
#include <kernel/common.h>
|
||||
#include <kernel/types.h>
|
||||
|
||||
|
|
@ -11,6 +12,7 @@ struct cpu_local {
|
|||
vaddr_t kernel_rsp;
|
||||
vaddr_t user_rsp;
|
||||
u32 cpu_id;
|
||||
struct tss tss;
|
||||
} PACKED;
|
||||
|
||||
struct pt_regs {
|
||||
|
|
|
|||
Loading…
Reference in a new issue