MCPcopy Create free account
hub / github.com/HelenOS/helenos / exc_init

Function exc_init

kernel/generic/src/interrupt/interrupt.c:334–350  ·  view source on GitHub ↗

Initialize generic exception handling support * */

Source from the content-addressed store, hash-verified

332 *
333 */
334void exc_init(void)
335{
336 (void) exc_undef;
337
338#if (IVT_ITEMS > 0)
339 unsigned int i;
340
341 for (i = 0; i < IVT_ITEMS; i++)
342 exc_register(i, "undef", false, (iroutine_t) exc_undef);
343#endif
344
345#ifdef CONFIG_KCONSOLE
346 cmd_initialize(&exc_info);
347 if (!cmd_register(&exc_info))
348 printf("Cannot register command %s\n", exc_info.name);
349#endif
350}
351
352/** @}
353 */

Callers 1

main_bsp_separated_stackFunction · 0.85

Calls 4

exc_registerFunction · 0.85
cmd_initializeFunction · 0.85
cmd_registerFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected