Rev 2927 | Rev 4346 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2927 | Rev 4341 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | /** Suspend pushing characters. */ |
48 | /** Suspend pushing characters. */ |
49 | void (* suspend)(struct chardev *); |
49 | void (* suspend)(struct chardev *); |
50 | /** Resume pushing characters. */ |
50 | /** Resume pushing characters. */ |
51 | void (* resume)(struct chardev *); |
51 | void (* resume)(struct chardev *); |
52 | /** Write character to stream. */ |
52 | /** Write character to stream. */ |
53 | void (* write)(struct chardev *, char c); |
53 | void (* write)(struct chardev *, char c, bool silent); |
54 | /** Read character directly from device, assume interrupts disabled. */ |
54 | /** Read character directly from device, assume interrupts disabled. */ |
55 | char (* read)(struct chardev *); |
55 | char (* read)(struct chardev *); |
56 | } chardev_operations_t; |
56 | } chardev_operations_t; |
57 | 57 | ||
58 | /** Character input device. */ |
58 | /** Character input device. */ |