mirror of https://gitee.com/openkylin/qemu.git
dyngen-exec.h: cleanup
Remove unused or otherwise available stuff. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
97a3f6ffbb
commit
e5b34f3779
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue