Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/sun3 Whitespace cleanup.
details: https://anonhg.NetBSD.org/src/rev/94d657d9b428
branches: trunk
changeset: 789772:94d657d9b428
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Sep 07 15:56:11 2013 +0000
description:
Whitespace cleanup.
diffstat:
sys/arch/sun3/sun3/autoconf.c | 20 ++--
sys/arch/sun3/sun3/bus_subr.c | 8 +-
sys/arch/sun3/sun3/cache.c | 14 +-
sys/arch/sun3/sun3/clock.c | 10 +-
sys/arch/sun3/sun3/control.c | 16 ++--
sys/arch/sun3/sun3/db_machdep.c | 18 ++--
sys/arch/sun3/sun3/db_memrw.c | 12 +-
sys/arch/sun3/sun3/dvma.c | 16 ++--
sys/arch/sun3/sun3/enable.c | 8 +-
sys/arch/sun3/sun3/fpu_machdep.c | 8 +-
sys/arch/sun3/sun3/genassym.cf | 4 +-
sys/arch/sun3/sun3/idprom.c | 8 +-
sys/arch/sun3/sun3/intreg.c | 14 +-
sys/arch/sun3/sun3/leds.c | 8 +-
sys/arch/sun3/sun3/locore.s | 8 +-
sys/arch/sun3/sun3/locore2.c | 14 +-
sys/arch/sun3/sun3/machdep.c | 30 ++++----
sys/arch/sun3/sun3/machdep.h | 6 +-
sys/arch/sun3/sun3/mainbus.c | 10 +-
sys/arch/sun3/sun3/mm_md.c | 10 +-
sys/arch/sun3/sun3/obio.c | 14 +-
sys/arch/sun3/sun3/obmem.c | 8 +-
sys/arch/sun3/sun3/pmap.c | 140 +++++++++++++++++++-------------------
sys/arch/sun3/sun3/sunmon.c | 16 ++--
sys/arch/sun3/sun3/sys_machdep.c | 8 +-
sys/arch/sun3/sun3/trap.c | 26 +++---
sys/arch/sun3/sun3/vme.c | 8 +-
27 files changed, 231 insertions(+), 231 deletions(-)
diffs (truncated from 2019 to 300 lines):
diff -r cf044befea2d -r 94d657d9b428 sys/arch/sun3/sun3/autoconf.c
--- a/sys/arch/sun3/sun3/autoconf.c Sat Sep 07 10:46:18 2013 +0000
+++ b/sys/arch/sun3/sun3/autoconf.c Sat Sep 07 15:56:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.78 2012/10/13 06:37:16 tsutsui Exp $ */
+/* $NetBSD: autoconf.c,v 1.79 2013/09/07 15:56:11 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.78 2012/10/13 06:37:16 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.79 2013/09/07 15:56:11 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -69,7 +69,7 @@
* then choose root device (etc.)
* Called by sys/kern/subr_autoconf.c: configure()
*/
-void
+void
cpu_configure(void)
{
@@ -97,7 +97,7 @@
* used config_found, then we would not have an opportunity to
* setup the confargs for each child match and attach call.
*/
-int
+int
bus_scan(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
struct confargs *ca = aux;
@@ -133,7 +133,7 @@
* The parent name is non-NULL when there was no match
* found by config_found().
*/
-int
+int
bus_print(void *args, const char *name)
{
struct confargs *ca = args;
@@ -180,7 +180,7 @@
/*
* Choose root and swap devices.
*/
-void
+void
cpu_rootconf(void)
{
struct bootparam *bp;
@@ -296,7 +296,7 @@
* Try the access using peek_*
* Clean up temp. mapping
*/
-int
+int
bus_peek(int bustype, int pa, int sz)
{
void *va;
@@ -323,7 +323,7 @@
}
/* from hp300: badbaddr() */
-int
+int
peek_byte(void *addr)
{
label_t faultbuf;
@@ -339,7 +339,7 @@
return x;
}
-int
+int
peek_word(void *addr)
{
label_t faultbuf;
@@ -355,7 +355,7 @@
return x;
}
-int
+int
peek_long(void *addr)
{
label_t faultbuf;
diff -r cf044befea2d -r 94d657d9b428 sys/arch/sun3/sun3/bus_subr.c
--- a/sys/arch/sun3/sun3/bus_subr.c Sat Sep 07 10:46:18 2013 +0000
+++ b/sys/arch/sun3/sun3/bus_subr.c Sat Sep 07 15:56:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_subr.c,v 1.17 2008/04/28 20:23:38 martin Exp $ */
+/* $NetBSD: bus_subr.c,v 1.18 2013/09/07 15:56:11 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_subr.c,v 1.17 2008/04/28 20:23:38 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_subr.c,v 1.18 2013/09/07 15:56:11 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -113,7 +113,7 @@
return ((void *)(pgva + off));
}
-void
+void
bus_tmapout(void *vp)
{
vaddr_t pgva;
@@ -166,7 +166,7 @@
return ((void*)(va + off));
}
-void
+void
bus_mapout(void *ptr, int sz)
{
vaddr_t va;
diff -r cf044befea2d -r 94d657d9b428 sys/arch/sun3/sun3/cache.c
--- a/sys/arch/sun3/sun3/cache.c Sat Sep 07 10:46:18 2013 +0000
+++ b/sys/arch/sun3/sun3/cache.c Sat Sep 07 15:56:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cache.c,v 1.21 2009/11/21 04:16:52 rmind Exp $ */
+/* $NetBSD: cache.c,v 1.22 2013/09/07 15:56:11 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.21 2009/11/21 04:16:52 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.22 2013/09/07 15:56:11 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -61,7 +61,7 @@
static void cache_clear_tags(void);
-void
+void
cache_flush_page(vaddr_t pgva)
{
char *va, *endva;
@@ -90,7 +90,7 @@
__asm volatile ("movc %0, %%dfc" : : "d" (old_dfc));
}
-void
+void
cache_flush_segment(vaddr_t sgva)
{
char *va, *endva;
@@ -119,7 +119,7 @@
__asm volatile ("movc %0, %%dfc" : : "d" (old_dfc));
}
-void
+void
cache_flush_context(void)
{
char *va, *endva;
@@ -145,7 +145,7 @@
__asm volatile ("movc %0, %%dfc" : : "d" (old_dfc));
}
-static void
+static void
cache_clear_tags(void)
{
char *va, *endva;
@@ -171,7 +171,7 @@
__asm volatile ("movc %0, %%dfc" : : "d" (old_dfc));
}
-void
+void
cache_enable(void)
{
int enab_reg;
diff -r cf044befea2d -r 94d657d9b428 sys/arch/sun3/sun3/clock.c
--- a/sys/arch/sun3/sun3/clock.c Sat Sep 07 10:46:18 2013 +0000
+++ b/sys/arch/sun3/sun3/clock.c Sat Sep 07 15:56:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.63 2010/12/20 00:25:45 matt Exp $ */
+/* $NetBSD: clock.c,v 1.64 2013/09/07 15:56:11 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@@ -83,7 +83,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.63 2010/12/20 00:25:45 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.64 2013/09/07 15:56:11 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -128,7 +128,7 @@
CFATTACH_DECL_NEW(oclock, sizeof(struct intersil7170_softc),
oclock_match, oclock_attach, NULL, NULL);
-static int
+static int
oclock_match(device_t parent, cfdata_t cf, void *aux)
{
struct confargs *ca = aux;
@@ -148,7 +148,7 @@
return 1;
}
-static void
+static void
oclock_attach(device_t parent, device_t self, void *aux)
{
struct intersil7170_softc *sc = device_private(self);
@@ -286,7 +286,7 @@
* This doesn't need to do anything, as we have only one timer and
* profhz==stathz==hz.
*/
-void
+void
setstatclockrate(int newhz)
{
diff -r cf044befea2d -r 94d657d9b428 sys/arch/sun3/sun3/control.c
--- a/sys/arch/sun3/sun3/control.c Sat Sep 07 10:46:18 2013 +0000
+++ b/sys/arch/sun3/sun3/control.c Sat Sep 07 15:56:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: control.c,v 1.23 2008/04/28 20:23:38 martin Exp $ */
+/* $NetBSD: control.c,v 1.24 2013/09/07 15:56:11 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,44 +30,44 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: control.c,v 1.23 2008/04/28 20:23:38 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: control.c,v 1.24 2013/09/07 15:56:11 tsutsui Exp $");
#include <sys/param.h>
#include <machine/pte.h>
#include <sun3/sun3/control.h>
-int
+int
get_context(void)
{
return (get_control_byte(CONTEXT_REG) & CONTEXT_MASK);
}
-void
+void
set_context(int c)
{
set_control_byte(CONTEXT_REG, (c & CONTEXT_MASK));
}
-u_int
+u_int
get_pte(vaddr_t va)
{
return (get_control_word(CONTROL_ADDR_BUILD(PGMAP_BASE, va)));
}
-void
+void
set_pte(vaddr_t va, u_int pte)
{
set_control_word(CONTROL_ADDR_BUILD(PGMAP_BASE, va), pte);
}
-int
+int
get_segmap(vaddr_t va)
{
return (get_control_byte(CONTROL_ADDR_BUILD(SEGMAP_BASE, va)));
}
-void
+void
set_segmap(vaddr_t va, int sme)
{
set_control_byte(CONTROL_ADDR_BUILD(SEGMAP_BASE, va), sme);
diff -r cf044befea2d -r 94d657d9b428 sys/arch/sun3/sun3/db_machdep.c
--- a/sys/arch/sun3/sun3/db_machdep.c Sat Sep 07 10:46:18 2013 +0000
+++ b/sys/arch/sun3/sun3/db_machdep.c Sat Sep 07 15:56:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.c,v 1.27 2010/06/06 03:34:14 mrg Exp $ */
Home |
Main Index |
Thread Index |
Old Index