proc: fix errors, enter userspace

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-21 04:33:35 -04:00
commit c7fa9a75fa
15 changed files with 86 additions and 8 deletions

View file

@ -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 {