diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-08-21 14:59:55 +0200 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-08-24 11:17:55 +0800 |
commit | 146f2354b58aaa7b223e0394d889f83138911d9f (patch) | |
tree | 7160bbcaa4f552b0efe4d209d2463c24367a0168 /target/loongarch/cpu.h | |
parent | 0b36072786c1972d4876ff799ef611be153dfaa3 (diff) |
target/loongarch: Introduce abstract TYPE_LOONGARCH64_CPU
In preparation of introducing TYPE_LOONGARCH32_CPU, introduce
an abstract TYPE_LOONGARCH64_CPU.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230821125959.28666-5-philmd@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch/cpu.h')
-rw-r--r-- | target/loongarch/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h index fa371ca8ba..c50b3a5ef3 100644 --- a/target/loongarch/cpu.h +++ b/target/loongarch/cpu.h @@ -377,6 +377,7 @@ struct ArchCPU { }; #define TYPE_LOONGARCH_CPU "loongarch-cpu" +#define TYPE_LOONGARCH64_CPU "loongarch64-cpu" OBJECT_DECLARE_CPU_TYPE(LoongArchCPU, LoongArchCPUClass, LOONGARCH_CPU) |