Code Review
/
kvmfornfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add qemu 2.4.0
[kvmfornfv.git]
/
qemu
/
tests
/
tcg
/
lm32
/
test_scall.S
1
.include "macros.inc"
2
3
start
4
5
test_name SCALL_1
6
mvi r1, 1
7
wcsr IE, r1
8
# we are running in a semi hosted environment
9
# therefore we have to set r8 to some unused system
10
# call
11
mvi r8, 0
12
insn:
13
scall
14
check_excp 64
15
16
test_name SCALL_2
17
mv r3, ea
18
check_r3 insn
19
20
test_name SCALL_3
21
rcsr r3, IE
22
check_r3 2
23
24
end