amd64: add syscall entry mechanism

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-15 20:08:22 -04:00
commit d7477ae860
8 changed files with 103 additions and 87 deletions

View file

@ -29,7 +29,6 @@ struct thread {
u64 state;
bool in_kernel;
u64 tls_base;
struct proc *proc;
@ -49,5 +48,6 @@ struct proc {
};
void proc_init();
void switch_to(struct thread *from, struct thread *to);
#endif /* _PROC_H_ */