|
@@ -45,6 +45,7 @@
|
|
#include "qemu/osdep.h"
|
|
#include "qemu/osdep.h"
|
|
#include "qemu-common.h"
|
|
#include "qemu-common.h"
|
|
#include "qapi/error.h"
|
|
#include "qapi/error.h"
|
|
|
|
+#include "trace.h"
|
|
#include "hw/hw.h"
|
|
#include "hw/hw.h"
|
|
#include "disas/disas.h"
|
|
#include "disas/disas.h"
|
|
#include "migration/vmstate.h"
|
|
#include "migration/vmstate.h"
|
|
@@ -1151,6 +1152,8 @@ static void rom_reset(void *unused)
|
|
* CPU definitely fetches its instructions from the just written data.
|
|
* CPU definitely fetches its instructions from the just written data.
|
|
*/
|
|
*/
|
|
cpu_flush_icache_range(rom->addr, rom->datasize);
|
|
cpu_flush_icache_range(rom->addr, rom->datasize);
|
|
|
|
+
|
|
|
|
+ trace_loader_write_rom(rom->name, rom->addr, rom->datasize, rom->isrom);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|