Module Name: src
Committed By: mlelstv
Date: Thu Nov 17 07:45:54 UTC 2011
Modified Files:
src/sys/arch/amiga/amiga: machdep.c
Log Message:
identifycpu() is not just cosmetic for the banner but initializes how FPU
contexts are saved.
Also drop code that checks for fputype before it is determined.
To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/sys/arch/amiga/amiga/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amiga/amiga/machdep.c
diff -u src/sys/arch/amiga/amiga/machdep.c:1.234 src/sys/arch/amiga/amiga/machdep.c:1.235
--- src/sys/arch/amiga/amiga/machdep.c:1.234 Sun Jun 12 03:35:38 2011
+++ src/sys/arch/amiga/amiga/machdep.c Thu Nov 17 07:45:53 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.234 2011/06/12 03:35:38 rmind Exp $ */
+/* $NetBSD: machdep.c,v 1.235 2011/11/17 07:45:53 mlelstv Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -48,7 +48,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.234 2011/06/12 03:35:38 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.235 2011/11/17 07:45:53 mlelstv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -216,9 +216,6 @@ cpu_startup(void)
#endif
vaddr_t minaddr, maxaddr;
- if (fputype != FPU_NONE)
- m68k_make_fpu_idle_frame();
-
/*
* Initialize error message buffer (at end of core).
*/
@@ -250,6 +247,11 @@ cpu_startup(void)
*/
banner();
+ /*
+ * Get MMU/FPU type from bootstrap
+ */
+ identifycpu();
+
#ifdef DEBUG
pmapdebug = opmapdebug;
#endif