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
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
1
352
899ae3aea803 First kernel run for vexpressA9
Windel Bouwman
parents: 340
diff changeset
2 mov sp, 0x30000
899ae3aea803 First kernel run for vexpressA9
Windel Bouwman
parents: 340
diff changeset
3 BL kernel_start ; Branch to main (this is actually in the interrupt vector)
899ae3aea803 First kernel run for vexpressA9
Windel Bouwman
parents: 340
diff changeset
4 local_loop:
899ae3aea803 First kernel run for vexpressA9
Windel Bouwman
parents: 340
diff changeset
5 B local_loop
362
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
6
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
7
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
8 ; Called to identify the proc:
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
9 arch_pfr0:
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
10 mrc p15, 0, r0, c0, c1, 0
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
11 mov pc, lr
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
12
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
13 arch_pfr1:
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
14 mrc p15, 0, r0, c0, c1, 1
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
15 mov pc, lr
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
16
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
17 arch_mmfr0:
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
18 mrc p15, 0, r0, c0, c1, 4
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
19 mov pc, lr
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
20
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
21
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
22 arch_mpuir:
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
23 mrc p15, 0, r0, c0, c0, 4
c05ab629976a Added CPUID for arm
Windel Bouwman
parents: 352
diff changeset
24 mov pc, lr