Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch - include <mips/mips_param.h> after MACHINE is defined
details: https://anonhg.NetBSD.org/src/rev/ca035991b01c
branches: trunk
changeset: 763402:ca035991b01c
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Mar 18 16:35:03 2011 +0000
description:
- include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment
diffstat:
sys/arch/algor/include/param.h | 10 +++-------
sys/arch/hpcmips/include/param.h | 10 +++-------
sys/arch/mipsco/include/param.h | 10 +++-------
3 files changed, 9 insertions(+), 21 deletions(-)
diffs (98 lines):
diff -r dc5aadadeb51 -r ca035991b01c sys/arch/algor/include/param.h
--- a/sys/arch/algor/include/param.h Fri Mar 18 16:33:41 2011 +0000
+++ b/sys/arch/algor/include/param.h Fri Mar 18 16:35:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.10 2011/02/08 20:20:07 rmind Exp $ */
+/* $NetBSD: param.h,v 1.11 2011/03/18 16:35:03 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -42,18 +42,14 @@
#define _ALGOR_PARAM_H_
/*
- * Machine-dependent constants (VM, etc) common across MIPS cpus
- */
-
-#include <mips/mips_param.h>
-
-/*
* Machine dependent constants for Algorithmics boards.
*/
#define _MACHINE algor
#define MACHINE "algor"
+#include <mips/mips_param.h>
+
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define BLKDEV_IOSIZE 2048
diff -r dc5aadadeb51 -r ca035991b01c sys/arch/hpcmips/include/param.h
--- a/sys/arch/hpcmips/include/param.h Fri Mar 18 16:33:41 2011 +0000
+++ b/sys/arch/hpcmips/include/param.h Fri Mar 18 16:35:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.15 2011/02/08 20:20:15 rmind Exp $ */
+/* $NetBSD: param.h,v 1.16 2011/03/18 16:36:50 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -38,15 +38,9 @@
* @(#)param.h 8.1 (Berkeley) 6/10/93
*/
-/*
- * Machine-dependent constants (VM, etc) common across MIPS cpus
- */
-
#ifndef _HPCMIPS_PARAM_H_
#define _HPCMIPS_PARAM_H_
-#include <mips/mips_param.h>
-
/*
* Machine dependent constants for mips-based Handheld PC.
*/
@@ -54,6 +48,8 @@
#define _MACHINE hpcmips
#define MACHINE "hpcmips"
+#include <mips/mips_param.h>
+
#define KERNBASE 0x80000000 /* start of kernel virtual */
#define KERNTEXTOFF 0x80001000 /* start of kernel text for kvm_mkdb */
#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
diff -r dc5aadadeb51 -r ca035991b01c sys/arch/mipsco/include/param.h
--- a/sys/arch/mipsco/include/param.h Fri Mar 18 16:33:41 2011 +0000
+++ b/sys/arch/mipsco/include/param.h Fri Mar 18 16:35:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.13 2011/02/08 20:20:19 rmind Exp $ */
+/* $NetBSD: param.h,v 1.14 2011/03/18 16:37:18 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -38,15 +38,9 @@
* @(#)param.h 8.1 (Berkeley) 6/10/93
*/
-/*
- * Machine-dependent constants (VM, etc) common across MIPS cpus
- */
-
#ifndef _MIPSCO_PARAM_H_
#define _MIPSCO_PARAM_H_
-#include <mips/mips_param.h>
-
/*
* Machine dependent constants for Mips Corp. machines
*/
@@ -54,6 +48,8 @@
#define _MACHINE mipsco
#define MACHINE "mipsco"
+#include <mips/mips_param.h>
+
#define KERNBASE 0x80000000 /* start of kernel virtual */
#define KERNTEXTOFF 0x80001000 /* start of kernel text for kvm_mkdb */
#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
Home |
Main Index |
Thread Index |
Old Index