summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-19 19:24:55 -0400
committermidipix <writeonce@midipix.org>2016-09-19 19:24:55 -0400
commit6c97784a75d81c82fb16189db9ad479cd039db09 (patch)
treecbf7e24150975482595e1919f526a54fb112cec8 /arch
parent248552e9ce41578b3630592ba1d712fa4e9f8efe (diff)
downloadmmglue-6c97784a75d81c82fb16189db9ad479cd039db09.tar.bz2
mmglue-6c97784a75d81c82fb16189db9ad479cd039db09.tar.xz
bits/reg.h: provide an empty header for inclusion by <sys/reg.h>.
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/bits/reg.h19
-rw-r--r--arch/nt64/bits/reg.h29
2 files changed, 0 insertions, 48 deletions
diff --git a/arch/nt32/bits/reg.h b/arch/nt32/bits/reg.h
index 8bc2582..e69de29 100644
--- a/arch/nt32/bits/reg.h
+++ b/arch/nt32/bits/reg.h
@@ -1,19 +0,0 @@
-#undef __WORDSIZE
-#define __WORDSIZE 32
-#define EBX 0
-#define ECX 1
-#define EDX 2
-#define ESI 3
-#define EDI 4
-#define EBP 5
-#define EAX 6
-#define DS 7
-#define ES 8
-#define FS 9
-#define GS 10
-#define ORIG_EAX 11
-#define EIP 12
-#define CS 13
-#define EFL 14
-#define UESP 15
-#define SS 16
diff --git a/arch/nt64/bits/reg.h b/arch/nt64/bits/reg.h
index a4df04c..e69de29 100644
--- a/arch/nt64/bits/reg.h
+++ b/arch/nt64/bits/reg.h
@@ -1,29 +0,0 @@
-#undef __WORDSIZE
-#define __WORDSIZE 64
-#define R15 0
-#define R14 1
-#define R13 2
-#define R12 3
-#define RBP 4
-#define RBX 5
-#define R11 6
-#define R10 7
-#define R9 8
-#define R8 9
-#define RAX 10
-#define RCX 11
-#define RDX 12
-#define RSI 13
-#define RDI 14
-#define ORIG_RAX 15
-#define RIP 16
-#define CS 17
-#define EFLAGS 18
-#define RSP 19
-#define SS 20
-#define FS_BASE 21
-#define GS_BASE 22
-#define DS 23
-#define ES 24
-#define FS 25
-#define GS 26