diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-15 00:33:23 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-15 00:33:23 -0500 |
commit | 1355fdca7cb923c93f9011d8e9dcf49e1a67e537 (patch) | |
tree | bdff256e69dbeb5b5fcab7a2afc549d496d956f0 /arch/i386/bits/reg.h | |
parent | 8f4865c8d25e508154a1cb89291f79489a4b3b4c (diff) | |
download | musl-1355fdca7cb923c93f9011d8e9dcf49e1a67e537.tar.gz musl-1355fdca7cb923c93f9011d8e9dcf49e1a67e537.tar.xz musl-1355fdca7cb923c93f9011d8e9dcf49e1a67e537.zip |
preparing build system to handle ports - step 1
Diffstat (limited to 'arch/i386/bits/reg.h')
-rw-r--r-- | arch/i386/bits/reg.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/i386/bits/reg.h b/arch/i386/bits/reg.h new file mode 100644 index 00000000..8bc2582d --- /dev/null +++ b/arch/i386/bits/reg.h @@ -0,0 +1,19 @@ +#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 |