- Set up the real-mode IDT.
[AROS.git] / arch / all-unix / kernel / cpu_arm.c
blobd68897ea719f0996c1f344377721e42a6ca51299
1 #include <signal.h>
3 #include "kernel_base.h"
4 #include "kernel_intern.h"
6 /*
7 * ARM exceptions are the following:
8 * 0 - Reset
9 * 1 - Data abort
10 * 2 - FIQ
11 * 3 - IRQ
12 * 4 - Prefetch abort
13 * 5 - Invalid instruction
14 * 6 - Software interrupt (not simulated)
17 struct SignalTranslation const sigs[] = {
18 {SIGILL , 4, 5},
19 {SIGTRAP , 9, 5},
20 {SIGBUS , 2, 1},
21 {SIGFPE , 11, 1},
22 {SIGSEGV , 2, 1},
23 #ifdef HOST_OS_linux
24 {SIGSTKFLT, 14, 1},
25 #endif
26 {-1 , -1, -1}