소스 검색

Run init routines from SVC handler

DricomDragon 5 년 전
부모
커밋
f9d2579cf8
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      prog/sources/reset-handler-sequential.s

+ 2 - 4
prog/sources/reset-handler-sequential.s

@@ -40,10 +40,8 @@ reset.handler: @ Cortex M4 boots with interrupts enabled, in Thread mode
 @--- Software must use an ISB barrier instruction to ensure a write to the CONTROL register
 @ takes effect before the next instruction is executed.
   isb
-@---------------------------------- Run init routines, interrupt disabled
-  cpsid i              @ Disable interrupts
-  bl    start.phase2
-  cpsie i              @ Enable interrupts
+@---------------------------------- Run init routines, from SVC handler
+  svc	#0
 @---------------------------------- Run setup, loop
   bl    setup.function
 background.task: