]> Git Repo - qemu.git/blob - tests/tcg/xtensa/crt.S
works with less than base ISA qemu-system-riscv32 -M virt -bios none -kernel output...
[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 #if XCHAL_HAVE_WINDOWED
12     movi    a2, 1
13     wsr     a2, windowstart
14     movi    a2, 0
15     wsr     a2, windowbase
16 #endif
17     movi    a1, _fstack
18     movi    a2, 0x4000f
19     wsr     a2, ps
20     isync
21
22     call0   main
23
24     mov     a3, a2
25     movi    a2, 1
26     simcall
This page took 0.027304 seconds and 4 git commands to generate.