summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_riscv/host_missing/accel_missing/2074
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
commit3e4c5a6261770bced301b5e74233e7866166ea5b (patch)
tree9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_riscv/host_missing/accel_missing/2074
parente5634e2806195bee44407853c4bf8776f7abfa4f (diff)
downloadqemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz
qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_riscv/host_missing/accel_missing/2074')
-rw-r--r--gitlab/issues_text/target_riscv/host_missing/accel_missing/207420
1 files changed, 0 insertions, 20 deletions
diff --git a/gitlab/issues_text/target_riscv/host_missing/accel_missing/2074 b/gitlab/issues_text/target_riscv/host_missing/accel_missing/2074
deleted file mode 100644
index 7470beb49..000000000
--- a/gitlab/issues_text/target_riscv/host_missing/accel_missing/2074
+++ /dev/null
@@ -1,20 +0,0 @@
-riscv64  cannot use the mret instruction to jump to the address corresponding to s mode
-Description of problem:
-I use coreboot to boot my linux kernel.The kernel is copied at 0x82200000,I set reg mepc 0x82200000,and set reg mstatus a00000800.
-and I use "mret" instruction so that qemu can jump to 0x82200000 and enter S mode.But some errors happened.
-It shows:
-[DEBUG]  Exception:          Instruction access fault
-[DEBUG]  Hart ID:            0
-[DEBUG]  Previous mode:      machine
-[DEBUG]  Bad instruction pc: 0x8103f7c0
-[DEBUG]  Bad address:        0x00000000
-[DEBUG]  Stored ra:          0x8103f7b8
-[DEBUG]  Stored sp:          0x82032f08
-Bad instruction pc: 0x8103f7c0 in my elf file instruction is "mret".
-So I can not jump to my kernel's load address.
-I think when I use -bios option,my qemu should in M mode.How could I can jump to my mepc address?
-Steps to reproduce:
-1.download qemu
-2.download coreboot
-Additional information:
-When I enter qemu with -bios option,I find that the reg mstatus is 0xa0000000.