move jkstack to main.c

replace jstack with asm()s
This commit is contained in:
Robert Morris 2010-08-05 14:15:03 -04:00
parent eb18645f17
commit 2cf6b32d4d
6 changed files with 17 additions and 28 deletions

2
defs.h
View file

@ -110,7 +110,6 @@ void yield(void);
// swtch.S
void swtch(struct context**, struct context*);
void jstack(uint);
// spinlock.c
void acquire(struct spinlock*);
@ -157,7 +156,6 @@ void pminit(void);
void ksegment(void);
void kvmalloc(void);
void vminit(void);
void jkstack();
void printstack(void);
void printpgdir(pde_t *);
pde_t* setupkvm(void);