ppc/xive: Add support for PQ state bits offload
[qemu.git] / include / hw / misc / bcm2835_property.h
blob712b76b7a322bf056741233c5bf98cccc5fa0f0a
1 /*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 #ifndef BCM2835_PROPERTY_H
9 #define BCM2835_PROPERTY_H
11 #include "hw/sysbus.h"
12 #include "net/net.h"
13 #include "hw/display/bcm2835_fb.h"
14 #include "qom/object.h"
16 #define TYPE_BCM2835_PROPERTY "bcm2835-property"
17 OBJECT_DECLARE_SIMPLE_TYPE(BCM2835PropertyState, BCM2835_PROPERTY)
19 struct BCM2835PropertyState {
20 /*< private >*/
21 SysBusDevice busdev;
22 /*< public >*/
24 MemoryRegion *dma_mr;
25 AddressSpace dma_as;
26 MemoryRegion iomem;
27 qemu_irq mbox_irq;
28 BCM2835FBState *fbdev;
30 MACAddr macaddr;
31 uint32_t board_rev;
32 uint32_t addr;
33 bool pending;
36 #endif