Mercurial > hg > Members > innparusu > xv6-rpi
comparison src/entry.S @ 11:1d371d93ab4f
commit
author | mir3636 |
---|---|
date | Fri, 16 Feb 2018 16:37:55 +0900 |
parents | 83c23a36980d |
children | ad95e7f82f1e |
comparison
equal
deleted
inserted
replaced
10:be7ae6f2993b | 11:1d371d93ab4f |
---|---|
12 LDR r2, =end_entry | 12 LDR r2, =end_entry |
13 MOV r3, #0x00 | 13 MOV r3, #0x00 |
14 | 14 |
15 1: | 15 1: |
16 CMP r1, r2 | 16 CMP r1, r2 |
17 STMLTIA r1!, {r3} | 17 # STMLTIA r1!, {r3} |
18 STMIALT r1!, {r3} | |
18 BLT 1b | 19 BLT 1b |
19 | 20 |
20 # initialize stack pointers for svc modes | 21 # initialize stack pointers for svc modes |
21 MSR CPSR_cxsf, #(SVC_MODE|NO_INT) | 22 MSR CPSR_cxsf, #(SVC_MODE|NO_INT) |
22 LDR sp, =svc_stktop | 23 LDR sp, =svc_stktop |