mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Break up vl.h.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
257514ddce
commit
87ecb68bdf
224 changed files with 2416 additions and 1842 deletions
14
hw/pxa2xx.c
14
hw/pxa2xx.c
|
@ -7,7 +7,13 @@
|
|||
* This code is licenced under the GPL.
|
||||
*/
|
||||
|
||||
# include "vl.h"
|
||||
#include "hw.h"
|
||||
#include "pxa.h"
|
||||
#include "sysemu.h"
|
||||
#include "pc.h"
|
||||
#include "i2c.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "qemu-char.h"
|
||||
|
||||
static struct {
|
||||
target_phys_addr_t io_base;
|
||||
|
@ -2064,7 +2070,8 @@ struct pxa2xx_state_s *pxa270_init(unsigned int sdram_size,
|
|||
|
||||
s->gpio = pxa2xx_gpio_init(0x40e00000, s->env, s->pic, 121);
|
||||
|
||||
s->mmc = pxa2xx_mmci_init(0x41100000, s->pic[PXA2XX_PIC_MMC], s->dma);
|
||||
s->mmc = pxa2xx_mmci_init(0x41100000, sd_bdrv, s->pic[PXA2XX_PIC_MMC],
|
||||
s->dma);
|
||||
|
||||
for (i = 0; pxa270_serial[i].io_base; i ++)
|
||||
if (serial_hds[i])
|
||||
|
@ -2180,7 +2187,8 @@ struct pxa2xx_state_s *pxa255_init(unsigned int sdram_size,
|
|||
|
||||
s->gpio = pxa2xx_gpio_init(0x40e00000, s->env, s->pic, 85);
|
||||
|
||||
s->mmc = pxa2xx_mmci_init(0x41100000, s->pic[PXA2XX_PIC_MMC], s->dma);
|
||||
s->mmc = pxa2xx_mmci_init(0x41100000, sd_bdrv, s->pic[PXA2XX_PIC_MMC],
|
||||
s->dma);
|
||||
|
||||
for (i = 0; pxa255_serial[i].io_base; i ++)
|
||||
if (serial_hds[i])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue