aboutsummaryrefslogtreecommitdiff
path: root/hw/multiboot.h
diff options
context:
space:
mode:
authorAdam Lackorzynski <adam@os.inf.tu-dresden.de>2009-12-26 14:13:46 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-08 09:58:41 -0600
commit52001445c9d9e9191c1d9b2f887cd9ae265f0799 (patch)
treecc25c132d0d464b042f54772bed348989be40b99 /hw/multiboot.h
parentee0216275b9aca079fcbcc8d1facc5a21ba865e8 (diff)
downloadqemu-52001445c9d9e9191c1d9b2f887cd9ae265f0799.zip
qemu-52001445c9d9e9191c1d9b2f887cd9ae265f0799.tar.gz
qemu-52001445c9d9e9191c1d9b2f887cd9ae265f0799.tar.bz2
multiboot: Separate multiboot loading into separate file
Move multiboot loading code into separate files as suggested by Alex Graf. Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/multiboot.h')
-rw-r--r--hw/multiboot.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/multiboot.h b/hw/multiboot.h
new file mode 100644
index 0000000..98fb1b7
--- /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