Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 Improve a comment
details: https://anonhg.NetBSD.org/src/rev/6d6eadec35c6
branches: trunk
changeset: 955473:6d6eadec35c6
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 30 16:47:55 2020 +0000
description:
Improve a comment
diffstat:
sys/arch/aarch64/aarch64/aarch64_machdep.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (34 lines):
diff -r b0d2f643f61c -r 6d6eadec35c6 sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c Wed Sep 30 16:35:49 2020 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c Wed Sep 30 16:47:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.48 2020/09/16 18:26:15 skrll Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.49 2020/09/30 16:47:55 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.48 2020/09/16 18:26:15 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.49 2020/09/30 16:47:55 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_cpuoptions.h"
@@ -251,11 +251,10 @@
#ifdef MODULAR
/*
- * aarch64 compiler (gcc & llvm) uses R_AARCH_CALL26/R_AARCH_JUMP26
- * for function calling/jumping.
- * (at this time, both compilers doesn't support -mlong-calls)
- * therefore kernel modules should be loaded within maximum 26bit word,
- * or +-128MB from kernel.
+ * The aarch64 compilers (gcc & llvm) use R_AARCH_CALL26/R_AARCH_JUMP26
+ * for function calls (bl)/jumps(b). At this time, neither compiler
+ * supports -mlong-calls therefore the kernel modules should be loaded
+ * within the maximum range of +/-128MB from kernel text.
*/
#define MODULE_RESERVED_MAX (1024 * 1024 * 128)
#define MODULE_RESERVED_SIZE (1024 * 1024 * 32) /* good enough? */
Home |
Main Index |
Thread Index |
Old Index