Mercurial > lcfOS
comparison kernel/startup_a9.asm @ 377:9667d78ba79e
Switched to xml for project description
author | Windel Bouwman |
---|---|
date | Fri, 11 Apr 2014 15:47:50 +0200 |
parents | 19eacf4f7270 |
children |
comparison
equal
deleted
inserted
replaced
376:1e951e71d3f1 | 377:9667d78ba79e |
---|---|
13 | 13 |
14 start: | 14 start: |
15 | 15 |
16 ; Setup TTBR1 (translation table base register) | 16 ; Setup TTBR1 (translation table base register) |
17 | 17 |
18 mov r0, 0 | 18 ; mov r0, =kernel_table0-KERNEL_BASE |
19 mcr p15, 0, r0, c2, c0, 1 ; TTBR1 | 19 mcr p15, 0, r0, c2, c0, 1 ; TTBR1 |
20 mcr p15, 0, r0, c2, c0, 0 ; TTBR0 | 20 mcr p15, 0, r0, c2, c0, 0 ; TTBR0 |
21 | 21 |
22 ; Prepare the TTBCR (translation table base control register) | 22 ; Prepare the TTBCR (translation table base control register) |
23 mov r0, 0x1 ; TBD: why set this to 1? | 23 mov r0, 0x1 ; TBD: why set this to 1? |