xref: /openbmc/qemu/include/hw/intc/loongarch_ipi.h (revision e69b2c67)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * LoongArch IPI interrupt header files
4  *
5  * Copyright (C) 2024 Loongson Technology Corporation Limited
6  */
7 
8 #ifndef HW_LOONGARCH_IPI_H
9 #define HW_LOONGARCH_IPI_H
10 
11 #include "qom/object.h"
12 #include "hw/intc/loongson_ipi_common.h"
13 
14 #define TYPE_LOONGARCH_IPI  "loongarch_ipi"
15 OBJECT_DECLARE_TYPE(LoongarchIPIState, LoongarchIPIClass, LOONGARCH_IPI)
16 
17 struct LoongarchIPIState {
18     LoongsonIPICommonState parent_obj;
19 };
20 
21 struct LoongarchIPIClass {
22     LoongsonIPICommonClass parent_class;
23 };
24 
25 #endif
26