xref: /openbmc/qemu/target/hexagon/cpu-qom.h (revision 9ca6876d)
1 /*
2  * QEMU Hexagon CPU QOM header (target agnostic)
3  *
4  * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 
9 #ifndef QEMU_HEXAGON_CPU_QOM_H
10 #define QEMU_HEXAGON_CPU_QOM_H
11 
12 #include "hw/core/cpu.h"
13 
14 #define TYPE_HEXAGON_CPU "hexagon-cpu"
15 
16 #define HEXAGON_CPU_TYPE_SUFFIX "-" TYPE_HEXAGON_CPU
17 #define HEXAGON_CPU_TYPE_NAME(name) (name HEXAGON_CPU_TYPE_SUFFIX)
18 
19 #define TYPE_HEXAGON_CPU_V66 HEXAGON_CPU_TYPE_NAME("v66")
20 #define TYPE_HEXAGON_CPU_V67 HEXAGON_CPU_TYPE_NAME("v67")
21 #define TYPE_HEXAGON_CPU_V68 HEXAGON_CPU_TYPE_NAME("v68")
22 #define TYPE_HEXAGON_CPU_V69 HEXAGON_CPU_TYPE_NAME("v69")
23 #define TYPE_HEXAGON_CPU_V71 HEXAGON_CPU_TYPE_NAME("v71")
24 #define TYPE_HEXAGON_CPU_V73 HEXAGON_CPU_TYPE_NAME("v73")
25 
26 OBJECT_DECLARE_CPU_TYPE(HexagonCPU, HexagonCPUClass, HEXAGON_CPU)
27 
28 #endif
29