diff options
author | Tianrui Zhao <zhaotianrui@loongson.cn> | 2023-03-27 19:23:13 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-04-04 19:29:13 +0800 |
commit | 51d54503e8049512bdbe55d4f87caf97cd99ca23 (patch) | |
tree | 7275ee39a701670247cce514a9ec9123574bc8be /scripts/qapi | |
parent | efcd0ec14b0fe9ee0ee70277763b2d538d19238d (diff) | |
download | qemu-51d54503e8049512bdbe55d4f87caf97cd99ca23.zip qemu-51d54503e8049512bdbe55d4f87caf97cd99ca23.tar.gz qemu-51d54503e8049512bdbe55d4f87caf97cd99ca23.tar.bz2 |
hw/loongarch/virt: Fix virt_to_phys_addr function
The virt addr should mask TARGET_PHYS_ADDR_SPACE_BITS to
get the phys addr, and this is used by loading kernel elf.
Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230327112313.3042829-1-zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions