From 47b43a1f414c5b3eb9eb7502d0b0be0d134259ba Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 18 Mar 2013 17:36:02 +0100 Subject: hw: move private headers to hw/ subdirectories. Many headers are used only in a single directory. These can be kept in hw/. Signed-off-by: Paolo Bonzini --- hw/cris/axis_dev88.c | 2 +- hw/cris/boot.c | 2 +- hw/cris/boot.h | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 hw/cris/boot.h (limited to 'hw/cris') diff --git a/hw/cris/axis_dev88.c b/hw/cris/axis_dev88.c index 00daceb813..7475671308 100644 --- a/hw/cris/axis_dev88.c +++ b/hw/cris/axis_dev88.c @@ -29,7 +29,7 @@ #include "hw/cris/etraxfs.h" #include "hw/loader.h" #include "elf.h" -#include "hw/cris-boot.h" +#include "boot.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h" diff --git a/hw/cris/boot.c b/hw/cris/boot.c index c330e22a86..622f353c9a 100644 --- a/hw/cris/boot.c +++ b/hw/cris/boot.c @@ -25,7 +25,7 @@ #include "hw/hw.h" #include "hw/loader.h" #include "elf.h" -#include "hw/cris-boot.h" +#include "boot.h" static void main_cpu_reset(void *opaque) { diff --git a/hw/cris/boot.h b/hw/cris/boot.h new file mode 100644 index 0000000000..c4d3fa6f6f --- /dev/null +++ b/hw/cris/boot.h @@ -0,0 +1,15 @@ +#ifndef _CRIS_BOOT_H +#define HW_CRIS_BOOT_H 1 + +struct cris_load_info +{ + const char *image_filename; + const char *cmdline; + int image_size; + + hwaddr entry; +}; + +void cris_load_image(CRISCPU *cpu, struct cris_load_info *li); + +#endif -- cgit v1.2.1