mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-05 13:52:02 -10:00
A number of headers neglect to include everything they need. They compile only if the headers they need are already included from elsewhere. Fix that. Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-Id: <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
25 lines
369 B
C
25 lines
369 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*
|
|
* Virt system Controller
|
|
*/
|
|
|
|
#ifndef VIRT_CTRL_H
|
|
#define VIRT_CTRL_H
|
|
|
|
#include "hw/sysbus.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
|