Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/arch Pull up following revision(s) (requested by maya...



details:   https://anonhg.NetBSD.org/src/rev/7f6710e5ce0f
branches:  netbsd-7
changeset: 800169:7f6710e5ce0f
user:      snj <snj%NetBSD.org@localhost>
date:      Sun Mar 26 16:05:40 2017 +0000

description:
Pull up following revision(s) (requested by maya in ticket #1375):
        sys/arch/amd64/include/param.h: revision 1.20
        sys/arch/i386/include/param.h: revision 1.80
        sys/arch/x86/x86/bus_space.c: revision 1.39
increase max io mem on amd64. some devices need it.

diffstat:

 sys/arch/amd64/include/param.h |  4 +++-
 sys/arch/i386/include/param.h  |  4 +++-
 sys/arch/x86/x86/bus_space.c   |  6 +++---
 3 files changed, 9 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r db930641afb4 -r 7f6710e5ce0f sys/arch/amd64/include/param.h
--- a/sys/arch/amd64/include/param.h    Sat Mar 25 16:58:10 2017 +0000
+++ b/sys/arch/amd64/include/param.h    Sun Mar 26 16:05:40 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.18 2012/04/20 22:23:24 rmind Exp $ */
+/*     $NetBSD: param.h,v 1.18.14.1 2017/03/26 16:05:40 snj Exp $      */
 
 #ifdef __x86_64__
 
@@ -27,6 +27,8 @@
 #define        PGOFSET         (NBPG-1)        /* byte offset into page */
 #define        NPTEPG          (NBPG/(sizeof (pt_entry_t)))
 
+#define        MAXIOMEM        0xffffffffffff
+
 /*
  * XXXfvdl change this (after bootstrap) to take # of bits from
  * config info into account.
diff -r db930641afb4 -r 7f6710e5ce0f sys/arch/i386/include/param.h
--- a/sys/arch/i386/include/param.h     Sat Mar 25 16:58:10 2017 +0000
+++ b/sys/arch/i386/include/param.h     Sun Mar 26 16:05:40 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.77 2012/04/20 22:23:24 rmind Exp $ */
+/*     $NetBSD: param.h,v 1.77.14.1 2017/03/26 16:05:41 snj Exp $      */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -65,6 +65,8 @@
 #define        PGOFSET         (NBPG-1)        /* byte offset into page */
 #define        NPTEPG          (NBPG/(sizeof (pt_entry_t)))
 
+#define        MAXIOMEM        0xffffffff
+
 #if defined(_KERNEL_OPT)
 #include "opt_kernbase.h"
 #endif /* defined(_KERNEL_OPT) */
diff -r db930641afb4 -r 7f6710e5ce0f sys/arch/x86/x86/bus_space.c
--- a/sys/arch/x86/x86/bus_space.c      Sat Mar 25 16:58:10 2017 +0000
+++ b/sys/arch/x86/x86/bus_space.c      Sun Mar 26 16:05:40 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.c,v 1.38 2012/01/27 18:53:07 para Exp $      */
+/*     $NetBSD: bus_space.c,v 1.38.22.1 2017/03/26 16:05:41 snj Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.38 2012/01/27 18:53:07 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.38.22.1 2017/03/26 16:05:41 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -129,7 +129,7 @@
        ioport_ex = extent_create("ioport", 0x0, 0xffff,
            (void *)ioport_ex_storage, sizeof(ioport_ex_storage),
            EX_NOCOALESCE|EX_NOWAIT);
-       iomem_ex = extent_create("iomem", 0x0, 0xffffffff,
+       iomem_ex = extent_create("iomem", 0x0, MAXIOMEM,
            (void *)iomem_ex_storage, sizeof(iomem_ex_storage),
            EX_NOCOALESCE|EX_NOWAIT);
 



Home | Main Index | Thread Index | Old Index