Changeset 411b6a6 in mainline for kernel/generic/src/console/console.c
- Timestamp:
- 2009-03-07T16:08:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c84368e
- Parents:
- e06da7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/console.c
re06da7e r411b6a6 107 107 } 108 108 109 static void stdin_suspend(chardev_t *d) 110 { 111 } 112 113 static void stdin_resume(chardev_t *d) 114 { 115 } 116 117 static chardev_operations_t stdin_ops = { 118 .suspend = stdin_suspend, 119 .resume = stdin_resume, 120 }; 121 109 122 /** Standard input character device */ 123 static chardev_t _stdin; 110 124 chardev_t *stdin = NULL; 111 125 chardev_t *stdout = &null_stdout; 126 127 void console_init(void) 128 { 129 chardev_initialize("stdin", &_stdin, &stdin_ops); 130 stdin = &_stdin; 131 } 112 132 113 133 /** Initialize kernel logging facility
Note:
See TracChangeset
for help on using the changeset viewer.