Ignore:
File:
1 edited

Legend:

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

    r7ddc2c7 r9d58539  
    4343#define INDEV_BUFLEN  512
    4444
    45 /** Input character device out-of-band signal type. */
    46 typedef enum {
    47         INDEV_SIGNAL_SCROLL_UP = 0,
    48         INDEV_SIGNAL_SCROLL_DOWN
    49 } indev_signal_t;
    50 
    5145struct indev;
    5246
    53 /** Input character device operations interface. */
     47/* Input character device operations interface. */
    5448typedef struct {
    5549        /** Read character directly from device, assume interrupts disabled. */
    5650        wchar_t (* poll)(struct indev *);
    57        
    58         /** Signal out-of-band condition. */
    59         void (* signal)(struct indev *, indev_signal_t);
    6051} indev_operations_t;
    6152
     
    7667} indev_t;
    7768
     69
    7870struct outdev;
    7971
    80 /** Output character device operations interface. */
     72/* Output character device operations interface. */
    8173typedef struct {
    8274        /** Write character to output. */
     
    8577        /** Redraw any previously cached characters. */
    8678        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 *);
    9379} outdev_operations_t;
    9480
     
    11399extern void indev_push_character(indev_t *, wchar_t);
    114100extern wchar_t indev_pop_character(indev_t *);
    115 extern void indev_signal(indev_t *, indev_signal_t);
    116101
    117102extern void outdev_initialize(const char *, outdev_t *,
Note: See TracChangeset for help on using the changeset viewer.