mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
qtest/machine-none: Add LoongArch support
Update the cpu_maps[] to support the LoongArch target. Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220713020258.601424-1-gaosong@loongson.cn> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
28a48ed5f7
commit
e18f27d9ed
@ -54,6 +54,7 @@ static struct arch2cpu cpus_map[] = {
|
|||||||
{ "riscv64", "rv64" },
|
{ "riscv64", "rv64" },
|
||||||
{ "riscv32", "rv32" },
|
{ "riscv32", "rv32" },
|
||||||
{ "rx", "rx62n" },
|
{ "rx", "rx62n" },
|
||||||
|
{ "loongarch64", "la464"},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *get_cpu_model_by_arch(const char *arch)
|
static const char *get_cpu_model_by_arch(const char *arch)
|
||||||
|
Loading…
Reference in New Issue
Block a user