Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/mac68k We can't generate an FPU idle frame u...



details:   https://anonhg.NetBSD.org/src/rev/df026a6ec88b
branches:  trunk
changeset: 568836:df026a6ec88b
user:      scottr <scottr%NetBSD.org@localhost>
date:      Mon Aug 02 03:44:39 2004 +0000

description:
We can't generate an FPU idle frame until we know which one
##we have, so defer this until we've probed the FPU type.
##Fixes PRs 25081 and 26250.

diffstat:

 sys/arch/mac68k/mac68k/machdep.c |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r 29830123c232 -r df026a6ec88b sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Mon Aug 02 03:15:33 2004 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Mon Aug 02 03:44:39 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.298 2004/08/02 03:06:17 scottr Exp $     */
+/*     $NetBSD: machdep.c,v 1.299 2004/08/02 03:44:39 scottr Exp $     */
 
 /*
  * Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.298 2004/08/02 03:06:17 scottr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.299 2004/08/02 03:44:39 scottr Exp $");
 
 #include "opt_adb.h"
 #include "opt_ddb.h"
@@ -409,8 +409,8 @@
 #define CURRENTBOOTERVER       111
 
 /*
- * cpu_startup: allocate memory for variable-sized tables,
- * initialize CPU, and do autoconfiguration.
+ * cpu_startup: allocate memory for variable-sized tables, make
+ * (most of) kernel text read-only, and other miscellaneous bits
  */
 void
 cpu_startup(void)
@@ -422,9 +422,6 @@
        int delay;
        char pbuf[9];
 
-       if (fputype != FPU_NONE)
-               m68k_make_fpu_idle_frame();
-
        /*
         * Initialize the kernel crash dump header.
         */



Home | Main Index | Thread Index | Old Index