summaryrefslogtreecommitdiffstats
path: root/sys/pc98/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-11-16 20:42:32 +0000
committerjhb <jhb@FreeBSD.org>2004-11-16 20:42:32 +0000
commitcc03c9de7d057c1fb843aa928c6c607a3c775700 (patch)
tree675ab00de5628f598aa1773d0c714a0300dafb2d /sys/pc98/i386
parent5437b62b67fb9d20d8eed546b0e7fb9a776c10b6 (diff)
downloadFreeBSD-src-cc03c9de7d057c1fb843aa928c6c607a3c775700.zip
FreeBSD-src-cc03c9de7d057c1fb843aa928c6c607a3c775700.tar.gz
Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove
80386 (I386_CPU) support from the kernel.
Diffstat (limited to 'sys/pc98/i386')
-rw-r--r--sys/pc98/i386/machdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 83abbb3..5296ef5 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -1194,10 +1194,7 @@ cpu_setregs(void)
* CR0_MP, CR0_NE and CR0_TS are also set by npx_probe() for the
* BSP. See the comments there about why we set them.
*/
- cr0 |= CR0_MP | CR0_NE | CR0_TS;
-#ifndef I386_CPU
- cr0 |= CR0_WP | CR0_AM;
-#endif
+ cr0 |= CR0_MP | CR0_NE | CR0_TS | CR0_WP | CR0_AM;
load_cr0(cr0);
load_gs(_udatasel);
}
OpenPOWER on IntegriCloud