mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Sync with sys/i386/i386/machdep.c revision 1.289.
This commit is contained in:
parent
a5b88b0149
commit
db33b1d449
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33190
@ -35,7 +35,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||||
* $Id: machdep.c,v 1.75 1998/02/05 10:05:43 kato Exp $
|
* $Id: machdep.c,v 1.76 1998/02/06 12:13:59 eivind Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "apm.h"
|
#include "apm.h"
|
||||||
@ -1618,13 +1618,13 @@ init386(first)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(I586_CPU) && !defined(NO_F00F_HACK)
|
#if defined(I586_CPU) && !defined(NO_F00F_HACK)
|
||||||
void f00f_hack(void);
|
static void f00f_hack(void *unused);
|
||||||
SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL);
|
SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL);
|
||||||
|
|
||||||
void
|
static void
|
||||||
f00f_hack(void) {
|
f00f_hack(void *unused) {
|
||||||
struct region_descriptor r_idt;
|
struct region_descriptor r_idt;
|
||||||
unsigned char *tmp;
|
vm_offset_t tmp;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!has_f00f_bug)
|
if (!has_f00f_bug)
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||||
* $Id: machdep.c,v 1.75 1998/02/05 10:05:43 kato Exp $
|
* $Id: machdep.c,v 1.76 1998/02/06 12:13:59 eivind Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "apm.h"
|
#include "apm.h"
|
||||||
@ -1618,13 +1618,13 @@ init386(first)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(I586_CPU) && !defined(NO_F00F_HACK)
|
#if defined(I586_CPU) && !defined(NO_F00F_HACK)
|
||||||
void f00f_hack(void);
|
static void f00f_hack(void *unused);
|
||||||
SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL);
|
SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL);
|
||||||
|
|
||||||
void
|
static void
|
||||||
f00f_hack(void) {
|
f00f_hack(void *unused) {
|
||||||
struct region_descriptor r_idt;
|
struct region_descriptor r_idt;
|
||||||
unsigned char *tmp;
|
vm_offset_t tmp;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!has_f00f_bug)
|
if (!has_f00f_bug)
|
||||||
|
Loading…
Reference in New Issue
Block a user