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 Make these compile with gcc4.1 and binut...
details: https://anonhg.NetBSD.org/src/rev/5a210b64f7c9
branches: trunk
changeset: 782954:5a210b64f7c9
user: matt <matt%NetBSD.org@localhost>
date: Wed Nov 28 22:48:13 2012 +0000
description:
Make these compile with gcc4.1 and binutils 2.16
diffstat:
sys/arch/arm/cortex/a9_mpsubr.S | 6 +++---
sys/arch/arm/cortex/pl310.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (51 lines):
diff -r ee851f53e730 -r 5a210b64f7c9 sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S Wed Nov 28 21:39:59 2012 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S Wed Nov 28 22:48:13 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: a9_mpsubr.S,v 1.3 2012/09/05 00:21:30 matt Exp $ */
+/* $NetBSD: a9_mpsubr.S,v 1.4 2012/11/28 22:48:13 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -302,10 +302,10 @@
* Step 4b, set ACTLR.SMP=1 (and ACTRL.FX=1)
*/
mrc p15, 0, r0, c1, c0, 1 @ read aux ctl
- orr r0, #CORTEXA9_AUXCTL_SMP @ enable SMP
+ orr r0, r0, #CORTEXA9_AUXCTL_SMP @ enable SMP
mcr p15, 0, r0, c1, c0, 1 @ write aux ctl
isb
- orr r0, #CORTEXA9_AUXCTL_FW @ enable cache/tlb/coherency
+ orr r0, r0, #CORTEXA9_AUXCTL_FW @ enable cache/tlb/coherency
mcr p15, 0, r0, c1, c0, 1 @ write aux ctl
isb
diff -r ee851f53e730 -r 5a210b64f7c9 sys/arch/arm/cortex/pl310.c
--- a/sys/arch/arm/cortex/pl310.c Wed Nov 28 21:39:59 2012 +0000
+++ b/sys/arch/arm/cortex/pl310.c Wed Nov 28 22:48:13 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pl310.c,v 1.8 2012/11/01 20:17:44 matt Exp $ */
+/* $NetBSD: pl310.c,v 1.9 2012/11/28 22:48:13 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.8 2012/11/01 20:17:44 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.9 2012/11/28 22:48:13 matt Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -67,8 +67,8 @@
CFATTACH_DECL_NEW(arml2cc, sizeof(struct arml2cc_softc),
arml2cc_match, arml2cc_attach, NULL, NULL);
-static void arml2cc_disable(struct arml2cc_softc *);
-static void arml2cc_enable(struct arml2cc_softc *);
+static inline void arml2cc_disable(struct arml2cc_softc *);
+static inline void arml2cc_enable(struct arml2cc_softc *);
static void arml2cc_sdcache_wb_range(vaddr_t, paddr_t, psize_t);
static void arml2cc_sdcache_inv_range(vaddr_t, paddr_t, psize_t);
static void arml2cc_sdcache_wbinv_range(vaddr_t, paddr_t, psize_t);
Home |
Main Index |
Thread Index |
Old Index