Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Remove unused "startkernel" argument for openbios_b...



details:   https://anonhg.NetBSD.org/src/rev/aa55a47aa375
branches:  trunk
changeset: 960823:aa55a47aa375
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 01:47:44 2021 +0000

description:
Remove unused "startkernel" argument for openbios_board_init().

diffstat:

 sys/arch/evbppc/obs405/obs266_machdep.c     |  6 +++---
 sys/arch/powerpc/ibm4xx/openbios/openbios.c |  6 +++---
 sys/arch/powerpc/include/ibm4xx/openbios.h  |  4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r dd31bfc01d40 -r aa55a47aa375 sys/arch/evbppc/obs405/obs266_machdep.c
--- a/sys/arch/evbppc/obs405/obs266_machdep.c   Tue Mar 30 01:33:50 2021 +0000
+++ b/sys/arch/evbppc/obs405/obs266_machdep.c   Tue Mar 30 01:47:44 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obs266_machdep.c,v 1.23 2021/03/30 01:33:50 rin Exp $  */
+/*     $NetBSD: obs266_machdep.c,v 1.24 2021/03/30 01:47:44 rin Exp $  */
 /*     Original: md_machdep.c,v 1.3 2005/01/24 18:47:37 shige Exp $    */
 
 /*
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.23 2021/03/30 01:33:50 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.24 2021/03/30 01:47:44 rin Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -131,7 +131,7 @@
        u_int memsize;
 
        /* Setup board from OpenBIOS */
-       openbios_board_init(info_block, startkernel);
+       openbios_board_init(info_block);
        memsize = openbios_board_memsize_get();
 
        /* Linear map kernel memory */
diff -r dd31bfc01d40 -r aa55a47aa375 sys/arch/powerpc/ibm4xx/openbios/openbios.c
--- a/sys/arch/powerpc/ibm4xx/openbios/openbios.c       Tue Mar 30 01:33:50 2021 +0000
+++ b/sys/arch/powerpc/ibm4xx/openbios/openbios.c       Tue Mar 30 01:47:44 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openbios.c,v 1.5 2011/06/18 06:41:42 matt Exp $        */
+/*     $NetBSD: openbios.c,v 1.6 2021/03/30 01:47:45 rin Exp $ */
 
 /*
  * Copyright (c) 2004 Shigeyuki Fukushima.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: openbios.c,v 1.5 2011/06/18 06:41:42 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: openbios.c,v 1.6 2021/03/30 01:47:45 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -60,7 +60,7 @@
 static struct board_bios_data board_bios;
 
 void
-openbios_board_init(void *info_block, u_int startkernel)
+openbios_board_init(void *info_block)
 {
 
         /* Initialize cache info for memcpy, etc. */
diff -r dd31bfc01d40 -r aa55a47aa375 sys/arch/powerpc/include/ibm4xx/openbios.h
--- a/sys/arch/powerpc/include/ibm4xx/openbios.h        Tue Mar 30 01:33:50 2021 +0000
+++ b/sys/arch/powerpc/include/ibm4xx/openbios.h        Tue Mar 30 01:47:44 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openbios.h,v 1.2 2005/12/11 12:18:43 christos Exp $    */
+/*     $NetBSD: openbios.h,v 1.3 2021/03/30 01:47:45 rin Exp $ */
 
 /*
  * Copyright (c) 2004 Shigeyuki Fukushima.
@@ -35,7 +35,7 @@
 
 #include <sys/param.h>
 
-extern void            openbios_board_init(void *, u_int);
+extern void            openbios_board_init(void *);
 extern unsigned int    openbios_board_memsize_get(void);
 extern void            openbios_board_info_set(void);
 extern void            openbios_board_print(void);



Home | Main Index | Thread Index | Old Index