Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/cortex need to include <sys/lwp.h>



details:   https://anonhg.NetBSD.org/src/rev/f54340a39ce4
branches:  trunk
changeset: 807241:f54340a39ce4
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Apr 02 06:15:40 2015 +0000

description:
need to include <sys/lwp.h>

diffstat:

 sys/arch/arm/cortex/armperiph.c |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 1aae0e4e8fc6 -r f54340a39ce4 sys/arch/arm/cortex/armperiph.c
--- a/sys/arch/arm/cortex/armperiph.c   Thu Apr 02 03:22:51 2015 +0000
+++ b/sys/arch/arm/cortex/armperiph.c   Thu Apr 02 06:15:40 2015 +0000
@@ -31,10 +31,11 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: armperiph.c,v 1.9 2015/02/28 15:45:12 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: armperiph.c,v 1.10 2015/04/02 06:15:40 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
+#include <sys/lwp.h>
 
 #include "ioconf.h"
 
@@ -97,6 +98,14 @@
 };
 #endif
 
+#ifdef CPU_CORTEXA17
+static const struct armperiph_info a17_devices[] = {
+       { "armgic",  0x1000, 0x2000 },
+       { "armgtmr", 0, 0 },
+       { "", 0, 0 },
+};
+#endif
+
 
 static const struct mpcore_config {
        const struct armperiph_info *cfg_devices;
@@ -115,6 +124,9 @@
 #ifdef CPU_CORTEXA15
        { a15_devices, 0x410fc0f0, 8*4096 },
 #endif
+#ifdef CPU_CORTEXA17
+       { a17_devices, 0x410fc0e0, 8*4096 },
+#endif
 };
 
 static const struct mpcore_config *



Home | Main Index | Thread Index | Old Index