mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -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
|
@ -18,7 +18,8 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*/
|
||||
#include "vl.h"
|
||||
#include "hw.h"
|
||||
#include "omap.h"
|
||||
#include "sd.h"
|
||||
|
||||
struct omap_mmc_s {
|
||||
|
@ -507,6 +508,7 @@ void omap_mmc_reset(struct omap_mmc_s *host)
|
|||
}
|
||||
|
||||
struct omap_mmc_s *omap_mmc_init(target_phys_addr_t base,
|
||||
BlockDriverState *bd,
|
||||
qemu_irq irq, qemu_irq dma[], omap_clk clk)
|
||||
{
|
||||
int iomemtype;
|
||||
|
@ -523,7 +525,7 @@ struct omap_mmc_s *omap_mmc_init(target_phys_addr_t base,
|
|||
cpu_register_physical_memory(s->base, 0x800, iomemtype);
|
||||
|
||||
/* Instantiate the storage */
|
||||
s->card = sd_init(sd_bdrv);
|
||||
s->card = sd_init(bd);
|
||||
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue