mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 00:27:19 +08:00
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1847 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
c66c182894
commit
da542ee0ca
@ -44,6 +44,7 @@ rt_hw_interrupt_disable:
|
||||
|
||||
RTSD r15, 8
|
||||
AND r0, r0, r0
|
||||
|
||||
.end rt_hw_interrupt_disable
|
||||
|
||||
/*
|
||||
@ -56,6 +57,7 @@ rt_hw_interrupt_disable:
|
||||
rt_hw_interrupt_enable:
|
||||
RTSD r15, 8
|
||||
MTS rMSR, r5 /* Move the saved status from r5 into rMSR */
|
||||
|
||||
.end rt_hw_interrupt_enable
|
||||
|
||||
/*
|
||||
@ -97,6 +99,7 @@ rt_hw_context_switch_ie:
|
||||
ADDIK r1, r1, STACK_SIZE
|
||||
RTID r14, 0 /* IE bit will be set automatically */
|
||||
AND r0, r0, r0
|
||||
|
||||
.end rt_hw_context_switch
|
||||
|
||||
/*
|
||||
@ -142,11 +145,11 @@ _reswitch:
|
||||
SWI r6, r3, 0 /* rt_interrupt_to_thread = to */
|
||||
RTSD r15, 8
|
||||
AND r0, r0, r0
|
||||
|
||||
.end rt_hw_context_switch_interrupt
|
||||
|
||||
|
||||
.globl _interrupt_handler
|
||||
.section .text
|
||||
.align 2
|
||||
.ent _interrupt_handler
|
||||
.type _interrupt_handler, @function
|
||||
@ -222,3 +225,4 @@ return_with_ie:
|
||||
AND r0, r0, r0
|
||||
|
||||
.end _interrupt_handler
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user