aboutsummaryrefslogtreecommitdiff
path: root/hw/hw.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-20 16:25:06 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-20 16:25:06 +0000
commit3b4366de399b384d715c631d32f024c2bde3a38a (patch)
tree7d06569d95945d6cea73503360fd30188677a5c5 /hw/hw.h
parent3f05d3dc14a76fb62a1eda5c53dde0074ce1d1e1 (diff)
downloadqemu-3b4366de399b384d715c631d32f024c2bde3a38a.zip
qemu-3b4366de399b384d715c631d32f024c2bde3a38a.tar.gz
qemu-3b4366de399b384d715c631d32f024c2bde3a38a.tar.bz2
Add an opaque parameter to boot_set API, move function to monitor.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4763 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/hw.h')
-rw-r--r--hw/hw.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/hw.h b/hw/hw.h
index 2a46102..b84ace0 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -94,9 +94,8 @@ void qemu_register_reset(QEMUResetHandler *func, void *opaque);
/* handler to set the boot_device for a specific type of QEMUMachine */
/* return 0 if success */
-typedef int QEMUBootSetHandler(const char *boot_device);
-extern QEMUBootSetHandler *qemu_boot_set_handler;
-void qemu_register_boot_set(QEMUBootSetHandler *func);
+typedef int QEMUBootSetHandler(void *opaque, const char *boot_device);
+void qemu_register_boot_set(QEMUBootSetHandler *func, void *opaque);
/* These should really be in isa.h, but are here to make pc.h happy. */
typedef void (IOPortWriteFunc)(void *opaque, uint32_t address, uint32_t data);