Changes in kernel/generic/include/console/chardev.h [28a5ebd:39e1b9a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/chardev.h
r28a5ebd r39e1b9a 39 39 #include <stdbool.h> 40 40 #include <stddef.h> 41 #include <synch/ waitq.h>41 #include <synch/semaphore.h> 42 42 #include <synch/spinlock.h> 43 43 … … 64 64 typedef struct indev { 65 65 const char *name; 66 waitq_t wq;66 semaphore_t wq; 67 67 68 68 /** Protects everything below. */ … … 81 81 /** Output character device operations interface. */ 82 82 typedef struct { 83 /** Write characterto output. */84 void (*write)(struct outdev *, c har32_t);83 /** Write string to output. */ 84 void (*write)(struct outdev *, const char *, size_t); 85 85 86 86 /** Redraw any previously cached characters. */
Note:
See TracChangeset
for help on using the changeset viewer.