summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/score
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h6
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/powerpc.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index 1933308fac..01cd591a58 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -12,7 +12,7 @@
*
* $Id$
*/
-
+
#ifndef _RTEMS_SCORE_CPU_H
#define _RTEMS_SCORE_CPU_H
@@ -394,13 +394,13 @@ typedef struct CPU_Interrupt_frame {
* endianness for ALL fetches -- both code and data -- so the code
* will be fetched incorrectly.
*/
-
+
static inline uint32_t CPU_swap_u32(
uint32_t value
)
{
uint32_t swapped;
-
+
asm volatile("rlwimi %0,%1,8,24,31;"
"rlwimi %0,%1,24,16,23;"
"rlwimi %0,%1,8,8,15;"
diff --git a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
index efe7666c42..93ab3b6499 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
@@ -61,7 +61,7 @@ extern "C" {
* This file contains the information required to build
* RTEMS for the PowerPC family.
*/
-
+
/* Generic ppc */
#ifdef _SOFT_FLOAT
@@ -72,7 +72,7 @@ extern "C" {
#define CPU_MODEL_NAME "Generic (classic FPU)"
#endif
-#define PPC_ALIGNMENT 8
+#define PPC_ALIGNMENT 8
#define PPC_STRUCTURE_ALIGNMENT 32
/*
@@ -132,7 +132,7 @@ extern "C" {
* support doubles (8-byte floating point numbers).
*
* If the model does NOT have FP support, then the model does
- * NOT have double length FP registers.
+ * NOT have double length FP registers.
*/
#if (PPC_HAS_FPU)