forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
345 B
C
23 lines
345 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*
|
|
* Virt system Controller
|
|
*/
|
|
|
|
#ifndef VIRT_CTRL_H
|
|
#define VIRT_CTRL_H
|
|
|
|
#define TYPE_VIRT_CTRL "virt-ctrl"
|
|
OBJECT_DECLARE_SIMPLE_TYPE(VirtCtrlState, VIRT_CTRL)
|
|
|
|
struct VirtCtrlState {
|
|
SysBusDevice parent_obj;
|
|
|
|
MemoryRegion iomem;
|
|
qemu_irq irq;
|
|
|
|
uint32_t irq_enabled;
|
|
};
|
|
|
|
#endif
|