Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64 Replace COHERENCY_UNIT in ldscript.
details: https://anonhg.NetBSD.org/src/rev/35bc7263d814
branches: trunk
changeset: 340171:35bc7263d814
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Aug 25 08:04:31 2015 +0000
description:
Replace COHERENCY_UNIT in ldscript.
diffstat:
sys/arch/amd64/amd64/genassym.cf | 4 +++-
sys/arch/amd64/conf/kern.ldscript | 8 ++++----
sys/arch/amd64/conf/kern.ldscript.2MB | 8 ++++----
sys/arch/amd64/conf/kern.ldscript.Xen | 8 ++++----
4 files changed, 15 insertions(+), 13 deletions(-)
diffs (105 lines):
diff -r 60690e7afd4e -r 35bc7263d814 sys/arch/amd64/amd64/genassym.cf
--- a/sys/arch/amd64/amd64/genassym.cf Tue Aug 25 08:01:18 2015 +0000
+++ b/sys/arch/amd64/amd64/genassym.cf Tue Aug 25 08:04:31 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.57 2015/07/11 10:15:33 kamil Exp $
+# $NetBSD: genassym.cf,v 1.58 2015/08/25 08:04:31 uebayasi Exp $
#
# Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -373,3 +373,5 @@
define RESCHED_KPREEMPT RESCHED_KPREEMPT
define SEL_RPL_MASK SEL_RPL
+
+define COHERENCY_UNIT COHERENCY_UNIT
diff -r 60690e7afd4e -r 35bc7263d814 sys/arch/amd64/conf/kern.ldscript
--- a/sys/arch/amd64/conf/kern.ldscript Tue Aug 25 08:01:18 2015 +0000
+++ b/sys/arch/amd64/conf/kern.ldscript Tue Aug 25 08:04:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern.ldscript,v 1.13 2015/08/22 02:23:58 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript,v 1.14 2015/08/25 08:04:31 uebayasi Exp $ */
ENTRY(_start)
SECTIONS
@@ -28,17 +28,17 @@
*(.data)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
.data.cacheline_aligned :
{
*(.data.cacheline_aligned)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
.data.read_mostly :
{
*(.data.read_mostly)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
_edata = . ;
PROVIDE (edata = .) ;
diff -r 60690e7afd4e -r 35bc7263d814 sys/arch/amd64/conf/kern.ldscript.2MB
--- a/sys/arch/amd64/conf/kern.ldscript.2MB Tue Aug 25 08:01:18 2015 +0000
+++ b/sys/arch/amd64/conf/kern.ldscript.2MB Tue Aug 25 08:04:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern.ldscript.2MB,v 1.9 2015/08/22 02:23:58 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript.2MB,v 1.10 2015/08/25 08:04:31 uebayasi Exp $ */
ENTRY(_start)
SECTIONS
@@ -28,17 +28,17 @@
{
*(.data)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
.data.cacheline_aligned :
{
*(.data.cacheline_aligned)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
.data.read_mostly :
{
*(.data.read_mostly)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
_edata = . ;
PROVIDE (edata = .) ;
__bss_start = . ;
diff -r 60690e7afd4e -r 35bc7263d814 sys/arch/amd64/conf/kern.ldscript.Xen
--- a/sys/arch/amd64/conf/kern.ldscript.Xen Tue Aug 25 08:01:18 2015 +0000
+++ b/sys/arch/amd64/conf/kern.ldscript.Xen Tue Aug 25 08:04:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern.ldscript.Xen,v 1.8 2015/08/22 02:23:58 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript.Xen,v 1.9 2015/08/25 08:04:31 uebayasi Exp $ */
ENTRY(_start)
SECTIONS
@@ -22,17 +22,17 @@
{
*(.data)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
.data.cacheline_aligned :
{
*(.data.cacheline_aligned)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
.data.read_mostly :
{
*(.data.read_mostly)
}
- . = ALIGN(64); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
_edata = . ;
PROVIDE (edata = .) ;
__bss_start = . ;
Home |
Main Index |
Thread Index |
Old Index