Ignore:
File:
1 edited

Legend:

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

    r83dab11 ra35b458  
    5656        /** Read character directly from device, assume interrupts disabled. */
    5757        wchar_t (* poll)(struct indev *);
    58        
     58
    5959        /** Signal out-of-band condition. */
    6060        void (* signal)(struct indev *, indev_signal_t);
     
    6565        const char *name;
    6666        waitq_t wq;
    67        
     67
    6868        /** Protects everything below. */
    6969        IRQ_SPINLOCK_DECLARE(lock);
    7070        wchar_t buffer[INDEV_BUFLEN];
    7171        size_t counter;
    72        
     72
    7373        /** Implementation of indev operations. */
    7474        indev_operations_t *op;
     
    8383        /** Write character to output. */
    8484        void (* write)(struct outdev *, wchar_t);
    85        
     85
    8686        /** Redraw any previously cached characters. */
    8787        void (* redraw)(struct outdev *);
    88        
     88
    8989        /** Scroll up in the device cache. */
    9090        void (* scroll_up)(struct outdev *);
    91        
     91
    9292        /** Scroll down in the device cache. */
    9393        void (* scroll_down)(struct outdev *);
     
    9797typedef struct outdev {
    9898        const char *name;
    99        
     99
    100100        /** Protects everything below. */
    101101        SPINLOCK_DECLARE(lock);
    102        
     102
    103103        /** Fields suitable for multiplexing. */
    104104        link_t link;
    105105        list_t list;
    106        
     106
    107107        /** Implementation of outdev operations. */
    108108        outdev_operations_t *op;
Note: See TracChangeset for help on using the changeset viewer.