From 7881c8945e806d19b2271732bf5ae736fa5590b2 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Fri, 10 Apr 2009 19:19:44 -0400 Subject: [PATCH] note about how I'm loading in the images --- qemu/hw/mc1322x.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qemu/hw/mc1322x.c b/qemu/hw/mc1322x.c index db8eb57da..1a49e3873 100644 --- a/qemu/hw/mc1322x.c +++ b/qemu/hw/mc1322x.c @@ -38,6 +38,11 @@ struct mc1322x_state_s *mc1322x_init(void) cpu_register_physical_memory(MC1322X_RAMBASE, MC1322X_RAMSIZE, qemu_ram_alloc(MC1322X_RAMSIZE) | IO_MEM_RAM); + /* shouldn't load the images in this way */ + /* should make a commandline arg for this and just load the file to ram */ + /* directly. */ + /* this may be possible with snapshots or something...*/ + index = drive_get_index(IF_MTD, 0, 0); if(0