Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no

functional changes.
This commit is contained in:
uebayasi 2009-12-26 16:01:23 +00:00
parent cb96e85ab2
commit 998f9b1597
25 changed files with 73 additions and 73 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: at91bus.c,v 1.9 2009/11/27 03:23:05 rmind Exp $ */
/* $NetBSD: at91bus.c,v 1.10 2009/12/26 16:01:23 uebayasi Exp $ */
/*
* Copyright (c) 2007 Embedtronics Oy
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.9 2009/11/27 03:23:05 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.10 2009/12/26 16:01:23 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -450,7 +450,7 @@ at91bus_setup(BootConfig *mem)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: brh_machdep.c,v 1.35 2009/12/26 15:47:14 uebayasi Exp $ */
/* $NetBSD: brh_machdep.c,v 1.36 2009/12/26 16:01:23 uebayasi Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.35 2009/12/26 15:47:14 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.36 2009/12/26 16:01:23 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@ -660,7 +660,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: armadillo9_machdep.c,v 1.17 2009/11/27 03:23:06 rmind Exp $ */
/* $NetBSD: armadillo9_machdep.c,v 1.18 2009/12/26 16:01:23 uebayasi 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.17 2009/11/27 03:23:06 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.18 2009/12/26 16:01:23 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -766,7 +766,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: beagle_machdep.c,v 1.6 2009/11/27 03:23:06 rmind Exp $ */
/* $NetBSD: beagle_machdep.c,v 1.7 2009/12/26 16:01:23 uebayasi Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.6 2009/11/27 03:23:06 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.7 2009/12/26 16:01:23 uebayasi Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@ -973,7 +973,7 @@ printf("\t%#lx:%#lx\n", kernel_pt_table[pt_index].pv_va, kernel_pt_table[pt_inde
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(l1_pa);
cpu_setttb(l1_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: initarm_common.c,v 1.9 2009/11/27 03:23:06 rmind Exp $ */
/* $NetBSD: initarm_common.c,v 1.10 2009/12/26 16:01:23 uebayasi Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: initarm_common.c,v 1.9 2009/11/27 03:23:06 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: initarm_common.c,v 1.10 2009/12/26 16:01:23 uebayasi Exp $");
#include <sys/systm.h>
#include <sys/param.h>
@ -408,7 +408,7 @@ initarm_common(const struct initarm_config *ic)
/* Switch tables */
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: g42xxeb_machdep.c,v 1.19 2009/12/26 15:47:14 uebayasi Exp $ */
/* $NetBSD: g42xxeb_machdep.c,v 1.20 2009/12/26 16:01:24 uebayasi Exp $ */
/*
* Copyright (c) 2002, 2003, 2004, 2005 Genetec Corporation.
@ -792,7 +792,7 @@ initarm(void *arg)
#endif
LEDSTEP();
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));
LEDSTEP();

View File

@ -1,4 +1,4 @@
/* $NetBSD: gemini_machdep.c,v 1.14 2009/11/27 03:23:06 rmind Exp $ */
/* $NetBSD: gemini_machdep.c,v 1.15 2009/12/26 16:01:24 uebayasi Exp $ */
/* adapted from:
* NetBSD: sdp24xx_machdep.c,v 1.4 2008/08/27 11:03:10 matt Exp
@ -129,7 +129,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.14 2009/11/27 03:23:06 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.15 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@ -1241,7 +1241,7 @@ printf("%s:%d: pmap_link_l2pt ipmq_pt\n", __FUNCTION__, __LINE__);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(l1_pa);
cpu_setttb(l1_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: gumstix_machdep.c,v 1.22 2009/12/26 15:47:14 uebayasi Exp $ */
/* $NetBSD: gumstix_machdep.c,v 1.23 2009/12/26 16:01:24 uebayasi Exp $ */
/*
* Copyright (C) 2005, 2006, 2007 WIDE Project and SOUM Corporation.
* All rights reserved.
@ -791,7 +791,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: hdlg_machdep.c,v 1.13 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: hdlg_machdep.c,v 1.14 2009/12/26 16:01:24 uebayasi 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.13 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.14 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -554,7 +554,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: imx31lk_machdep.c,v 1.8 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: imx31lk_machdep.c,v 1.9 2009/12/26 16:01:24 uebayasi Exp $ */
/*
* Startup routines for the ZOOM iMX31 LITEKIT.
@ -110,7 +110,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: imx31lk_machdep.c,v 1.8 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: imx31lk_machdep.c,v 1.9 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -669,7 +669,7 @@ printf("%s: textsize %#lx, totalsize %#lx\n",
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));
imx31lk_consinit(2);

View File

@ -1,4 +1,4 @@
/* $NetBSD: integrator_machdep.c,v 1.65 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: integrator_machdep.c,v 1.66 2009/12/26 16:01:24 uebayasi Exp $ */
/*
* Copyright (c) 2001,2002 ARM Ltd
@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.65 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.66 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@ -660,7 +660,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: iq80310_machdep.c,v 1.77 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: iq80310_machdep.c,v 1.78 2009/12/26 16:01:24 uebayasi 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.77 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: iq80310_machdep.c,v 1.78 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@ -674,7 +674,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: iq80321_machdep.c,v 1.47 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: iq80321_machdep.c,v 1.48 2009/12/26 16:01:24 uebayasi 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.47 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.48 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -700,7 +700,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixdp425_machdep.c,v 1.26 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: ixdp425_machdep.c,v 1.27 2009/12/26 16:01:24 uebayasi Exp $ */
/*
* Copyright (c) 2003
* Ichiro FUKUHARA <ichiro@ichiro.org>.
@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.26 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.27 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -669,7 +669,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixm1200_machdep.c,v 1.45 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: ixm1200_machdep.c,v 1.46 2009/12/26 16:01:24 uebayasi Exp $ */
/*
* Copyright (c) 2002, 2003
@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.45 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.46 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_modular.h"
@ -612,7 +612,7 @@ initarm(void *arg)
/* Switch tables */
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: lubbock_machdep.c,v 1.23 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.24 2009/12/26 16:01:24 uebayasi 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.23 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.24 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -872,7 +872,7 @@ initarm(void *arg)
LEDSTEP();
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));
LEDSTEP();

View File

@ -1,4 +1,4 @@
/* $NetBSD: npwr_fc_machdep.c,v 1.13 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: npwr_fc_machdep.c,v 1.14 2009/12/26 16:01:24 uebayasi 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.13 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.14 2009/12/26 16:01:24 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -671,7 +671,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: nslu2_machdep.c,v 1.16 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: nslu2_machdep.c,v 1.17 2009/12/26 16:01:25 uebayasi Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -94,7 +94,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.16 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.17 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -737,7 +737,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: osk5912_machdep.c,v 1.7 2009/11/27 03:23:07 rmind Exp $ */
/* $NetBSD: osk5912_machdep.c,v 1.8 2009/12/26 16:01:25 uebayasi Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@ -99,7 +99,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.7 2009/11/27 03:23:07 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.8 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@ -878,7 +878,7 @@ setup_real_page_tables(void)
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(l1_pa);
cpu_setttb(l1_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: smdk2410_machdep.c,v 1.26 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: smdk2410_machdep.c,v 1.27 2009/12/26 16:01:25 uebayasi 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.26 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: smdk2410_machdep.c,v 1.27 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -797,7 +797,7 @@ initarm(void *arg)
#endif
LEDSTEP();
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: smdk2800_machdep.c,v 1.34 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: smdk2800_machdep.c,v 1.35 2009/12/26 16:01:25 uebayasi 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.34 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: smdk2800_machdep.c,v 1.35 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -701,7 +701,7 @@ initarm(void *arg)
#endif
LEDSTEP();
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: sdp24xx_machdep.c,v 1.8 2009/11/27 03:23:07 rmind Exp $ */
/* $NetBSD: sdp24xx_machdep.c,v 1.9 2009/12/26 16:01:25 uebayasi Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sdp24xx_machdep.c,v 1.8 2009/11/27 03:23:07 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: sdp24xx_machdep.c,v 1.9 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@ -962,7 +962,7 @@ printf("\t%#lx:%#lx\n", kernel_pt_table[pt_index].pv_va, kernel_pt_table[pt_inde
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(l1_pa);
cpu_setttb(l1_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: tsarm_machdep.c,v 1.13 2009/11/27 03:23:08 rmind Exp $ */
/* $NetBSD: tsarm_machdep.c,v 1.14 2009/12/26 16:01:25 uebayasi 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.13 2009/11/27 03:23:08 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.14 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -678,7 +678,7 @@ initarm(void *arg)
printf("switching to new L1 page table @%#lx...", kernel_l1pt.pv_pa);
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: viper_machdep.c,v 1.15 2009/12/26 15:47:15 uebayasi Exp $ */
/* $NetBSD: viper_machdep.c,v 1.16 2009/12/26 16:01:25 uebayasi 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.15 2009/12/26 15:47:15 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: viper_machdep.c,v 1.16 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -719,7 +719,7 @@ initarm(void *arg)
#endif
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));

View File

@ -1,4 +1,4 @@
/* $NetBSD: hpc_machdep.c,v 1.94 2009/11/27 03:23:09 rmind Exp $ */
/* $NetBSD: hpc_machdep.c,v 1.95 2009/12/26 16:01:25 uebayasi Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hpc_machdep.c,v 1.94 2009/11/27 03:23:09 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: hpc_machdep.c,v 1.95 2009/12/26 16:01:25 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_modular.h"
@ -651,7 +651,7 @@ initarm(int argc, char **argv, struct bootinfo *bi)
/* Set the page table address. */
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
setttb(kernel_l1pt.pv_pa);
cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));