Changeset 3266412 in mainline
- Timestamp:
- 2016-03-08T15:32:15Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dc0e41c
- Parents:
- e8d48d2
- Location:
- kernel/generic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/kconsole.h
re8d48d2 r3266412 105 105 106 106 extern bool cmd_register(cmd_info_t *cmd); 107 extern const char *cmdtab_enum(const char *name, const char **h, void **ctx); 107 108 108 109 #endif -
kernel/generic/src/console/cmd.c
re8d48d2 r3266412 247 247 .func = cmd_desc, 248 248 .argc = 1, 249 .argv = &desc_argv 249 .argv = &desc_argv, 250 .hints_enum = cmdtab_enum 250 251 }; 251 252 … … 263 264 .func = cmd_symaddr, 264 265 .argc = 1, 265 .argv = &symaddr_argv 266 .argv = &symaddr_argv, 267 .hints_enum = symtab_hints_enum, 266 268 }; 267 269 -
kernel/generic/src/console/kconsole.c
re8d48d2 r3266412 165 165 166 166 /** Try to find a command beginning with prefix */ 167 NO_TRACE static const char *cmdtab_enum(const char *name, 168 const char **h, void **ctx) 167 const char *cmdtab_enum(const char *name, const char **h, void **ctx) 169 168 { 170 169 link_t **startpos = (link_t**)ctx;
Note:
See TracChangeset
for help on using the changeset viewer.