hw/arm: add experimental iPhone 5 A6 platform

This commit is contained in:
2026-08-31 02:16:31 +02:00
parent cf256aa081
commit 47977dd34a
34 changed files with 4524 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
#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 */