summaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-20 12:37:32 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-20 12:37:32 +0000
commitbb0c6722b6606ad34da75d093d95a9bdfe42bc98 (patch)
tree37c9ee55dfe9c0bd26f70426e434e87b258d2d68 /vl.h
parent979a54fb20c6461669d8e620cd9760544c84254b (diff)
downloadqemu-bb0c6722b6606ad34da75d093d95a9bdfe42bc98.tar.gz
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
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/vl.h b/vl.h
index dde4e5dfbd..fd2340509b 100644
--- a/vl.h
+++ b/vl.h
@@ -205,8 +205,6 @@ static inline uint32_t le32_to_cpupu(const uint32_t *p)
#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 qemu_del_vm_stop_handler(VMStopHandler *cb, void *opaque);
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;