| * This software may be distributed and modified according to the terms of |
| * the BSD 2-Clause license. Note that NO WARRANTY is provided. |
| * See "LICENSE_BSD2.txt" for details. |
| #include <stdio.h> /* For fprintf() */ |
| #include <stdlib.h> /* For abort() */ |
| #include <sel4utils/sel4_debug.h> |
| "seL4_InvalidCapability", |
| __sel4_error(int sel4_error, const char *file, |
| const char *function, int line, char * str) |
| fprintf(stderr, "seL4 Error: %s, function %s, file %s, line %d: %s\n", |
| sel4_errlist[sel4_error], |
| function, file, line, str); |