mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Switch to qemu_ram_alloc() for memory allocation in PXA255/270.
Pass correct RAM size to arm_load_kernel (currently unused) - thanks to BobOfDoom. Register the Xscale Internal Memory Storage. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2784 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ce8198612e
commit
d95b2f8d36
4 changed files with 35 additions and 19 deletions
8
hw/pxa.h
8
hw/pxa.h
|
@ -57,7 +57,8 @@
|
|||
# define PXA2XX_RX_RQ_SSP3 66
|
||||
# define PXA2XX_TX_RQ_SSP3 67
|
||||
|
||||
# define PXA2XX_RAM_BASE 0xa0000000
|
||||
# define PXA2XX_SDRAM_BASE 0xa0000000
|
||||
# define PXA2XX_INTERNAL_BASE 0x5c000000
|
||||
|
||||
/* pxa2xx_pic.c */
|
||||
struct pxa2xx_pic_state_s;
|
||||
|
@ -200,8 +201,9 @@ struct pxa2xx_i2s_s {
|
|||
# define PA_FMT "0x%08lx"
|
||||
# define REG_FMT "0x%lx"
|
||||
|
||||
struct pxa2xx_state_s *pxa270_init(DisplayState *ds, const char *revision);
|
||||
struct pxa2xx_state_s *pxa255_init(DisplayState *ds);
|
||||
struct pxa2xx_state_s *pxa270_init(unsigned int sdram_size, DisplayState *ds,
|
||||
const char *revision);
|
||||
struct pxa2xx_state_s *pxa255_init(unsigned int sdram_size, DisplayState *ds);
|
||||
|
||||
void pxa2xx_reset(int line, int level, void *opaque);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue