aboutsummaryrefslogtreecommitdiff
path: root/hw/cris-boot.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-06-10 14:45:46 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-06-10 14:45:46 +0200
commit77d4f95e111a7c82bf21908f4de170b7e0e722bb (patch)
tree2ee7aebdd8eca4947fad25220e80eb3b49950231 /hw/cris-boot.h
parent2024c53950fe2886e460ca3a5d3d2ce0f06bf0f8 (diff)
cris: Break out image loading to hw/cris-boot.c.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
Diffstat (limited to 'hw/cris-boot.h')
-rw-r--r--hw/cris-boot.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/cris-boot.h b/hw/cris-boot.h
new file mode 100644
index 0000000000..e9caf8dee8
--- /dev/null
+++ b/hw/cris-boot.h
@@ -0,0 +1,11 @@
+
+struct cris_load_info
+{
+ const char *image_filename;
+ const char *cmdline;
+ int image_size;
+
+ target_phys_addr_t entry;
+};
+
+void cris_load_image(CPUState *env, struct cris_load_info *li);