Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/stand/boot Remove unused KernInter stuff.
details: https://anonhg.NetBSD.org/src/rev/2da76a47a02e
branches: trunk
changeset: 325908:2da76a47a02e
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jan 11 14:09:13 2014 +0000
description:
Remove unused KernInter stuff.
diffstat:
sys/arch/luna68k/stand/boot/init_main.c | 13 +----
sys/arch/luna68k/stand/boot/stinger.h | 86 ---------------------------------
2 files changed, 2 insertions(+), 97 deletions(-)
diffs (124 lines):
diff -r 725066185bdf -r 2da76a47a02e sys/arch/luna68k/stand/boot/init_main.c
--- a/sys/arch/luna68k/stand/boot/init_main.c Sat Jan 11 12:20:07 2014 +0000
+++ b/sys/arch/luna68k/stand/boot/init_main.c Sat Jan 11 14:09:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_main.c,v 1.10 2014/01/11 08:08:23 tsutsui Exp $ */
+/* $NetBSD: init_main.c,v 1.11 2014/01/11 14:09:13 tsutsui Exp $ */
/*
* Copyright (c) 1992 OMRON Corporation.
@@ -94,11 +94,6 @@
int nplane;
-/* KIFF */
-
-struct KernInter KIFF;
-struct KernInter *kiff = &KIFF;
-
/* for command parser */
#define BUFFSIZE 100
@@ -207,11 +202,7 @@
printf(">> (based on Stinger ver 0.0 [%s])\n", VERS_LOCAL);
printf("\n");
- kiff->maxaddr = (void *) (ROM_memsize -1);
- kiff->dipsw = ~((dipsw2 << 8) | dipsw1) & 0xFFFF;
- kiff->plane = nplane;
-
- i = (int) kiff->maxaddr + 1;
+ i = ROM_memsize;
printf("Machine model = %s\n", machstr);
printf("Physical Memory = 0x%x ", i);
i >>= 20;
diff -r 725066185bdf -r 2da76a47a02e sys/arch/luna68k/stand/boot/stinger.h
--- a/sys/arch/luna68k/stand/boot/stinger.h Sat Jan 11 12:20:07 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-/* $NetBSD: stinger.h,v 1.1 2013/01/05 17:44:24 tsutsui Exp $ */
-
-/*
- * Copyright (c) 1992 OMRON Corporation.
- *
- * This code is derived from software contributed to Berkeley by
- * OMRON Corporation.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)stinger.h 8.1 (Berkeley) 6/10/93
- */
-/*
- * Copyright (c) 1992, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * OMRON Corporation.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)stinger.h 8.1 (Berkeley) 6/10/93
- */
-
-/*
- * stinger.h -- Stinger Kernel Interface Definitions
- * remade by A.Fujita, JAN-12-1993
- */
-
-struct KernInter {
- void *maxaddr;
- u_int dipsw;
- int plane;
-};
-
-extern struct KernInter KernInter;
-
-#define KIFF_DIPSW_NOBM 0x0002 /* not use bitmap display as console */
Home |
Main Index |
Thread Index |
Old Index