diff options
| author | dzzxzz <[email protected]> | 2011-09-09 07:30:39 +0000 |
|---|---|---|
| committer | dzzxzz <[email protected]> | 2011-09-09 07:30:39 +0000 |
| commit | f7d1ca323b4957e8ee7cc2425df9e2459594bddc (patch) | |
| tree | 49c43b9b1a88bb81996b407d8abfba818b657f01 /libcpu/arm | |
| parent | 9fce2db27e664fc3ea8961878ea7f3e8c5c929b2 (diff) | |
fixed a spelling error
rt_thread_switch_interrput_flag -> rt_thread_switch_interrupt_flag
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1704 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/arm')
| -rw-r--r-- | libcpu/arm/fm3/context_gcc.S | 10 | ||||
| -rw-r--r-- | libcpu/arm/fm3/context_iar.S | 12 | ||||
| -rw-r--r-- | libcpu/arm/fm3/context_rvds.S | 12 | ||||
| -rw-r--r-- | libcpu/arm/fm3/cpuport.c | 2 |
4 files changed, 18 insertions, 18 deletions
diff --git a/libcpu/arm/fm3/context_gcc.S b/libcpu/arm/fm3/context_gcc.S index f706f88318..6c80c0e27d 100644 --- a/libcpu/arm/fm3/context_gcc.S +++ b/libcpu/arm/fm3/context_gcc.S @@ -59,8 +59,8 @@ rt_hw_interrupt_enable: rt_hw_context_switch_interrupt:
rt_hw_context_switch:
- /* set rt_thread_switch_interrput_flag to 1 */
- LDR r2, =rt_thread_switch_interrput_flag
+ /* set rt_thread_switch_interrupt_flag to 1 */
+ LDR r2, =rt_thread_switch_interrupt_flag
LDR r3, [r2]
CMP r3, #1
BEQ _reswitch
@@ -91,11 +91,11 @@ rt_hw_pend_sv: CPSID I
/* get rt_thread_switch_interrupt_flag */
- LDR r0, =rt_thread_switch_interrput_flag
+ LDR r0, =rt_thread_switch_interrupt_flag
LDR r1, [r0]
CBZ r1, pendsv_exit /* pendsv already handled */
- /* clear rt_thread_switch_interrput_flag to 0 */
+ /* clear rt_thread_switch_interrupt_flag to 0 */
MOV r1, #0x00
STR r1, [r0]
@@ -139,7 +139,7 @@ rt_hw_context_switch_to: STR r0, [r1]
/* set interrupt flag to 1 */
- LDR r1, =rt_thread_switch_interrput_flag
+ LDR r1, =rt_thread_switch_interrupt_flag
MOV r0, #1
STR r0, [r1]
diff --git a/libcpu/arm/fm3/context_iar.S b/libcpu/arm/fm3/context_iar.S index 74bc8631d8..b236a60846 100644 --- a/libcpu/arm/fm3/context_iar.S +++ b/libcpu/arm/fm3/context_iar.S @@ -28,7 +28,7 @@ NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV excep REQUIRE8 PRESERVE8 - IMPORT rt_thread_switch_interrput_flag + IMPORT rt_thread_switch_interrupt_flag IMPORT rt_interrupt_from_thread IMPORT rt_interrupt_to_thread @@ -58,8 +58,8 @@ rt_hw_interrupt_enable: EXPORT rt_hw_context_switch rt_hw_context_switch_interrupt: rt_hw_context_switch: - ; set rt_thread_switch_interrput_flag to 1 - LDR r2, =rt_thread_switch_interrput_flag + ; set rt_thread_switch_interrupt_flag to 1 + LDR r2, =rt_thread_switch_interrupt_flag LDR r3, [r2] CMP r3, #1 BEQ _reswitch @@ -89,11 +89,11 @@ rt_hw_pend_sv: CPSID I ; get rt_thread_switch_interrupt_flag - LDR r0, =rt_thread_switch_interrput_flag + LDR r0, =rt_thread_switch_interrupt_flag LDR r1, [r0] CBZ r1, pendsv_exit ; pendsv already handled - ; clear rt_thread_switch_interrput_flag to 0 + ; clear rt_thread_switch_interrupt_flag to 0 MOV r1, #0x00 STR r1, [r0] @@ -136,7 +136,7 @@ rt_hw_context_switch_to: STR r0, [r1] ; set interrupt flag to 1 - LDR r1, =rt_thread_switch_interrput_flag + LDR r1, =rt_thread_switch_interrupt_flag MOV r0, #1 STR r0, [r1] diff --git a/libcpu/arm/fm3/context_rvds.S b/libcpu/arm/fm3/context_rvds.S index b6a87c1772..b3d09a4f43 100644 --- a/libcpu/arm/fm3/context_rvds.S +++ b/libcpu/arm/fm3/context_rvds.S @@ -22,7 +22,7 @@ NVIC_PENDSVSET EQU 0x10000000 ; value to trigger PendSV excep REQUIRE8
PRESERVE8
- IMPORT rt_thread_switch_interrput_flag
+ IMPORT rt_thread_switch_interrupt_flag
IMPORT rt_interrupt_from_thread
IMPORT rt_interrupt_to_thread
@@ -55,8 +55,8 @@ rt_hw_context_switch_interrupt rt_hw_context_switch PROC
EXPORT rt_hw_context_switch
- ; set rt_thread_switch_interrput_flag to 1
- LDR r2, =rt_thread_switch_interrput_flag
+ ; set rt_thread_switch_interrupt_flag to 1
+ LDR r2, =rt_thread_switch_interrupt_flag
LDR r3, [r2]
CMP r3, #1
BEQ _reswitch
@@ -87,11 +87,11 @@ rt_hw_pend_sv PROC CPSID I
; get rt_thread_switch_interrupt_flag
- LDR r0, =rt_thread_switch_interrput_flag
+ LDR r0, =rt_thread_switch_interrupt_flag
LDR r1, [r0]
CBZ r1, pendsv_exit ; pendsv already handled
- ; clear rt_thread_switch_interrput_flag to 0
+ ; clear rt_thread_switch_interrupt_flag to 0
MOV r1, #0x00
STR r1, [r0]
@@ -137,7 +137,7 @@ rt_hw_context_switch_to PROC STR r0, [r1]
; set interrupt flag to 1
- LDR r1, =rt_thread_switch_interrput_flag
+ LDR r1, =rt_thread_switch_interrupt_flag
MOV r0, #1
STR r0, [r1]
diff --git a/libcpu/arm/fm3/cpuport.c b/libcpu/arm/fm3/cpuport.c index c07b136020..e25cb30746 100644 --- a/libcpu/arm/fm3/cpuport.c +++ b/libcpu/arm/fm3/cpuport.c @@ -20,7 +20,7 @@ /* switch flag on interrupt and thread pointer to save switch record */
rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
-rt_uint32_t rt_thread_switch_interrput_flag;
+rt_uint32_t rt_thread_switch_interrupt_flag;
/* stack context in ARM Cortex-M3 */
struct stack_context
|
