1 /* 2 * SPDX-License-Identifer: GPL-2.0-or-later 3 * 4 * Virt system Controller 5 */ 6 7 #ifndef VIRT_CTRL_H 8 #define VIRT_CTRL_H 9 10 #define TYPE_VIRT_CTRL "virt-ctrl" 11 OBJECT_DECLARE_SIMPLE_TYPE(VirtCtrlState, VIRT_CTRL) 12 13 struct VirtCtrlState { 14 SysBusDevice parent_obj; 15 16 MemoryRegion iomem; 17 qemu_irq irq; 18 19 uint32_t irq_enabled; 20 }; 21 22 #endif 23