From 52001445c9d9e9191c1d9b2f887cd9ae265f0799 Mon Sep 17 00:00:00 2001 From: Adam Lackorzynski Date: Sat, 26 Dec 2009 14:13:46 +0100 Subject: multiboot: Separate multiboot loading into separate file Move multiboot loading code into separate files as suggested by Alex Graf. Signed-off-by: Adam Lackorzynski Signed-off-by: Anthony Liguori --- hw/multiboot.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hw/multiboot.h (limited to 'hw/multiboot.h') diff --git a/hw/multiboot.h b/hw/multiboot.h new file mode 100644 index 000000000..98fb1b776 --- /dev/null +++ b/hw/multiboot.h @@ -0,0 +1,12 @@ +#ifndef QEMU_MULTIBOOT_H +#define QEMU_MULTIBOOT_H + +int load_multiboot(void *fw_cfg, + FILE *f, + const char *kernel_filename, + const char *initrd_filename, + const char *kernel_cmdline, + int kernel_file_size, + uint8_t *header); + +#endif -- cgit v1.2.3