Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/console/chardev.h

    r28a5ebd r39e1b9a  
    3939#include <stdbool.h>
    4040#include <stddef.h>
    41 #include <synch/waitq.h>
     41#include <synch/semaphore.h>
    4242#include <synch/spinlock.h>
    4343
     
    6464typedef struct indev {
    6565        const char *name;
    66         waitq_t wq;
     66        semaphore_t wq;
    6767
    6868        /** Protects everything below. */
     
    8181/** Output character device operations interface. */
    8282typedef struct {
    83         /** Write character to output. */
    84         void (*write)(struct outdev *, char32_t);
     83        /** Write string to output. */
     84        void (*write)(struct outdev *, const char *, size_t);
    8585
    8686        /** Redraw any previously cached characters. */
Note: See TracChangeset for help on using the changeset viewer.