Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/rpi Enabling alignment faults and unaligned ...



details:   https://anonhg.NetBSD.org/src/rev/52eda5b743cf
branches:  trunk
changeset: 329195:52eda5b743cf
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed May 14 14:38:54 2014 +0000

description:
Enabling alignment faults and unaligned access at the same time makes
the former win. LLVM is more aggressive than GCC about using unaligned
access, so it would crash during pmap_init.

diffstat:

 sys/arch/evbarm/rpi/rpi_start.S |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r f13bca1a5967 -r 52eda5b743cf sys/arch/evbarm/rpi/rpi_start.S
--- a/sys/arch/evbarm/rpi/rpi_start.S   Wed May 14 13:59:19 2014 +0000
+++ b/sys/arch/evbarm/rpi/rpi_start.S   Wed May 14 14:38:54 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpi_start.S,v 1.10 2014/04/07 14:40:17 skrll Exp $     */
+/*     $NetBSD: rpi_start.S,v 1.11 2014/05/14 14:38:54 joerg Exp $     */
 
 /*
  * Copyright (c) 2002, 2003  Genetec Corporation.  All rights reserved.
@@ -87,7 +87,7 @@
 #include <arm/armreg.h>
 #include "assym.h"
 
-RCSID("$NetBSD: rpi_start.S,v 1.10 2014/04/07 14:40:17 skrll Exp $")
+RCSID("$NetBSD: rpi_start.S,v 1.11 2014/05/14 14:38:54 joerg Exp $")
 
 /*
  * Workaround Erratum 411920
@@ -268,7 +268,6 @@
        /* bits to set in the Control Register */
 Lcontrol_set:
        .word CPU_CONTROL_MMU_ENABLE  | \
-             CPU_CONTROL_AFLT_ENABLE | \
              CPU_CONTROL_DC_ENABLE   | \
              CPU_CONTROL_WBUF_ENABLE |    /* not defined in 1176 */   \
              CPU_CONTROL_32BP_ENABLE | \



Home | Main Index | Thread Index | Old Index