mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-04 20:42:30 +08:00
enter svc mode instead enter user mode in startup assemble file; change mmu file for Keil MDK.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@213 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
1 parent
80be36d818
commit
31d281e979
2 files changed
+107
-47
No files matched your search
+106
-46
File diff suppressed because it is too large.
Load diff
@@ -1061,7 +1061,7 @@ Reset_Handler
|
||||
SUB R0, R0, #SVC_Stack_Size
|
||||
|
||||
; Enter User Mode and set its Stack Pointer
|
||||
MSR CPSR_c, #Mode_USR
|
||||
; MSR CPSR_c, #Mode_USR
|
||||
MOV SP, R0
|
||||
SUB SL, SP, #USR_Stack_Size
|
||||
|
||||
|
||||
Reference in new issue
Block a user