Changeset 03e0beaf in mainline for uspace/srv/hid/input/input.c
- Timestamp:
- 2016-12-27T12:52:04Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce5a0f1
- Parents:
- 1a2befb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
r1a2befb r03e0beaf 43 43 #include <ipc/input.h> 44 44 #include <sysinfo.h> 45 #include <config.h> 45 46 #include <stdio.h> 46 47 #include <unistd.h> … … 903 904 } 904 905 905 char *boot_args; 906 size_t size; 907 908 boot_args = sysinfo_get_data("boot_args", &size); 909 if (boot_args && size) { 910 char *args = boot_args; 911 char *arg; 912 #define ARG_CONSOLE "console=" 913 while ((arg = str_tok(args, " ", &args)) != NULL) { 914 if (!str_lcmp(arg, ARG_CONSOLE, 915 str_length(ARG_CONSOLE))) { 916 serial_console = arg + str_length(ARG_CONSOLE); 917 break; 918 } 919 } 920 } 906 serial_console = config_get_value("console"); 921 907 922 908 /* Add legacy keyboard devices. */
Note:
See TracChangeset
for help on using the changeset viewer.