Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules/arch/arm/arm-lpae Latent support for ARM_HAS_LPAE.
details: https://anonhg.NetBSD.org/src/rev/8e7487ec2105
branches: trunk
changeset: 337516:8e7487ec2105
user: matt <matt%NetBSD.org@localhost>
date: Fri Apr 17 20:13:51 2015 +0000
description:
Latent support for ARM_HAS_LPAE.
diffstat:
sys/modules/arch/arm/arm-lpae/Makefile | 5 +++++
sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk | 11 +++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diffs (24 lines):
diff -r 5da6d596706a -r 8e7487ec2105 sys/modules/arch/arm/arm-lpae/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/arch/arm/arm-lpae/Makefile Fri Apr 17 20:13:51 2015 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2015/04/17 20:13:51 matt Exp $
+
+BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.arm-lpae.mk
+
+.include "../../compatsubdir.mk"
diff -r 5da6d596706a -r 8e7487ec2105 sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk Fri Apr 17 20:13:51 2015 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: bsd.arm-lpae.mk,v 1.1 2015/04/17 20:13:51 matt Exp $
+
+.ifndef _BSD_ARM_LPAE_MK_
+_BSD_ARM_LPAE_MK_=1
+
+KMODULEARCHDIR:= arm-lpae
+
+# gcc emits bad code with these options
+CPPFLAGS+= -DARM_HAS_LPAE
+
+.endif # _BSD_ARM_LPAE_MK_
Home |
Main Index |
Thread Index |
Old Index