URL
https://opencores.org/ocsvn/amber/amber/trunk
Subversion Repositories amber
Compare Revisions
- This comparison shows the changes necessary to convert path
/amber/trunk/sw/hello-world
- from Rev 6 to Rev 11
- ↔ Reverse comparison
Rev 6 → Rev 11
/sections.lds
48,7 → 48,7
|
SECTIONS { |
|
. = 0x00000000; |
. = 0x0080e400; |
|
._start : |
{ |
/hello-world.c
47,6 → 47,9
main () |
{ |
printf ("Hello, World!\n"); |
/* Flush out UART FIFO */ |
printf (" "); |
_testpass(); |
} |
|
|
/start.S
51,9 → 51,9
|
@ Enable the cache |
mov r0, #0xffffffff |
mcr p15, 0, r0, c3, c0, 0 @ cacheable area |
mcr 15, 0, r0, cr3, cr0, 0 @ cacheable area |
mov r0, #1 |
mcr p15, 0, r0, c2, c0, 0 @ cache enable |
mcr 15, 0, r0, cr2, cr0, 0 @ cache enable |
|
@ initialize the stack pointer |
ldr sp, AdrStack |