amd64: add syscall entry mechanism
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
a73fc47664
commit
d7477ae860
8 changed files with 103 additions and 87 deletions
|
|
@ -2,11 +2,12 @@
|
|||
#ifndef _ARCH_PROC_H_
|
||||
#define _ARCH_PROC_H_
|
||||
|
||||
#include <kernel/proc.h>
|
||||
#include <kernel/common.h>
|
||||
#include <kernel/types.h>
|
||||
|
||||
struct proc;
|
||||
struct thread;
|
||||
struct cpu_local {
|
||||
struct proc *current_proc;
|
||||
struct thread *cur_thread;
|
||||
vaddr_t kernel_rsp;
|
||||
vaddr_t user_rsp;
|
||||
u32 cpu_id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue