]> git.proxmox.com Git - qemu.git/blobdiff - dyngen-exec.h
usb-ehci: handle siTDs
[qemu.git] / dyngen-exec.h
index db00fbae04e20eec0c9bdd84700d5eff336dd2cc..8beb7f33447cea9fe71d54b2d753d26b4900a209 100644 (file)
 #if !defined(__DYNGEN_EXEC_H__)
 #define __DYNGEN_EXEC_H__
 
-#include "qemu-common.h"
-
-#ifdef __OpenBSD__
-#include <sys/types.h>
-#endif
-
-/* XXX: This may be wrong for 64-bit ILP32 hosts.  */
-typedef void * host_reg_t;
-
 #if defined(__i386__)
 #define AREG0 "ebp"
 #elif defined(__x86_64__)
@@ -64,10 +55,7 @@ typedef void * host_reg_t;
 #error unsupported CPU
 #endif
 
-#define xglue(x, y) x ## y
-#define glue(x, y) xglue(x, y)
-#define stringify(s)   tostring(s)
-#define tostring(s)    #s
+register CPUState *env asm(AREG0);
 
 /* The return address may point to the start of the next instruction.
    Subtracting one gets us the call instruction itself.  */