Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / arch / xtensa / boot / boot-elf / bootstrap.S
1
2 #include <xtensa/config/specreg.h>
3 #include <xtensa/config/core.h>
4
5 #include <asm/bootparam.h>
6
7
8 /* ResetVector
9  */
10         .section        .ResetVector.text, "ax"
11         .global         _ResetVector
12 _ResetVector:
13         _j reset
14         .align 4
15 RomInitAddr:
16         .word 0xd0001000
17 RomBootParam:
18         .word _bootparam
19 reset:
20         l32r    a0, RomInitAddr
21         l32r    a2, RomBootParam
22         movi    a3, 0
23         movi    a4, 0
24         jx      a0
25
26         .align 4
27         .section .bootstrap.data, "aw"
28
29         .globl _bootparam
30 _bootparam:
31         .short  BP_TAG_FIRST
32         .short  4
33         .long   BP_VERSION
34         .short  BP_TAG_LAST
35         .short  0
36         .long   0