add cortex-v7a support
How To Run: see TencentOS-tiny\board\ALPHA_I.MX_emmc_256ddr\README.md TODO Next: 1. VFP support 2. fault diagnosis support 3. qemu vexpress ca9 support 4. raspberry pi support 5. SMP support
This commit is contained in:
@@ -59,7 +59,7 @@ port_clz
|
||||
BX LR
|
||||
|
||||
|
||||
GLOBAL port_sched_start
|
||||
GLOBAL port_sched_start
|
||||
port_sched_start
|
||||
CPSID I
|
||||
|
||||
|
@@ -112,7 +112,7 @@ port_sched_start:
|
||||
@ restore r0, r3
|
||||
LDMFD SP!, {R0 - R3}
|
||||
@ load R12 and LR
|
||||
LDMFD SP!, {R12, LR}
|
||||
LDMFD SP!, {R12, LR}
|
||||
@ load PC and discard xPSR
|
||||
LDMFD SP!, {R1, R2}
|
||||
|
||||
@@ -191,7 +191,7 @@ _context_restore:
|
||||
|
||||
@ Load PSP with new process SP
|
||||
MSR PSP, R0
|
||||
|
||||
|
||||
CPSIE I
|
||||
|
||||
@ R0-R3, R12, LR, PC, xPSR restored automatically here
|
||||
|
Reference in New Issue
Block a user