1 #include "qemu-common.h"
4 #ifndef BCM2835_PERIPHERALS_H
5 #define BCM2835_PERIPHERALS_H
7 #define TYPE_BCM2835_PERIPHERALS "bcm2835_peripherals"
8 #define BCM2835_PERIPHERALS(obj) \
9 OBJECT_CHECK(BCM2835PeripheralState, (obj), TYPE_BCM2835_PERIPHERALS)
11 typedef struct BCM2835PeripheralState
{
13 SysBusDevice parent_obj
;
16 MemoryRegion peri_mr
, peri_mr_alias
, gpu_bus_mr
;
17 AddressSpace gpu_bus_as
;
18 MemoryRegion ram_alias
[4];
21 SysBusDevice
*ic
, *uart0
, *uart1
, *systimer
, *armtimer
, *usb
, *mphi
, *sbm
,
22 *power
, *fb
, *property
, *vchiq
, *emmc
, *dma
;
23 } BCM2835PeripheralState
;
25 #endif /* BCM2835_PERIPHERALS_H */