Changeset 1433ecda in mainline for kernel/generic/include/console
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- Location:
- kernel/generic/include/console
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/chardev.h
r47b2d7e3 r1433ecda 55 55 typedef struct { 56 56 /** Read character directly from device, assume interrupts disabled. */ 57 wchar_t (* 57 wchar_t (*poll)(struct indev *); 58 58 59 59 /** Signal out-of-band condition. */ 60 void (* 60 void (*signal)(struct indev *, indev_signal_t); 61 61 } indev_operations_t; 62 62 … … 82 82 typedef struct { 83 83 /** Write character to output. */ 84 void (* 84 void (*write)(struct outdev *, wchar_t); 85 85 86 86 /** Redraw any previously cached characters. */ 87 void (* 87 void (*redraw)(struct outdev *); 88 88 89 89 /** Scroll up in the device cache. */ 90 void (* 90 void (*scroll_up)(struct outdev *); 91 91 92 92 /** Scroll down in the device cache. */ 93 void (* 93 void (*scroll_down)(struct outdev *); 94 94 } outdev_operations_t; 95 95 -
kernel/generic/include/console/kconsole.h
r47b2d7e3 r1433ecda 81 81 const char *description; 82 82 /** Function implementing the command. */ 83 int (* 83 int (*func)(cmd_arg_t *); 84 84 /** Number of arguments. */ 85 85 size_t argc; … … 87 87 cmd_arg_t *argv; 88 88 /** Function for printing detailed help. */ 89 void (* 89 void (*help)(void); 90 90 /** Function for enumerating hints for arguments. */ 91 91 hints_enum_func_t hints_enum;
Note:
See TracChangeset
for help on using the changeset viewer.