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 sure CPU_CONTROL_BEND_ENABLE is set...



details:   https://anonhg.NetBSD.org/src/rev/6e3de7f51d58
branches:  trunk
changeset: 789016:6e3de7f51d58
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 04 01:20:08 2013 +0000

description:
Make sure CPU_CONTROL_BEND_ENABLE is set on BE systems.

diffstat:

 sys/arch/arm/cortex/a9_mpsubr.S |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 0909c12fb348 -r 6e3de7f51d58 sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S   Sun Aug 04 01:02:01 2013 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S   Sun Aug 04 01:20:08 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: a9_mpsubr.S,v 1.6 2013/06/20 05:29:01 matt Exp $       */
+/*     $NetBSD: a9_mpsubr.S,v 1.7 2013/08/04 01:20:08 matt Exp $       */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -113,10 +113,15 @@
 #undef CPU_CONTROL_SWP_ENABLE          // not present on A8
 #define        CPU_CONTROL_SWP_ENABLE          0
 #endif
+#ifdef __ARMEL__
+#undef CPU_CONTROL_BEND_ENABLE         // needs to clear on LE systems
+#define        CPU_CONTROL_BEND_ENABLE         0
+#endif
 
 #define        CPU_CONTROL_SET \
        (CPU_CONTROL_MMU_ENABLE         |       \
         CPU_CONTROL_AFLT_ENABLE        |       \
+        CPU_CONTROL_BEND_ENABLE        |       \
         CPU_CONTROL_DC_ENABLE          |       \
         CPU_CONTROL_SWP_ENABLE         |       \
         CPU_CONTROL_BPRD_ENABLE        |       \



Home | Main Index | Thread Index | Old Index