Files
QEMU-S5L8950X/include/hw/arm/s5l8950x.h
T

44 lines
1.0 KiB
C

#ifndef HW_ARM_S5L8950X_H
#define HW_ARM_S5L8950X_H
#include "qemu/osdep.h"
#include "hw/core/sysbus.h"
#include "target/arm/cpu.h"
#include "qom/object.h"
#define TYPE_S5L8950X "s5l8950x"
#define TYPE_S5L8950X_MACHINE "s5l8950x-machine"
#define TYPE_S5L8950X_CHIPID "s5l8950x-chipid"
#define TYPE_S5L8950X_AIC "s5l8950x-aic"
#define TYPE_S5L8950X_UART "s5l8950x-uart"
#define TYPE_S5L8950X_TIMER "s5l8950x-timer"
#define TYPE_S5L8950X_PMGR "s5l8950x-pmgr"
#define TYPE_S5L8950X_GPIO "s5l8950x-gpio"
#define TYPE_S5L8950X_USB_PHY "s5l8950x-usb-phy"
#define TYPE_S5L8950X_USB_OTG "s5l8950x-usb-otg"
OBJECT_DECLARE_SIMPLE_TYPE(S5L8950XState, S5L8950X)
struct S5L8950XState {
/*< private >*/
DeviceState parent_obj;
/*< public >*/
ARMCPU cpu;
MemoryRegion securerom;
MemoryRegion sram;
SysBusDevice *chipid;
SysBusDevice *aic;
SysBusDevice *uart;
SysBusDevice *timer;
SysBusDevice *pmgr;
SysBusDevice *gpio;
SysBusDevice *usb_phy;
SysBusDevice *usb_otg;
};
#endif /* HW_ARM_S5L8950X_H */