summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-13 21:21:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-13 21:21:31 +0000
commitda8ae79b3e66ab119dd7973bb42a36e8fee50ff8 (patch)
tree699dc5cff90363015cea2479055b5790dcfc4d08 /c/src/lib/libcpu
parentPatch rtems-19991203.sh2.diff from John M. Mills <jmills@tga.com> which (diff)
downloadrtems-da8ae79b3e66ab119dd7973bb42a36e8fee50ff8.tar.bz2
Warning removal patch from Philip A. Prindeville <philipp@zembu.com>.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/i386/displayCpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/i386/displayCpu.c b/c/src/lib/libcpu/i386/displayCpu.c
index d7630e76b5..212fea7986 100644
--- a/c/src/lib/libcpu/i386/displayCpu.c
+++ b/c/src/lib/libcpu/i386/displayCpu.c
@@ -67,7 +67,8 @@ static const char * Cx86model(void)
}
/* We must get the stepping number by reading DIR1 */
- i386_outport_byte(0x22,0xff) ; i386_inport_byte(0x23, x86_mask);
+ outport_byte(0x22,0xff);
+ inport_byte(0x23, x86_mask);
switch (x86_mask) {
case 0x03:
Cx86_step = 1; /* 6x86MX Rev 1.3 */