sys/reg.h: derive __WORDSIZE from __LONG_MAX
this removes an otherwise-unnecessary bits header from most archs, replacing it with an empty generic version.
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
@@ -1,3 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
/* FIXME */
|
||||
@@ -1,5 +1,3 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
#define EBX 0
|
||||
#define ECX 1
|
||||
#define EDX 2
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
@@ -1,5 +1,3 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
#define PT_D1 0
|
||||
#define PT_D2 1
|
||||
#define PT_D3 2
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
/* FIXME */
|
||||
@@ -1,6 +1,3 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
|
||||
#define EF_R0 6
|
||||
#define EF_R1 7
|
||||
#define EF_R2 8
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
|
||||
#define EF_R0 0
|
||||
#define EF_R1 1
|
||||
#define EF_R2 2
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
|
||||
#define EF_R0 0
|
||||
#define EF_R1 1
|
||||
#define EF_R2 2
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
/* FIXME */
|
||||
@@ -1,3 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
/* FIXME */
|
||||
@@ -1,3 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
/* FIXME */
|
||||
@@ -1,2 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
@@ -1,2 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
@@ -1,2 +0,0 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
@@ -1,5 +1,3 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 32
|
||||
#define R15 0
|
||||
#define R14 1
|
||||
#define R13 2
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#undef __WORDSIZE
|
||||
#define __WORDSIZE 64
|
||||
#define R15 0
|
||||
#define R14 1
|
||||
#define R13 2
|
||||
|
||||
Reference in New Issue
Block a user