Mercurial > hg > Members > shivanidubey > xv6
changeset 16:53b6746a423b
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 05 Jul 2022 18:46:38 +0900 |
parents | 08564b4a4260 |
children | 735c804f890e |
files | src/defs.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/defs.h Tue Jul 05 18:42:33 2022 +0900 +++ b/src/defs.h Tue Jul 05 18:46:38 2022 +0900 @@ -131,10 +131,10 @@ void procdump(void); void scheduler(void) __attribute__((noreturn)); void sched(void); -void sleep(void *, struct spinlock*); +void sleep(volatile uint *, struct spinlock*); void userinit(void); int wait(void); -void wakeup(void *); +void wakeup(volatile uint *); void yield(void); // swtch.S