Mercurial > hg > CbC > CbC_xv6
diff src/defs.h @ 37:fb3e5a2f76c1
fix
author | mir3636 |
---|---|
date | Fri, 22 Feb 2019 22:36:17 +0900 |
parents | 7a63dacab7f8 |
children | 0ddcd561d975 |
line wrap: on
line diff
--- a/src/defs.h Fri Feb 22 22:15:33 2019 +0900 +++ b/src/defs.h Fri Feb 22 22:36:17 2019 +0900 @@ -121,6 +121,7 @@ int pipealloc(struct file**, struct file**); void pipeclose(struct pipe*, int); int piperead(struct pipe*, char*, int); +__code cbc_piperead(struct pipe*, char*, int, __code (*)(int)); int pipewrite(struct pipe*, char*, int); //PAGEBREAK: 16 @@ -138,6 +139,7 @@ void sleep(void*, struct spinlock*); void userinit(void); int wait(void); +__code cbc_wakeup(void*, __code(*next1)()); void wakeup(void*); void yield(void);