diff options
Diffstat (limited to 'defs.h')
| -rw-r--r-- | defs.h | 7 | 
1 files changed, 7 insertions, 0 deletions
| @@ -6,6 +6,7 @@ struct pipe;  struct proc;  struct rtcdate;  struct spinlock; +struct sleeplock;  struct stat;  struct superblock; @@ -128,6 +129,12 @@ void            release(struct spinlock*);  void            pushcli(void);  void            popcli(void); +// sleeplock.c +void            acquiresleep(struct sleeplock*); +void            releasesleep(struct sleeplock*); +int             holdingsleep(struct sleeplock*); +void            initsleeplock(struct sleeplock*, char*); +  // string.c  int             memcmp(const void*, const void*, uint);  void*           memmove(void*, const void*, uint); | 
