Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / misc / virt_ctrl.h
blob81346cf017ea69f0a343d54651471a1e40d56f59
1 /*
2 * SPDX-License-Identifier: GPL-2.0-or-later
4 * Virt system Controller
5 */
7 #ifndef VIRT_CTRL_H
8 #define VIRT_CTRL_H
10 #include "hw/sysbus.h"
12 #define TYPE_VIRT_CTRL "virt-ctrl"
13 OBJECT_DECLARE_SIMPLE_TYPE(VirtCtrlState, VIRT_CTRL)
15 struct VirtCtrlState {
16 SysBusDevice parent_obj;
18 MemoryRegion iomem;
19 qemu_irq irq;
21 uint32_t irq_enabled;
24 #endif