]> git.proxmox.com Git - qemu.git/blob - tests/tcg/xtensa/crt.S
Merge branch 'arm-devs.next' of git://git.linaro.org/people/pmaydell/qemu-arm
[qemu.git] / tests / tcg / xtensa / crt.S
1 .section .init
2 j 1f
3 .section .init.text
4 1:
5 movi a2, _start
6 jx a2
7
8 .text
9 .global _start
10 _start:
11 movi a2, 1
12 wsr a2, windowstart
13 movi a2, 0
14 wsr a2, windowbase
15 movi a1, _fstack
16 movi a2, 0x4000f
17 wsr a2, ps
18 isync
19
20 call0 main
21
22 mov a3, a2
23 movi a2, 1
24 simcall