Report the SA1100 control register state.

From Arnaud Lacombe on port-hpcarm.
This commit is contained in:
peter 2006-03-26 14:34:30 +00:00
parent b749e8c41b
commit 1e8f0f2099
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpufunc.c,v 1.76 2005/12/24 22:45:34 perry Exp $ */
/* $NetBSD: cpufunc.c,v 1.77 2006/03/26 14:34:30 peter Exp $ */
/*
* arm7tdmi support code Copyright (c) 2001 John Fremlin
@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.76 2005/12/24 22:45:34 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.77 2006/03/26 14:34:30 peter Exp $");
#include "opt_compat_netbsd.h"
#include "opt_cpuoptions.h"
@ -2178,6 +2178,7 @@ sa11x0_setup(args)
cpu_idcache_wbinv_all();
/* Set the control register */
curcpu()->ci_ctrl = cpuctrl;
cpu_control(0xffffffff, cpuctrl);
}
#endif /* CPU_SA1100 || CPU_SA1110 */