summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/shared/abort
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 14:53:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 14:53:02 +0000
commit32b8506b2409a01d434dd0ab5024c7718852ebcb (patch)
tree24b3215851217bf05c40cc8a62af4d021019b5d1 /c/src/lib/libbsp/arm/shared/abort
parentWhitespace removal. (diff)
downloadrtems-32b8506b2409a01d434dd0ab5024c7718852ebcb.tar.bz2
Whitespace removal.
Diffstat (limited to 'c/src/lib/libbsp/arm/shared/abort')
-rw-r--r--c/src/lib/libbsp/arm/shared/abort/abort.c14
-rw-r--r--c/src/lib/libbsp/arm/shared/abort/simple_abort.c8
2 files changed, 11 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/arm/shared/abort/abort.c b/c/src/lib/libbsp/arm/shared/abort/abort.c
index 3d78a5cd94..3bd704c32e 100644
--- a/c/src/lib/libbsp/arm/shared/abort/abort.c
+++ b/c/src/lib/libbsp/arm/shared/abort/abort.c
@@ -9,9 +9,9 @@
*
* Copyright (c) 2002 Advent Networks, Inc
* Jay Monkman <jmonkman@adventnetworks.com>
- *
+ *
* If you want a small footprint RTEMS, pls use simple_abort.c
- *
+ *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
@@ -58,7 +58,7 @@ char *_print_full_context_mode2txt[0x20]={
[0xb]="undef", /* Undefined */
[0xf]="system" /* System */
};
-
+
void _print_full_context(uint32_t spsr)
{
@@ -94,13 +94,13 @@ void _print_full_context(uint32_t spsr)
}
-/* This function is supposed to figure out what caused the
+/* This function is supposed to figure out what caused the
* data abort, do that, then return.
*
* All unhandled instructions cause the system to hang.
*/
-void do_data_abort(uint32_t insn, uint32_t spsr,
+void do_data_abort(uint32_t insn, uint32_t spsr,
Context_Control *ctx)
{
/* Clarify, which type is correct, CPU_Exception_frame or Context_Control */
@@ -110,7 +110,7 @@ void do_data_abort(uint32_t insn, uint32_t spsr,
g_data_abort_insn_list[g_data_abort_cnt & 0x3ff] = ctx->register_lr - 8;
g_data_abort_cnt++;
-
+
decode = ((insn >> 20) & 0xff);
insn_type = decode & INSN_MASK;
@@ -143,7 +143,7 @@ void do_data_abort(uint32_t insn, uint32_t spsr,
printk("\n\nUnrecognized instruction\n");
break;
}
-
+
printk("data_abort at address 0x%x, instruction: 0x%x, spsr = 0x%x\n",
ctx->register_lr - 8, insn, spsr);
diff --git a/c/src/lib/libbsp/arm/shared/abort/simple_abort.c b/c/src/lib/libbsp/arm/shared/abort/simple_abort.c
index e3c6b1cab3..25f6aee4e5 100644
--- a/c/src/lib/libbsp/arm/shared/abort/simple_abort.c
+++ b/c/src/lib/libbsp/arm/shared/abort/simple_abort.c
@@ -11,7 +11,7 @@
* Jay Monkman <jmonkman@adventnetworks.com>
*
* This is a simple implement of abort
- *
+ *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
@@ -99,7 +99,7 @@ void _print_full_context(uint32_t spsr)
}
-/* This function is supposed to figure out what caused the
+/* This function is supposed to figure out what caused the
* data abort, do that, then return.
*
* All unhandled instructions cause the system to hang.
@@ -107,7 +107,7 @@ void _print_full_context(uint32_t spsr)
void do_data_abort(
uint32_t insn,
- uint32_t spsr,
+ uint32_t spsr,
Context_Control *ctx
)
{
@@ -149,7 +149,7 @@ void do_data_abort(
printk("\n\nUnrecognized instruction\n");
break;
}
-
+
printk("data_abort at address 0x%x, instruction: 0x%x, spsr = 0x%x\n",
ctx->register_lr - 8, insn, spsr);