Mercurial > lcfOS
annotate kernel/startup_a9.asm @ 362:c05ab629976a
Added CPUID for arm
author | Windel Bouwman |
---|---|
date | Sat, 15 Mar 2014 10:56:34 +0100 |
parents | 899ae3aea803 |
children | 577ed7fb3fe4 |
rev | line source |
---|---|
340 | 1 |
352 | 2 mov sp, 0x30000 |
3 BL kernel_start ; Branch to main (this is actually in the interrupt vector) | |
4 local_loop: | |
5 B local_loop | |
362 | 6 |
7 | |
8 ; Called to identify the proc: | |
9 arch_pfr0: | |
10 mrc p15, 0, r0, c0, c1, 0 | |
11 mov pc, lr | |
12 | |
13 arch_pfr1: | |
14 mrc p15, 0, r0, c0, c1, 1 | |
15 mov pc, lr | |
16 | |
17 arch_mmfr0: | |
18 mrc p15, 0, r0, c0, c1, 4 | |
19 mov pc, lr | |
20 | |
21 | |
22 arch_mpuir: | |
23 mrc p15, 0, r0, c0, c0, 4 | |
24 mov pc, lr |