aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/loongarch64/system/boot.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/loongarch64/system/boot.S')
-rw-r--r--tests/tcg/loongarch64/system/boot.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/tcg/loongarch64/system/boot.S b/tests/tcg/loongarch64/system/boot.S
index 67eb1c04ce..37a81bafe7 100644
--- a/tests/tcg/loongarch64/system/boot.S
+++ b/tests/tcg/loongarch64/system/boot.S
@@ -21,9 +21,10 @@ _start:
.align 16
_exit:
2: /* QEMU ACPI poweroff */
- li.w t0, 0xff
- li.w t1, 0x10080010
- st.w t0, t1, 0
+ li.w t0, 0x34
+ li.w t1, 0x100e001c
+ st.b t0, t1, 0
+
idle 0
bl 2b