From 0058ae1d9483f5f96c7798e2ae51cce42c69abfb Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Mon, 19 Jan 2015 23:58:55 +0200 Subject: bios-linker-loader: move header to common location Will be usable by MIPS, ARM. Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 2 +- hw/i386/bios-linker-loader.c | 2 +- hw/i386/bios-linker-loader.h | 27 --------------------------- 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 hw/i386/bios-linker-loader.h (limited to 'hw/i386') diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 2f1daf7..4944249 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -36,7 +36,7 @@ #include "hw/i386/acpi-defs.h" #include "hw/acpi/acpi.h" #include "hw/nvram/fw_cfg.h" -#include "bios-linker-loader.h" +#include "hw/acpi/bios-linker-loader.h" #include "hw/loader.h" #include "hw/isa/isa.h" #include "hw/acpi/memory_hotplug.h" diff --git a/hw/i386/bios-linker-loader.c b/hw/i386/bios-linker-loader.c index aa56184..5cc4d90 100644 --- a/hw/i386/bios-linker-loader.c +++ b/hw/i386/bios-linker-loader.c @@ -19,7 +19,7 @@ */ #include "qemu-common.h" -#include "bios-linker-loader.h" +#include "hw/acpi/bios-linker-loader.h" #include "hw/nvram/fw_cfg.h" #include "qemu/bswap.h" diff --git a/hw/i386/bios-linker-loader.h b/hw/i386/bios-linker-loader.h deleted file mode 100644 index 498c0af..0000000 --- a/hw/i386/bios-linker-loader.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef BIOS_LINKER_LOADER_H -#define BIOS_LINKER_LOADER_H - -#include -#include -#include - -GArray *bios_linker_loader_init(void); - -void bios_linker_loader_alloc(GArray *linker, - const char *file, - uint32_t alloc_align, - bool alloc_fseg); - -void bios_linker_loader_add_checksum(GArray *linker, const char *file, - void *table, - void *start, unsigned size, - uint8_t *checksum); - -void bios_linker_loader_add_pointer(GArray *linker, - const char *dest_file, - const char *src_file, - GArray *table, void *pointer, - uint8_t pointer_size); - -void *bios_linker_loader_cleanup(GArray *linker); -#endif -- cgit v1.1