remove usr mode stack setting.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1033 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2010-10-29 05:59:11 +00:00
parent 5f85cb2f78
commit e91e82d166
1 changed files with 4 additions and 3 deletions

View File

@ -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