diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:45 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 06:03:26 +0900 |
commit | 07b0148ff9148b07d3d100e4a57c3a5fc873029d (patch) | |
tree | 2ac57e7294b0a2c2c8f9aca7eaf7ba5c898713d2 /i386/i386/pcb.h | |
parent | c6478d03a31a170755423ea79ff6a2532d965d25 (diff) |
i386/i386/pcb.c: remove forward declarations
* i386/i386/pcb.c (Load_context, Switch_context, Thread_continue, user_ldt_free): Remove forward declarations.
* i386/i386/pcb.h (Load_context, Switch_context, Thread_continue): Add prototypes.
* i386/i386/user_ldt.h (user_ldt_free): Add prototype.
Diffstat (limited to 'i386/i386/pcb.h')
-rw-r--r-- | i386/i386/pcb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/i386/i386/pcb.h b/i386/i386/pcb.h index 9edc594..cea2fe2 100644 --- a/i386/i386/pcb.h +++ b/i386/i386/pcb.h @@ -72,4 +72,10 @@ extern void switch_ktss (pcb_t pcb); extern void update_ktss_iopb (unsigned char *new_iopb, io_port_t size); +extern thread_t Load_context (thread_t new); + +extern thread_t Switch_context (thread_t old, void (*continuation)(), thread_t new); + +extern void Thread_continue (void); + #endif /* _I386_PCB_H_ */ |