提交 c7c21467 创建 作者: Austin Clements's avatar Austin Clements

Oops. Broke the build when I rearranged proc.c

上级 d599aa2e
...@@ -101,6 +101,7 @@ int kill(int); ...@@ -101,6 +101,7 @@ int kill(int);
void pinit(void); void pinit(void);
void procdump(void); void procdump(void);
void scheduler(void) __attribute__((noreturn)); void scheduler(void) __attribute__((noreturn));
void sched(void);
void sleep(void*, struct spinlock*); void sleep(void*, struct spinlock*);
void userinit(void); void userinit(void);
int wait(void); int wait(void);
......
...@@ -17,6 +17,8 @@ int nextpid = 1; ...@@ -17,6 +17,8 @@ int nextpid = 1;
extern void forkret(void); extern void forkret(void);
extern void trapret(void); extern void trapret(void);
static void wakeup1(void *chan);
void void
pinit(void) pinit(void)
{ {
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论