Module Name:    src
Committed By:   tsutsui
Date:           Sat Jan 11 14:09:13 UTC 2014

Modified Files:
        src/sys/arch/luna68k/stand/boot: init_main.c
Removed Files:
        src/sys/arch/luna68k/stand/boot: stinger.h

Log Message:
Remove unused KernInter stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/luna68k/stand/boot/init_main.c
cvs rdiff -u -r1.1 -r0 src/sys/arch/luna68k/stand/boot/stinger.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/luna68k/stand/boot/init_main.c
diff -u src/sys/arch/luna68k/stand/boot/init_main.c:1.10 src/sys/arch/luna68k/stand/boot/init_main.c:1.11
--- src/sys/arch/luna68k/stand/boot/init_main.c:1.10	Sat Jan 11 08:08:23 2014
+++ src/sys/arch/luna68k/stand/boot/init_main.c	Sat Jan 11 14:09:13 2014
@@ -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 @@ char default_file[64];
 
 int nplane;
 
-/* KIFF */
-
-struct KernInter  KIFF;
-struct KernInter *kiff = &KIFF;
-
 /* for command parser */
 
 #define BUFFSIZE 100
@@ -207,11 +202,7 @@ main(void)
 	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;

Reply via email to