提交 e91e82d1 编写于 作者: B bernard.xiong

remove usr mode stack setting.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1033 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 5f85cb2f
......@@ -393,8 +393,9 @@ MC_RCR EQU 0x00 ; MC_RCR Offset
ELSE
MOV SP, R0
SUB SL, SP, #USR_Stack_Size
; No usr mode stack here.
;MOV SP, R0
;SUB SL, SP, #USR_Stack_Size
ENDIF
......@@ -489,7 +490,7 @@ rt_hw_context_switch_interrupt_do PROC
__user_initial_stackheap
LDR R0, = Heap_Mem
LDR R1, =(Stack_Mem + USR_Stack_Size)
LDR R1, = (Stack_Mem + IRQ_Stack_Size)
LDR R2, = (Heap_Mem + Heap_Size)
LDR R3, = Stack_Mem
BX LR
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册