aboutsummaryrefslogtreecommitdiff
path: root/hw/microblaze_boot.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-05 12:30:53 +0200
committerAndreas Färber <afaerber@suse.de>2012-06-04 23:00:42 +0200
commitbf494367fa77b5ed872d8add50677542a7141836 (patch)
treef5c220a348f60b08de950e4c9c82fd54fa9ab7cc /hw/microblaze_boot.h
parent3ed607333e979a1637cc08af66858b7b37bd37ff (diff)
downloadqemu-bf494367fa77b5ed872d8add50677542a7141836.zip
qemu-bf494367fa77b5ed872d8add50677542a7141836.tar.gz
qemu-bf494367fa77b5ed872d8add50677542a7141836.tar.bz2
microblaze_boot: Pass MicroBlazeCPU to microblaze_load_kernel()
Allows us to use cpu_reset() in place of cpu_state_reset() in main_cpu_reset(). Also pass it through to its reset callbacks, while at it. Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/microblaze_boot.h')
-rw-r--r--hw/microblaze_boot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/microblaze_boot.h b/hw/microblaze_boot.h
index bf9d136..c9a3064 100644
--- a/hw/microblaze_boot.h
+++ b/hw/microblaze_boot.h
@@ -3,8 +3,8 @@
#include "hw.h"
-void microblaze_load_kernel(CPUMBState *env, target_phys_addr_t ddr_base,
+void microblaze_load_kernel(MicroBlazeCPU *cpu, target_phys_addr_t ddr_base,
uint32_t ramsize, const char *dtb_filename,
- void (*machine_cpu_reset)(CPUMBState *));
+ void (*machine_cpu_reset)(MicroBlazeCPU *));
#endif /* __MICROBLAZE_BOOT __ */