0e84a0ec6e
give cpu1 a TSS and gdt for when it enters scheduler() and a pseudo proc[] entry for each cpu cpu0 waits for each other cpu to start up read() for files
18 lines
403 B
C
18 lines
403 B
C
int fork(void);
|
|
int exit(void) __attribute__((noreturn));
|
|
int wait(void);
|
|
int cons_putc(int);
|
|
int pipe(int*);
|
|
int write(int, void*, int);
|
|
int read(int, void*, int);
|
|
int close(int);
|
|
int block(void);
|
|
int kill(int);
|
|
int panic(char*);
|
|
int cons_puts(char*);
|
|
int exec(char *, char **);
|
|
int open(char *, int);
|
|
int mknod (char*,short,short,short);
|
|
int puts(char*);
|
|
int puts1(char*);
|
|
char* strcpy(char*, char*);
|