提交 e5b34f37 编写于 作者: B Blue Swirl

dyngen-exec.h: cleanup

Remove unused or otherwise available stuff.
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 97a3f6ff
......@@ -19,15 +19,6 @@
#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__)
......@@ -66,11 +57,6 @@ typedef void * host_reg_t;
register CPUState *env asm(AREG0);
#define xglue(x, y) x ## y
#define glue(x, y) xglue(x, y)
#define stringify(s) tostring(s)
#define tostring(s) #s
/* The return address may point to the start of the next instruction.
Subtracting one gets us the call instruction itself. */
#if defined(__s390__) && !defined(__s390x__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册