annotate kernel/startup_a9.asm @ 367:577ed7fb3fe4

Try to make thumb work again
author Windel Bouwman
date Fri, 21 Mar 2014 10:27:57 +0100
parents c05ab629976a
children 19eacf4f7270
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:
367
577ed7fb3fe4 Try to make thumb work again
Windel Bouwman
parents: 362
diff changeset
9 archmem_pfr0:
362
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
367
577ed7fb3fe4 Try to make thumb work again
Windel Bouwman
parents: 362
diff changeset
13 archmem_pfr1:
362
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
367
577ed7fb3fe4 Try to make thumb work again
Windel Bouwman
parents: 362
diff changeset
17 archmem_mmfr0:
362
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
367
577ed7fb3fe4 Try to make thumb work again
Windel Bouwman
parents: 362
diff changeset
22 archmem_mpuir:
362
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