summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 15:15:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 15:15:46 +0000
commitab0df696d09f6b53b33345d207f8aead63a6fcab (patch)
treee446f792382e49b1169482837cd842a82fb2350b /cpukit/score/cpu
parentFixed name of Buffer so this would compile. (diff)
downloadrtems-ab0df696d09f6b53b33345d207f8aead63a6fcab.tar.bz2
Automatic CPU type detection code from Eric Valette <valette@crf.canon.fr>.
Enabled on the pc386.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r--cpukit/score/cpu/i386/asm.h1
-rw-r--r--cpukit/score/cpu/i386/rtems/asm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/cpu/i386/asm.h b/cpukit/score/cpu/i386/asm.h
index 53a4ea7e5a..9fe867c04c 100644
--- a/cpukit/score/cpu/i386/asm.h
+++ b/cpukit/score/cpu/i386/asm.h
@@ -92,6 +92,7 @@
#define edi REG (edi)
#define esp REG (esp)
#define ebp REG (ebp)
+#define cr0 REG (cr0)
#define ax REG (ax)
#define bx REG (bx)
diff --git a/cpukit/score/cpu/i386/rtems/asm.h b/cpukit/score/cpu/i386/rtems/asm.h
index 53a4ea7e5a..9fe867c04c 100644
--- a/cpukit/score/cpu/i386/rtems/asm.h
+++ b/cpukit/score/cpu/i386/rtems/asm.h
@@ -92,6 +92,7 @@
#define edi REG (edi)
#define esp REG (esp)
#define ebp REG (ebp)
+#define cr0 REG (cr0)
#define ax REG (ax)
#define bx REG (bx)