Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 1997 17:29:45 +0100 (CET)
From:      Mikael Karpberg <karpen@ocean.campus.luth.se>
To:        sef@FreeBSD.ORG (Sean Eric Fagan)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/i386 identcpu.c machdep.c trap.c
Message-ID:  <199712031629.RAA03814@ocean.campus.luth.se>
In-Reply-To: <199712030245.SAA12717@freefall.freebsd.org> from Sean Eric Fagan at "Dec 2, 97 06:45:53 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712031629.RAA03814>