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/40d02a474c5f
branches: trunk
changeset: 953196:40d02a474c5f
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 59721178b9f4 -r 40d02a474c5f 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