Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Bump OFW_MAX_TRANSLATIONS from 32 -...



details:   https://anonhg.NetBSD.org/src/rev/8e9a93d541b9
branches:  trunk
changeset: 959912:8e9a93d541b9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Feb 28 20:31:32 2021 +0000

description:
Bump OFW_MAX_TRANSLATIONS from 32 -> 48.  32 was already tight (at least
on my Macs), and having having translations for the kernel itself present
in the firmware's translation table bumped it over the 32-entry limit.

diffstat:

 sys/arch/powerpc/include/ofw_machdep.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b09e155aa924 -r 8e9a93d541b9 sys/arch/powerpc/include/ofw_machdep.h
--- a/sys/arch/powerpc/include/ofw_machdep.h    Sun Feb 28 20:27:40 2021 +0000
+++ b/sys/arch/powerpc/include/ofw_machdep.h    Sun Feb 28 20:31:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_machdep.h,v 1.2 2021/02/19 05:21:39 thorpej Exp $ */
+/* $NetBSD: ofw_machdep.h,v 1.3 2021/02/28 20:31:32 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
        uint32_t        mode;
 };
 
-#define        OFW_MAX_TRANSLATIONS    32
+#define        OFW_MAX_TRANSLATIONS    48
 
 extern int ofw_chosen;         /* cached handle for "/chosen" */
 extern struct OF_translation ofw_translations[OFW_MAX_TRANSLATIONS];



Home | Main Index | Thread Index | Old Index