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
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue