linux-user: Use both si_code and si_signo when converting siginfo_t
[qemu/kevin.git] / include / hw / misc / bcm2835_property.h
blobedcab603cee465f95f8f566d699f4511aed21db5
1 /*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
3 * This code is licensed under the GNU GPLv2 and later.
4 */
6 #ifndef BCM2835_PROPERTY_H
7 #define BCM2835_PROPERTY_H
9 #include "hw/sysbus.h"
10 #include "exec/address-spaces.h"
11 #include "net/net.h"
12 #include "hw/display/bcm2835_fb.h"
14 #define TYPE_BCM2835_PROPERTY "bcm2835-property"
15 #define BCM2835_PROPERTY(obj) \
16 OBJECT_CHECK(BCM2835PropertyState, (obj), TYPE_BCM2835_PROPERTY)
18 typedef struct {
19 /*< private >*/
20 SysBusDevice busdev;
21 /*< public >*/
23 MemoryRegion *dma_mr;
24 AddressSpace dma_as;
25 MemoryRegion iomem;
26 qemu_irq mbox_irq;
27 BCM2835FBState *fbdev;
29 MACAddr macaddr;
30 uint32_t board_rev;
31 uint32_t addr;
32 bool pending;
33 } BCM2835PropertyState;
35 #endif