reset and shutdown support - PCI is now the default


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@937 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/vl.h b/vl.h
index dde4e5d..fd23405 100644
--- a/vl.h
+++ b/vl.h
@@ -205,8 +205,6 @@
 #endif
 
 /* vl.c */
-extern int reset_requested;
-
 uint64_t muldiv64(uint64_t a, uint32_t b, uint32_t c);
 
 void hw_error(const char *fmt, ...);
@@ -229,6 +227,12 @@
 void vm_start(void);
 void vm_stop(int reason);
 
+typedef void QEMUResetHandler(void *opaque);
+
+void qemu_register_reset(QEMUResetHandler *func, void *opaque);
+void qemu_system_reset_request(void);
+void qemu_system_shutdown_request(void);
+
 extern int audio_enabled;
 extern int ram_size;
 extern int bios_size;