aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/multiboot.h
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2013-04-16 02:24:08 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-06-02 18:14:02 +0300
commita88b362c6ffbb7a802bf0ed5ef0e2447164dc989 (patch)
treeffda042ef533d06f9dd6144212c06a79ea7a6250 /hw/i386/multiboot.h
parentedf9735e40841298874ee308fdecca2ac2aa5bdf (diff)
downloadqemu-a88b362c6ffbb7a802bf0ed5ef0e2447164dc989.zip
qemu-a88b362c6ffbb7a802bf0ed5ef0e2447164dc989.tar.gz
qemu-a88b362c6ffbb7a802bf0ed5ef0e2447164dc989.tar.bz2
refer to FWCfgState explicitly
Currently some places use pointer-to-void even though they mean pointer-to-FWCfgState. Clean them up. Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/multiboot.h')
-rw-r--r--hw/i386/multiboot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/i386/multiboot.h b/hw/i386/multiboot.h
index 98fb1b7..60de309 100644
--- a/hw/i386/multiboot.h
+++ b/hw/i386/multiboot.h
@@ -1,7 +1,9 @@
#ifndef QEMU_MULTIBOOT_H
#define QEMU_MULTIBOOT_H
-int load_multiboot(void *fw_cfg,
+#include "hw/nvram/fw_cfg.h"
+
+int load_multiboot(FWCfgState *fw_cfg,
FILE *f,
const char *kernel_filename,
const char *initrd_filename,