]> git.proxmox.com Git - qemu.git/blobdiff - hw/ide/internal.h
Replace the VMSTOP macros with a proper state type
[qemu.git] / hw / ide / internal.h
index 233915ce0da9ac8a2c8937a8acd12d1754654252..9046e9601388582f0fc6eabf062c07ab10a0afeb 100644 (file)
@@ -9,6 +9,7 @@
 #include <hw/ide.h>
 #include "iorange.h"
 #include "dma.h"
+#include "sysemu.h"
 
 /* debug IDE devices */
 //#define DEBUG_IDE
@@ -387,7 +388,7 @@ typedef void EndTransferFunc(IDEState *);
 typedef void DMAStartFunc(IDEDMA *, IDEState *, BlockDriverCompletionFunc *);
 typedef int DMAFunc(IDEDMA *);
 typedef int DMAIntFunc(IDEDMA *, int);
-typedef void DMARestartFunc(void *, int, int);
+typedef void DMARestartFunc(void *, int, RunState);
 
 struct unreported_events {
     bool eject_request;