mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
omap1: convert to memory API (part I)
Acked-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
19b4a424d8
commit
4b3fedf3a5
4 changed files with 203 additions and 154 deletions
11
hw/omap.h
11
hw/omap.h
|
@ -826,6 +826,14 @@ struct omap_mpu_state_s {
|
|||
|
||||
qemu_irq wakeup;
|
||||
|
||||
MemoryRegion ulpd_pm_iomem;
|
||||
MemoryRegion pin_cfg_iomem;
|
||||
MemoryRegion id_iomem;
|
||||
MemoryRegion id_iomem_e18;
|
||||
MemoryRegion id_iomem_ed4;
|
||||
MemoryRegion id_iomem_e20;
|
||||
MemoryRegion mpui_iomem;
|
||||
|
||||
struct omap_dma_port_if_s {
|
||||
uint32_t (*read[3])(struct omap_mpu_state_s *s,
|
||||
target_phys_addr_t offset);
|
||||
|
@ -947,7 +955,8 @@ struct omap_mpu_state_s {
|
|||
};
|
||||
|
||||
/* omap1.c */
|
||||
struct omap_mpu_state_s *omap310_mpu_init(unsigned long sdram_size,
|
||||
struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *system_memory,
|
||||
unsigned long sdram_size,
|
||||
const char *core);
|
||||
|
||||
/* omap2.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue