X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/7804c2dae30700296c3205aaf7f546f491999bf4..59ecf21e36b2332f6adf2a568ef555283d8c119a:/lunaix-os/arch/i386/proc.c diff --git a/lunaix-os/arch/i386/proc.c b/lunaix-os/arch/i386/proc.c index 67f3f73..565d258 100644 --- a/lunaix-os/arch/i386/proc.c +++ b/lunaix-os/arch/i386/proc.c @@ -1,5 +1,12 @@ #include +#include +#include + +volatile struct x86_tss _tss = { .link = 0, + .esp0 = KERNEL_STACK_END, + .ss0 = KDATA_SEG }; + void proc_init_transfer(struct proc_info* proc, ptr_t stack_top,