diff options
| author | wuyangyong <[email protected]> | 2011-09-06 15:50:38 +0000 |
|---|---|---|
| committer | wuyangyong <[email protected]> | 2011-09-06 15:50:38 +0000 |
| commit | 34d2f9de386e0bed02823b037dca48f3bf1d7c47 (patch) | |
| tree | 4e83c5581f5fb6164f27771b984be2254dd01702 /libcpu/mips | |
| parent | 0f50919f303b766831b8d6a04a8d6e6e28da1338 (diff) | |
fix spelling errors
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1699 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/mips')
| -rw-r--r-- | libcpu/mips/pic32/context_gcc.S | 8 | ||||
| -rw-r--r-- | libcpu/mips/pic32/cpuport.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libcpu/mips/pic32/context_gcc.S b/libcpu/mips/pic32/context_gcc.S index f5b3493cf3..924f60f910 100644 --- a/libcpu/mips/pic32/context_gcc.S +++ b/libcpu/mips/pic32/context_gcc.S @@ -55,17 +55,17 @@ rt_hw_context_switch: /*
* void rt_hw_context_switch_interrupt(rt_uint32 from, rt_uint32 to)/*
*/
- .globl rt_thread_switch_interrput_flag
+ .globl rt_thread_switch_interrupt_flag
.globl rt_interrupt_from_thread
.globl rt_interrupt_to_thread
.globl rt_hw_context_switch_interrupt
rt_hw_context_switch_interrupt:
- la t0, rt_thread_switch_interrput_flag
+ la t0, rt_thread_switch_interrupt_flag
lw t1, 0(t0)
nop
bnez t1, _reswitch
nop
- li t1, 0x01 /* set rt_thread_switch_interrput_flag to 1 */
+ li t1, 0x01 /* set rt_thread_switch_interrupt_flag to 1 */
sw t1, 0(t0)
la t0, rt_interrupt_from_thread /* set rt_interrupt_from_thread */
sw a0, 0(t0)
@@ -100,7 +100,7 @@ CoreSW0Handler: addiu t1,zero,0x02 /* t1 = (1<<2) */
sw t1, 0(t0) /* IFS0CLR = t1 */
- la k0, rt_thread_switch_interrput_flag
+ la k0, rt_thread_switch_interrupt_flag
sw zero, 0(k0) /* clear flag */
/*
diff --git a/libcpu/mips/pic32/cpuport.c b/libcpu/mips/pic32/cpuport.c index 180ea7a942..0425004de1 100644 --- a/libcpu/mips/pic32/cpuport.c +++ b/libcpu/mips/pic32/cpuport.c @@ -21,7 +21,7 @@ /* exception and interrupt handler table */
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;
rt_uint32_t __attribute__((nomips16)) _get_gp(void)
{
|
