aboutsummaryrefslogtreecommitdiff
path: root/scripts/rust/rustc_args.py
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-04-25 10:05:04 +0800
committerBibo Mao <maobibo@loongson.cn>2025-05-06 09:17:32 +0800
commit73047c825e25a18127dddb89eff0c0bf97a26aed (patch)
treebc090cae5be1a8017ce94a315dead4ad875301ae /scripts/rust/rustc_args.py
parenta41a74ca5323f4d30ac7eb48ec1d54a09fae5baa (diff)
downloadqemu-73047c825e25a18127dddb89eff0c0bf97a26aed.zip
qemu-73047c825e25a18127dddb89eff0c0bf97a26aed.tar.gz
qemu-73047c825e25a18127dddb89eff0c0bf97a26aed.tar.bz2
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>
Diffstat (limited to 'scripts/rust/rustc_args.py')
0 files changed, 0 insertions, 0 deletions