mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
pxa: Pass in address_space to pxa{255, 270}_init
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
3e9f0113b4
commit
a6dc4c2d95
7 changed files with 25 additions and 13 deletions
7
hw/pxa.h
7
hw/pxa.h
|
@ -9,6 +9,8 @@
|
|||
#ifndef PXA_H
|
||||
# define PXA_H "pxa.h"
|
||||
|
||||
#include "memory.h"
|
||||
|
||||
/* Interrupt numbers */
|
||||
# define PXA2XX_PIC_SSP3 0
|
||||
# define PXA2XX_PIC_USBH2 2
|
||||
|
@ -173,7 +175,8 @@ struct PXA2xxI2SState {
|
|||
# define PA_FMT "0x%08lx"
|
||||
# define REG_FMT "0x" TARGET_FMT_plx
|
||||
|
||||
PXA2xxState *pxa270_init(unsigned int sdram_size, const char *revision);
|
||||
PXA2xxState *pxa255_init(unsigned int sdram_size);
|
||||
PXA2xxState *pxa270_init(MemoryRegion *address_space, unsigned int sdram_size,
|
||||
const char *revision);
|
||||
PXA2xxState *pxa255_init(MemoryRegion *address_space, unsigned int sdram_size);
|
||||
|
||||
#endif /* PXA_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue