repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
- Set up the real-mode IDT.
[AROS.git]
/
arch
/
all-unix
/
kernel
/
cpu_arm.c
blob
d68897ea719f0996c1f344377721e42a6ca51299
1
#include <signal.h>
2
3
#include
"kernel_base.h"
4
#include
"kernel_intern.h"
5
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)
15
*/
16
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
}
27
};