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
/
riscv64
/
test-noc.S
blob
e29d60c8b3805c76ce3e2b4ccfda591029791e9f
1
#include <asm/unistd.h>
2
3
.text
4
.globl _start
5
_start:
6
.option norvc
7
li a0, 4 /* SIGILL */
8
la a1, sa
9
li a2, 0
10
li a3, 8
11
li a7, __NR_rt_sigaction
12
scall
13
14
.option rvc
15
li a0, 1
16
j exit
17
.option norvc
18
19
pass:
20
li a0, 0
21
exit:
22
li a7, __NR_exit
23
scall
24
25
.data
26
/* struct kernel_sigaction sa = { .sa_handler = pass }; */
27
.type sa, @object
28
.size sa, 32
29
sa:
30
.dword pass
31
.zero 24
32