From bb0c6722b6606ad34da75d093d95a9bdfe42bc98 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 20 Jun 2004 12:37:32 +0000 Subject: 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 --- vl.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'vl.h') diff --git a/vl.h b/vl.h index dde4e5d..fd23405 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; -- cgit v1.1