diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2008-10-08 02:43:47 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-08 02:43:47 -0400 |
commit | 5c64e0d5109532f8184be29c1dc163059e3ded4b (patch) | |
tree | b39ae82bbdc99dba134c48c00e16d949ef742541 /arch/blackfin/include | |
parent | aca5e4aac88a0ee84e9dc63e3d4189adbaef24ca (diff) |
Blackfin arch: Better error handling of unknown exceptions
Better error handling of unknown exceptions, allows userspace to do a
EXCPT n instruction for a not installed exception handler, and the
kernel doesn't crash (like it use to before this).
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/traps.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/traps.h b/arch/blackfin/include/asm/traps.h index f0e5f940d9ca..34f7295fb070 100644 --- a/arch/blackfin/include/asm/traps.h +++ b/arch/blackfin/include/asm/traps.h | |||
@@ -59,6 +59,9 @@ | |||
59 | level " or a 16-bit register is accessed with a 32-bit instruction.\n" | 59 | level " or a 16-bit register is accessed with a 32-bit instruction.\n" |
60 | #define HWC_x3(level) \ | 60 | #define HWC_x3(level) \ |
61 | "External Memory Addressing Error\n" | 61 | "External Memory Addressing Error\n" |
62 | #define EXC_0x04(level) \ | ||
63 | "Unimplmented exception occured\n" \ | ||
64 | level " - Maybe you forgot to install a custom exception handler?\n" | ||
62 | #define HWC_x12(level) \ | 65 | #define HWC_x12(level) \ |
63 | "Performance Monitor Overflow\n" | 66 | "Performance Monitor Overflow\n" |
64 | #define HWC_x18(level) \ | 67 | #define HWC_x18(level) \ |
@@ -84,7 +87,7 @@ | |||
84 | level " a particular processor implementation.\n" | 87 | level " a particular processor implementation.\n" |
85 | #define EXC_0x22(level) \ | 88 | #define EXC_0x22(level) \ |
86 | "Illegal instruction combination\n" \ | 89 | "Illegal instruction combination\n" \ |
87 | level " - See section for multi-issue rules in the ADSP-BF53x Blackfin\n" \ | 90 | level " - See section for multi-issue rules in the Blackfin\n" \ |
88 | level " Processor Instruction Set Reference.\n" | 91 | level " Processor Instruction Set Reference.\n" |
89 | #define EXC_0x23(level) \ | 92 | #define EXC_0x23(level) \ |
90 | "Data access CPLB protection violation\n" \ | 93 | "Data access CPLB protection violation\n" \ |