tweak copyright headers (these aren't mine... I just moved the code around)
[qemu/ar7.git] / include / hw / misc / bcm2835_mphi.h
blobe35aaee8e71ce6dc107b6be835d16fa3e0dbba64
1 /*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
3 * This code is licensed under the GNU GPLv2 and later.
4 */
6 #ifndef BCM2835_MPHI_H
7 #define BCM2835_MPHI_H
9 #include "hw/sysbus.h"
11 #define TYPE_BCM2835_MPHI "bcm2835_mphi"
12 #define BCM2835_MPHI(obj) \
13 OBJECT_CHECK(BCM2835MphiState, (obj), TYPE_BCM2835_MPHI)
15 typedef struct {
16 SysBusDevice busdev;
17 MemoryRegion iomem;
19 uint32_t mphi_base;
20 uint32_t mphi_ctrl;
21 uint32_t mphi_outdda;
22 uint32_t mphi_outddb;
23 uint32_t mphi_intstat;
25 qemu_irq irq;
26 } BCM2835MphiState;
28 #endif