move fork into proc.c
This commit is contained in:
parent
dae9b0d48a
commit
215738336a
3 changed files with 24 additions and 27 deletions
7
defs.h
7
defs.h
|
|
@ -94,6 +94,7 @@ int pipewrite(struct pipe*, char*, int);
|
|||
// proc.c
|
||||
struct proc* copyproc(struct proc*);
|
||||
void exit(void);
|
||||
int fork(void);
|
||||
int growproc(int);
|
||||
int kill(int);
|
||||
void pinit(void);
|
||||
|
|
@ -146,9 +147,9 @@ void tvinit(void);
|
|||
extern struct spinlock tickslock;
|
||||
|
||||
// uart.c
|
||||
void uartinit(void);
|
||||
void uartintr(void);
|
||||
void uartputc(int);
|
||||
void uartinit(void);
|
||||
void uartintr(void);
|
||||
void uartputc(int);
|
||||
|
||||
|
||||
// number of elements in fixed-size array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue