changeset 17:735c804f890e

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 07 Jul 2022 15:38:55 +0900
parents 53b6746a423b
children 6cf2a3e7cca2
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:46:38 2022 +0900
+++ b/src/defs.h	Thu Jul 07 15:38:55 2022 +0900
@@ -131,10 +131,10 @@
 void            procdump(void);
 void            scheduler(void) __attribute__((noreturn));
 void            sched(void);
-void            sleep(volatile uint *, struct spinlock*);
+void            sleep(struct buf *, struct spinlock*);
 void            userinit(void);
 int             wait(void);
-void            wakeup(volatile uint *);
+void            wakeup(struct buf *);
 void            yield(void);
 
 // swtch.S