repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git]
/
tests
/
tcg
/
xtensa
/
crt.S
blob
909872cd3853514066ea6572ea1526b0545a2085
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