Changeset a35b458 in mainline for kernel/arch/sparc64/src/console.c
- Timestamp:
- 2018-03-02T20:10:49Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/console.c
r3061bc1 ra35b458 69 69 if (!screen) 70 70 panic("Cannot find %s.", (char *) prop_scr->value); 71 71 72 72 scr_init(screen); 73 73 #endif … … 82 82 if (!keyboard) 83 83 panic("Cannot find %s.", (char *) prop_kbd->value); 84 84 85 85 kbd_init(keyboard); 86 86 #endif … … 95 95 ofw_tree_node_t *aliases; 96 96 ofw_tree_property_t *prop; 97 97 98 98 aliases = ofw_tree_lookup("/aliases"); 99 99 if (!aliases) 100 100 panic("Cannot find '/aliases'."); 101 101 102 102 /* "def-cn" = "default console" */ 103 103 prop = ofw_tree_getprop(aliases, "def-cn"); 104 104 105 105 if ((!prop) || (!prop->value)) 106 106 standard_console_init(aliases);
Note:
See TracChangeset
for help on using the changeset viewer.