remove bogus exec perms
[qemu/ar7.git] / include / hw / arm / bcm2835_peripherals.h
blob02d091aa5c7645fd9832972a9824b1f72c21b50e
1 /*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
3 * Upstreaming code cleanup [including bcm2835_*] (c) 2013 Jan Petrous
5 * Rasperry Pi 2 emulation and refactoring Copyright (c) 2015, Microsoft
6 * Written by Andrew Baumann
8 * This code is licensed under the GNU GPLv2 and later.
9 */
11 #ifndef BCM2835_PERIPHERALS_H
12 #define BCM2835_PERIPHERALS_H
14 #include "qemu-common.h"
15 #include "exec/address-spaces.h"
16 #include "hw/sysbus.h"
17 #include "hw/char/bcm2835_aux.h"
18 #include "hw/display/bcm2835_fb.h"
19 #include "hw/dma/bcm2835_dma.h"
20 #include "hw/intc/bcm2835_ic.h"
21 #include "hw/misc/bcm2835_mphi.h"
22 #include "hw/misc/bcm2835_power.h"
23 #include "hw/misc/bcm2835_property.h"
24 #include "hw/misc/bcm2835_mbox.h"
25 #include "hw/sd/sdhci.h"
26 #include "hw/timer/bcm2835_st.h"
27 #include "hw/timer/bcm2835_timer.h"
28 #include "hw/usb/bcm2835_usb.h"
30 #define TYPE_BCM2835_PERIPHERALS "bcm2835-peripherals"
31 #define BCM2835_PERIPHERALS(obj) \
32 OBJECT_CHECK(BCM2835PeripheralState, (obj), TYPE_BCM2835_PERIPHERALS)
34 typedef struct BCM2835PeripheralState {
35 /*< private >*/
36 SysBusDevice parent_obj;
37 /*< public >*/
39 MemoryRegion peri_mr, peri_mr_alias, gpu_bus_mr, mbox_mr;
40 MemoryRegion ram_alias[4];
41 qemu_irq irq, fiq;
43 SysBusDevice *uart0;
44 BCM2835AuxState aux;
45 BCM2835FbState fb;
46 BCM2835DmaState dma;
47 BCM2835ICState ic;
48 BCM2835MphiState mphi;
49 BCM2835PowerState power;
50 BCM2835PropertyState property;
51 BCM2835MboxState mboxes;
52 SDHCIState sdhci;
53 BCM2835StState st;
54 BCM2835TimerState timer;
55 BCM2835UsbState usb;
56 } BCM2835PeripheralState;
58 #endif /* BCM2835_PERIPHERALS_H */