in initarm(), initialise kernel_l1pt.pv_va as well as kernel_l1pt.pv_pa.

This commit is contained in:
mrg 2006-05-17 04:22:46 +00:00
parent d7a5ec3490
commit b6779d7cc2
15 changed files with 44 additions and 29 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: armadillo9_machdep.c,v 1.7 2006/05/05 18:04:41 thorpej Exp $ */
/* $NetBSD: armadillo9_machdep.c,v 1.8 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -110,7 +110,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.7 2006/05/05 18:04:41 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.8 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -619,6 +619,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: g42xxeb_machdep.c,v 1.7 2006/03/08 23:46:23 lukem Exp $ */
/* $NetBSD: g42xxeb_machdep.c,v 1.8 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2002, 2003, 2004, 2005 Genetec Corporation.
@ -606,6 +606,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: hdlg_machdep.c,v 1.1 2006/04/16 02:22:33 nonaka Exp $ */
/* $NetBSD: hdlg_machdep.c,v 1.2 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.1 2006/04/16 02:22:33 nonaka Exp $");
__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.2 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -391,6 +391,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: integrator_machdep.c,v 1.55 2005/12/24 22:45:34 perry Exp $ */
/* $NetBSD: integrator_machdep.c,v 1.56 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2001,2002 ARM Ltd
@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.55 2005/12/24 22:45:34 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.56 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@ -526,6 +526,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if ((physical_freestart & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: iq80310_machdep.c,v 1.66 2005/12/11 12:17:09 christos Exp $ */
/* $NetBSD: iq80310_machdep.c,v 1.67 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: iq80310_machdep.c,v 1.66 2005/12/11 12:17:09 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: iq80310_machdep.c,v 1.67 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@ -508,6 +508,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: iq80321_machdep.c,v 1.35 2005/12/24 20:06:59 perry Exp $ */
/* $NetBSD: iq80321_machdep.c,v 1.36 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.35 2005/12/24 20:06:59 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.36 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -521,6 +521,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixdp425_machdep.c,v 1.14 2005/12/11 12:17:09 christos Exp $ */
/* $NetBSD: ixdp425_machdep.c,v 1.15 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2003
* Ichiro FUKUHARA <ichiro@ichiro.org>.
@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.14 2005/12/11 12:17:09 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.15 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -506,6 +506,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixm1200_machdep.c,v 1.31 2005/12/11 12:17:09 christos Exp $ */
/* $NetBSD: ixm1200_machdep.c,v 1.32 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2002, 2003
@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.31 2005/12/11 12:17:09 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.32 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@ -454,6 +454,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: lubbock_machdep.c,v 1.11 2006/03/08 23:46:23 lukem Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.12 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.11 2006/03/08 23:46:23 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.12 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -674,6 +674,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: npwr_fc_machdep.c,v 1.2 2005/12/24 20:07:03 perry Exp $ */
/* $NetBSD: npwr_fc_machdep.c,v 1.3 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.2 2005/12/24 20:07:03 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.3 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -505,6 +505,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: nslu2_machdep.c,v 1.2 2006/03/11 09:09:41 scw Exp $ */
/* $NetBSD: nslu2_machdep.c,v 1.3 2006/05/17 04:22:46 mrg Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -107,7 +107,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.2 2006/03/11 09:09:41 scw Exp $");
__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.3 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -581,6 +581,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: smdk2410_machdep.c,v 1.15 2005/12/24 22:45:34 perry Exp $ */
/* $NetBSD: smdk2410_machdep.c,v 1.16 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2002, 2003 Fujitsu Component Limited
@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: smdk2410_machdep.c,v 1.15 2005/12/24 22:45:34 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: smdk2410_machdep.c,v 1.16 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -633,6 +633,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: smdk2800_machdep.c,v 1.23 2005/12/24 22:45:34 perry Exp $ */
/* $NetBSD: smdk2800_machdep.c,v 1.24 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Fujitsu Component Limited
@ -106,7 +106,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: smdk2800_machdep.c,v 1.23 2005/12/24 22:45:34 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: smdk2800_machdep.c,v 1.24 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -537,6 +537,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: tsarm_machdep.c,v 1.3 2005/12/24 22:45:34 perry Exp $ */
/* $NetBSD: tsarm_machdep.c,v 1.4 2006/05/17 04:22:46 mrg Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.3 2005/12/24 22:45:34 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.4 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -532,6 +532,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: viper_machdep.c,v 1.3 2006/03/08 23:46:23 lukem Exp $ */
/* $NetBSD: viper_machdep.c,v 1.4 2006/05/17 04:22:46 mrg Exp $ */
/*
* Startup routines for the Arcom Viper. Below you can trace the
@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: viper_machdep.c,v 1.3 2006/03/08 23:46:23 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: viper_machdep.c,v 1.4 2006/05/17 04:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -534,6 +534,7 @@ initarm(void *arg)
loop1 = 0;
kernel_l1pt.pv_pa = 0;
kernel_l1pt.pv_va = 0;
for (loop = 0; loop <= NUM_KERNEL_PTS; ++loop) {
/* Are we 16KB aligned for an L1 ? */
if (((physical_freeend - L1_TABLE_SIZE) & (L1_TABLE_SIZE - 1)) == 0