Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha Make it clear that the pfn argument to ...



details:   https://anonhg.NetBSD.org/src/rev/e56601fc0e4b
branches:  trunk
changeset: 969502:e56601fc0e4b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Feb 22 17:33:42 2020 +0000

description:
Make it clear that the pfn argument to alpha_init() is no longer used.

diffstat:

 sys/arch/alpha/alpha/machdep.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 676b204792b0 -r e56601fc0e4b sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c    Sat Feb 22 14:47:29 2020 +0000
+++ b/sys/arch/alpha/alpha/machdep.c    Sat Feb 22 17:33:42 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.357 2019/12/31 13:07:09 ad Exp $ */
+/* $NetBSD: machdep.c,v 1.358 2020/02/22 17:33:42 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2019 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.357 2019/12/31 13:07:09 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.358 2020/02/22 17:33:42 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -216,8 +216,9 @@
 };
 
 void
-alpha_init(u_long pfn, u_long ptb, u_long bim, u_long bip, u_long biv)
-       /* pfn:          first free PFN number */
+alpha_init(u_long xxx_pfn __unused, u_long ptb, u_long bim, u_long bip,
+    u_long biv)
+       /* pfn:          first free PFN number (no longer used) */
        /* ptb:          PFN of current level 1 page table */
        /* bim:          bootinfo magic */
        /* bip:          bootinfo pointer */



Home | Main Index | Thread Index | Old Index