qemu-cr16/tests/tcg/loongarch64
Bibo Mao 73047c825e hw/loongarch/virt: Get physical entry address with elf file
With load_elf() api, image load low address and high address is converted
to physical address if parameter translate_fn is provided. However
executing entry address is still virtual address. Here convert entry
address into physical address, since MMU is disabled when system power on,
the first PC instruction should be physical address.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Song Gao <gaosong@loongson.cn>
2025-05-06 09:17:32 +08:00
..
system hw/loongarch/virt: Get physical entry address with elf file 2025-05-06 09:17:32 +08:00
float_convd.ref
float_convs.ref
float_madds.ref
Makefile.softmmu-target tests/tcg/loongarch64: Use --no-warn-rwx-segments to link system tests 2024-07-30 11:44:13 +01:00
Makefile.target target/loongarch: Remove cpu_fcsr0 2022-08-08 19:42:53 -07:00
test_bit.c tests/tcg/loongarch64: Add clo related instructions test 2022-07-19 21:53:58 +05:30
test_div.c tests/tcg/loongarch64: Add div and mod related instructions test 2022-07-19 21:53:58 +05:30
test_fclass.c tests/tcg/loongarch64: Add fclass test 2022-07-19 21:53:58 +05:30
test_fcsr.c target/loongarch: Remove cpu_fcsr0 2022-08-08 19:42:53 -07:00
test_fpcom.c tests/tcg/loongarch64: Add fp comparison instructions test 2022-07-19 22:54:56 +05:30
test_pcadd.c tests/tcg/loongarch64: Add pcadd related instructions test 2022-07-19 22:55:10 +05:30