aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc/loongarch_ipi.h
blob: a7c6bf85d3b2217f32b5d558aa8fd682d038904b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * LoongArch IPI interrupt header files
 *
 * Copyright (C) 2024 Loongson Technology Corporation Limited
 */

#ifndef HW_LOONGARCH_IPI_H
#define HW_LOONGARCH_IPI_H

#include "qom/object.h"
#include "hw/intc/loongson_ipi_common.h"

#define TYPE_LOONGARCH_IPI  "loongarch_ipi"
OBJECT_DECLARE_TYPE(LoongarchIPIState, LoongarchIPIClass, LOONGARCH_IPI)

struct LoongarchIPIState {
    LoongsonIPICommonState parent_obj;
};

struct LoongarchIPIClass {
    LoongsonIPICommonClass parent_class;
    DeviceRealize parent_realize;
    ResettablePhases parent_phases;
};

#endif