summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/defs.h b/defs.h
index f271b59..9e10bee 100644
--- a/defs.h
+++ b/defs.h
@@ -10,11 +10,18 @@ void cons_putc(int);
// proc.c
struct proc;
+struct jmpbuf;
void setupsegs(struct proc *);
struct proc * newproc(void);
void swtch(void);
void sleep(void *);
void wakeup(void *);
+void scheduler(void);
+
+// swtch.S
+struct jmpbuf;
+int setjmp(struct jmpbuf*);
+void longjmp(struct jmpbuf*);
// trap.c
void tvinit(void);