summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips/rtems/score
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/mips/rtems/score')
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h28
-rw-r--r--cpukit/score/cpu/mips/rtems/score/mips.h12
2 files changed, 20 insertions, 20 deletions
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index 43290c66c3..4ff4a1fe24 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -391,11 +391,11 @@ extern "C" {
/* WARNING: If this structure is modified, the constants in cpu.h must be updated. */
#if (__mips == 1) || (__mips == 32)
-#define __MIPS_REGISTER_TYPE uint32_t
-#define __MIPS_FPU_REGISTER_TYPE uint32_t
+#define __MIPS_REGISTER_TYPE uint32_t
+#define __MIPS_FPU_REGISTER_TYPE uint32_t
#elif __mips == 3
-#define __MIPS_REGISTER_TYPE uint64_t
-#define __MIPS_FPU_REGISTER_TYPE uint64_t
+#define __MIPS_REGISTER_TYPE uint64_t
+#define __MIPS_FPU_REGISTER_TYPE uint64_t
#else
#error "mips register size: unknown architecture level!!"
#endif
@@ -464,13 +464,13 @@ typedef struct {
* This struct reflects the stack frame employed in ISR_Handler. Note
* that the ISR routine save some of the registers to this frame for
* all interrupts and exceptions. Other registers are saved only on
- * exceptions, while others are not touched at all. The untouched
- * registers are not normally disturbed by high-level language
+ * exceptions, while others are not touched at all. The untouched
+ * registers are not normally disturbed by high-level language
* programs so they can be accessed when required.
*
* The registers and their ordering in this struct must directly
* correspond to the layout and ordering of * shown in iregdef.h,
- * as cpu_asm.S uses those definitions to fill the stack frame.
+ * as cpu_asm.S uses those definitions to fill the stack frame.
* This struct provides access to the stack frame for C code.
*
* Similarly, this structure is used by debugger stubs and exception
@@ -820,17 +820,17 @@ void _CPU_ISR_Set_level( uint32_t ); /* in cpu.c */
* The per-thread status register holds the interrupt enable, FP enable
* and global interrupt enable for that thread. It means each thread can
* enable its own set of interrupts. If interrupts are disabled, RTEMS
- * can still dispatch via blocking calls. This is the function of the
- * "Interrupt Level", and on the MIPS, it controls the IEC bit and all
+ * can still dispatch via blocking calls. This is the function of the
+ * "Interrupt Level", and on the MIPS, it controls the IEC bit and all
* the hardware interrupts as defined in the SR. Software ints
- * are automatically enabled for all threads, as they will only occur under
- * program control anyhow. Besides, the interrupt level parm is only 8 bits,
+ * are automatically enabled for all threads, as they will only occur under
+ * program control anyhow. Besides, the interrupt level parm is only 8 bits,
* and controlling the software ints plus the others would require 9.
*
- * If the Interrupt Level is 0, all ints are on. Otherwise, the
- * Interrupt Level should supply a bit pattern to impose on the SR
+ * If the Interrupt Level is 0, all ints are on. Otherwise, the
+ * Interrupt Level should supply a bit pattern to impose on the SR
* interrupt bits; bit 0 applies to the mips1 IEC bit/mips3 EXL&IE, bits 1 thru 6
- * apply to the SR register Intr bits from bit 10 thru bit 15. Bit 7 of
+ * apply to the SR register Intr bits from bit 10 thru bit 15. Bit 7 of
* the Interrupt Level parameter is unused at this time.
*
* These are the only per-thread SR bits, the others are maintained
diff --git a/cpukit/score/cpu/mips/rtems/score/mips.h b/cpukit/score/cpu/mips/rtems/score/mips.h
index 97307b6f97..1cffa3a15f 100644
--- a/cpukit/score/cpu/mips/rtems/score/mips.h
+++ b/cpukit/score/cpu/mips/rtems/score/mips.h
@@ -52,12 +52,12 @@ extern "C" {
* dependent features are present in a particular member
* of the family.
*/
-
+
#if defined(__mips_soft_float)
#define MIPS_HAS_FPU 0
#else
#define MIPS_HAS_FPU 1
-#endif
+#endif
#if (__mips == 1)
@@ -165,7 +165,7 @@ extern "C" {
/*
- * Access the Breakpoint Program Counter & Mask registers
+ * Access the Breakpoint Program Counter & Mask registers
* (_x for BPC, _y for mask)
*/
@@ -190,7 +190,7 @@ extern "C" {
/*
- * Access the Breakpoint Data Address & Mask registers
+ * Access the Breakpoint Data Address & Mask registers
* (_x for BDA, _y for mask)
*/
@@ -241,9 +241,9 @@ extern "C" {
#endif
/*
- * Manipulate interrupt mask
+ * Manipulate interrupt mask
*
- * mips_unmask_interrupt( _mask)
+ * mips_unmask_interrupt( _mask)
* enables interrupts - mask is positioned so it only needs to be or'ed
* into the status reg. This also does some other things !!!! Caution
* should be used if invoking this while in the middle of a debugging