Changeset 76fca31 in mainline for kernel/generic/src/interrupt/interrupt.c
- Timestamp:
- 2008-12-16T19:02:07Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ae4443
- Parents:
- 8fe5980
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/interrupt/interrupt.c
r8fe5980 r76fca31 110 110 } 111 111 112 #ifdef CONFIG_KCONSOLE 113 112 114 /** kconsole cmd - print all exceptions */ 113 static int exc_print_cmd(cmd_arg_t *argv)115 static int cmd_exc_print(cmd_arg_t *argv) 114 116 { 115 117 #if (IVT_ITEMS > 0) … … 159 161 } 160 162 163 161 164 static cmd_info_t exc_info = { 162 165 .name = "exc", 163 166 .description = "Print exception table.", 164 .func = exc_print_cmd,167 .func = cmd_exc_print, 165 168 .help = NULL, 166 169 .argc = 0, 167 170 .argv = NULL 168 171 }; 172 173 #endif 169 174 170 175 /** Initialize generic exception handling support */ … … 176 181 exc_register(i, "undef", (iroutine) exc_undef); 177 182 183 #ifdef CONFIG_KCONSOLE 178 184 cmd_initialize(&exc_info); 179 185 if (!cmd_register(&exc_info)) 180 panic("could not register command %s\n", exc_info.name); 186 printf("Cannot register command %s\n", exc_info.name); 187 #endif 181 188 } 182 189
Note:
See TracChangeset
for help on using the changeset viewer.