Changes in kernel/generic/include/console/chardev.h [7ddc2c7:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/chardev.h
r7ddc2c7 r9d58539 43 43 #define INDEV_BUFLEN 512 44 44 45 /** Input character device out-of-band signal type. */46 typedef enum {47 INDEV_SIGNAL_SCROLL_UP = 0,48 INDEV_SIGNAL_SCROLL_DOWN49 } indev_signal_t;50 51 45 struct indev; 52 46 53 /* *Input character device operations interface. */47 /* Input character device operations interface. */ 54 48 typedef struct { 55 49 /** Read character directly from device, assume interrupts disabled. */ 56 50 wchar_t (* poll)(struct indev *); 57 58 /** Signal out-of-band condition. */59 void (* signal)(struct indev *, indev_signal_t);60 51 } indev_operations_t; 61 52 … … 76 67 } indev_t; 77 68 69 78 70 struct outdev; 79 71 80 /* *Output character device operations interface. */72 /* Output character device operations interface. */ 81 73 typedef struct { 82 74 /** Write character to output. */ … … 85 77 /** Redraw any previously cached characters. */ 86 78 void (* redraw)(struct outdev *); 87 88 /** Scroll up in the device cache. */89 void (* scroll_up)(struct outdev *);90 91 /** Scroll down in the device cache. */92 void (* scroll_down)(struct outdev *);93 79 } outdev_operations_t; 94 80 … … 113 99 extern void indev_push_character(indev_t *, wchar_t); 114 100 extern wchar_t indev_pop_character(indev_t *); 115 extern void indev_signal(indev_t *, indev_signal_t);116 101 117 102 extern void outdev_initialize(const char *, outdev_t *,
Note:
See TracChangeset
for help on using the changeset viewer.