Rev 3844 | Rev 3906 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3844 | Rev 3852 | ||
|---|---|---|---|
| Line 144... | Line 144... | ||
| 144 | SPINLOCK_INITIALIZE(sgcn_input_lock); |
144 | SPINLOCK_INITIALIZE(sgcn_input_lock); |
| 145 | 145 | ||
| 146 | 146 | ||
| 147 | /* functions referenced from definitions of I/O operations structures */ |
147 | /* functions referenced from definitions of I/O operations structures */ |
| 148 | static void sgcn_noop(chardev_t *); |
148 | static void sgcn_noop(chardev_t *); |
| 149 | static void sgcn_putchar(chardev_t *, const char); |
149 | static void sgcn_putchar(chardev_t *, const char, bool); |
| 150 | static char sgcn_key_read(chardev_t *); |
150 | static char sgcn_key_read(chardev_t *); |
| 151 | 151 | ||
| 152 | /** character device operations */ |
152 | /** character device operations */ |
| 153 | static chardev_operations_t sgcn_ops = { |
153 | static chardev_operations_t sgcn_ops = { |
| 154 | .suspend = sgcn_noop, |
154 | .suspend = sgcn_noop, |