diff options
author | Tianrui Zhao <zhaotianrui@loongson.cn> | 2023-05-16 16:27:57 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-06-16 17:58:42 +0800 |
commit | 8f30771ce61b0290fdb00b4cdbbc514723008a12 (patch) | |
tree | a7778ed2bf6ccefc2897d985643c267efc9098fd /target/loongarch/cpu.h | |
parent | 7efd65423ab22e6f5890ca08ae40c84d6660242f (diff) |
hw/loongarch/virt: Add cpu arch_id support
With acpi madt table, there is cpu physical coreid, which may
be different with logical id in qemu. This patch adds cpu arch_id
support, and fill madt table with arch_id. For the present cpu
arch_id is still equal to logical id.
Reviewed-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230613120552.2471420-2-zhaotianrui@loongson.cn>
Diffstat (limited to 'target/loongarch/cpu.h')
0 files changed, 0 insertions, 0 deletions