Mercurial > hg > Members > shivanidubey > xv6
changeset 14:4f068be78ce7
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 05 Jul 2022 16:50:35 +0900 |
parents | 16f496e8b857 |
children | 08564b4a4260 |
files | src/defs.h src/main.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/defs.h Sat Jun 22 13:19:06 2019 +0900 +++ b/src/defs.h Tue Jul 05 16:50:35 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 int*, struct spinlock*); void userinit(void); int wait(void); -void wakeup(void*); +void wakeup(volatile int*); void yield(void); // swtch.S
--- a/src/main.c Sat Jun 22 13:19:06 2019 +0900 +++ b/src/main.c Tue Jul 05 16:50:35 2022 +0900 @@ -37,7 +37,7 @@ trap_init (); // vector table and stacks for models pic_init (P2V(VIC_BASE)); // interrupt controller uart_enable_rx (); // interrupt for uart - init_DWT(); + // init_DWT(); consoleinit (); // console pinit (); // process (locks)