Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh3 cosmetic changes.
details: https://anonhg.NetBSD.org/src/rev/fc599da6c7b7
branches: trunk
changeset: 526783:fc599da6c7b7
user: uch <uch%NetBSD.org@localhost>
date: Fri May 10 15:28:45 2002 +0000
description:
cosmetic changes.
diffstat:
sys/arch/sh3/conf/files.shb | 6 +++---
sys/arch/sh3/sh3/cache_sh3.c | 4 ++--
sys/arch/sh3/sh3/db_interface.c | 7 ++-----
sys/arch/sh3/sh3/sys_machdep.c | 25 ++-----------------------
4 files changed, 9 insertions(+), 33 deletions(-)
diffs (112 lines):
diff -r 40012d58ea0a -r fc599da6c7b7 sys/arch/sh3/conf/files.shb
--- a/sys/arch/sh3/conf/files.shb Fri May 10 15:27:05 2002 +0000
+++ b/sys/arch/sh3/conf/files.shb Fri May 10 15:28:45 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.shb,v 1.1 2002/03/24 18:00:41 uch Exp $
+# $NetBSD: files.shb,v 1.2 2002/05/10 15:28:45 uch Exp $
#
# SuperH internal devices.
#
@@ -15,10 +15,10 @@
defparam opt_sci.h SCICN_SPEED
device sci: tty
attach sci at shb
-file arch/sh3/dev/sci.c sci needs-flag
+file arch/sh3/dev/sci.c sci needs-flag
defflag opt_scif.h SCIFCONSOLE
defparam opt_scif.h SCIFCN_SPEED
device scif: tty
attach scif at shb
-file arch/sh3/dev/scif.c scif needs-flag
+file arch/sh3/dev/scif.c scif needs-flag
diff -r 40012d58ea0a -r fc599da6c7b7 sys/arch/sh3/sh3/cache_sh3.c
--- a/sys/arch/sh3/sh3/cache_sh3.c Fri May 10 15:27:05 2002 +0000
+++ b/sys/arch/sh3/sh3/cache_sh3.c Fri May 10 15:28:45 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cache_sh3.c,v 1.5 2002/04/28 17:10:38 uch Exp $ */
+/* $NetBSD: cache_sh3.c,v 1.6 2002/05/10 15:28:45 uch Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -190,7 +190,7 @@
vaddr_t va;
for (va = 0; va < sh_cache_way_size; va += 16 * 8)
- cache_sh3_op_8lines_16_nway(sh_cache_ways, va, CCA_U | CCA_V);
+ cache_sh3_op_8lines_16_nway(sh_cache_ways, va, CCA_U | CCA_V);
}
void
diff -r 40012d58ea0a -r fc599da6c7b7 sys/arch/sh3/sh3/db_interface.c
--- a/sys/arch/sh3/sh3/db_interface.c Fri May 10 15:27:05 2002 +0000
+++ b/sys/arch/sh3/sh3/db_interface.c Fri May 10 15:28:45 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.17 2002/05/09 12:29:16 uch Exp $ */
+/* $NetBSD: db_interface.c,v 1.18 2002/05/10 15:28:45 uch Exp $ */
/*-
* Copyright (C) 2002 UCHIYAMA Yasushi. All rights reserved.
@@ -64,16 +64,13 @@
#include <ddb/ddbvar.h>
void kdb_printtrap(u_int, int);
+
void db_tlbdump_cmd(db_expr_t, int, db_expr_t, char *);
-
void __db_tlbdump_page_size_sh4(u_int32_t);
-
void __db_tlbdump_pfn(u_int32_t);
void db_cachedump_cmd(db_expr_t, int, db_expr_t, char *);
void __db_cachedump_sh3(vaddr_t);
-
-
void __db_cachedump_sh4(vaddr_t);
void db_stackcheck_cmd(db_expr_t, int, db_expr_t, char *);
diff -r 40012d58ea0a -r fc599da6c7b7 sys/arch/sh3/sh3/sys_machdep.c
--- a/sys/arch/sh3/sh3/sys_machdep.c Fri May 10 15:27:05 2002 +0000
+++ b/sys/arch/sh3/sh3/sys_machdep.c Fri May 10 15:28:45 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_machdep.c,v 1.6 2002/03/03 14:31:28 uch Exp $ */
+/* $NetBSD: sys_machdep.c,v 1.7 2002/05/10 15:28:45 uch Exp $ */
/*-
* Copyright (c) 1995, 1997
@@ -42,34 +42,13 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/ioctl.h>
-#include <sys/file.h>
-#include <sys/time.h>
-#include <sys/proc.h>
-#include <sys/user.h>
-#include <sys/uio.h>
-#include <sys/kernel.h>
-#include <sys/buf.h>
-#include <sys/signal.h>
-
#include <sys/mount.h>
#include <sys/syscallargs.h>
-#include <uvm/uvm_extern.h>
-
-#include <machine/cpu.h>
-#include <machine/psl.h>
-#include <machine/reg.h>
-
int
sys_sysarch(struct proc *p, void *v, register_t *retval)
{
-#if 0 /* unused */
- struct sys_sysarch_args /* {
- syscallarg(int) op;
- syscallarg(void *) parms;
- } */ *uap = v;
-#endif
+ struct sys_sysarch_args __attribute__((__unused__)) *uap = v;
return (ENOSYS);
}
Home |
Main Index |
Thread Index |
Old Index