From owner-cvs-sys Wed Dec 3 08:21:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA21071 for cvs-sys-outgoing; Wed, 3 Dec 1997 08:21:01 -0800 (PST) (envelope-from owner-cvs-sys) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA21028; Wed, 3 Dec 1997 08:20:33 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.5/8.8.5) id RAA03814; Wed, 3 Dec 1997 17:29:45 +0100 (CET) From: Mikael Karpberg Message-Id: <199712031629.RAA03814@ocean.campus.luth.se> Subject: Re: cvs commit: src/sys/i386/i386 identcpu.c machdep.c trap.c In-Reply-To: <199712030245.SAA12717@freefall.freebsd.org> from Sean Eric Fagan at "Dec 2, 97 06:45:53 pm" To: sef@FreeBSD.ORG (Sean Eric Fagan) Date: Wed, 3 Dec 1997 17:29:45 +0100 (CET) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Sean Eric Fagan: > sef 1997/12/02 18:45:53 PST > > Modified files: > sys/i386/i386 identcpu.c machdep.c trap.c > Log: > Work around for the Intel Pentium F00F bug; this is Intel's recommended > workaround. Note that this currently eats up two pages extra in the system; > this could be alleviated by aligning idt correctly, and then only dealing with > that (as opposed to the current method of allocated two pages and copying the > IDT table to that, and then setting that to be the IDT table). > > Revision Changes Path > 1.34 +13 -1 src/sys/i386/i386/identcpu.c > 1.275 +43 -1 src/sys/i386/i386/machdep.c > 1.116 +24 -1 src/sys/i386/i386/trap.c I just looked at the diffs, and it looks strange to me: Both identcpu.c and machdep.c has: int has_f00f_bug; trap.c has: extern int has_f00f_bug; Shouldn't it be declared "extern" in two of the files? /Mikael