Skip to content
Snippets Groups Projects
user avatar
Tianrui Zhao authored
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: default avatarTianrui Zhao <zhaotianrui@loongson.cn>
Acked-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20230327112313.3042829-1-zhaotianrui@loongson.cn>
Signed-off-by: default avatarSong Gao <gaosong@loongson.cn>
51d54503
History