summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-x86-uniregs.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoconf-x86-uniregs.c')
-rw-r--r--runtime/autoconf-x86-uniregs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoconf-x86-uniregs.c b/runtime/autoconf-x86-uniregs.c
new file mode 100644
index 00000000..25729c22
--- /dev/null
+++ b/runtime/autoconf-x86-uniregs.c
@@ -0,0 +1,6 @@
+#include <asm/ptrace.h>
+
+#if defined (__i386__) || defined (__x86_64__)
+struct pt_regs regs = {.ax = 0x0};
+#endif
+