Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Add CPU_CONTROL_UNAL_ENABLE. New ABIs demand unalig...
details: https://anonhg.NetBSD.org/src/rev/2f82fe2d248a
branches: trunk
changeset: 791309:2f82fe2d248a
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Nov 12 17:14:39 2013 +0000
description:
Add CPU_CONTROL_UNAL_ENABLE. New ABIs demand unaligned accesses!
diffstat:
sys/arch/arm/arm/cpufunc.c | 5 +++--
sys/arch/evbarm/rpi/rpi_start.S | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (52 lines):
diff -r 734413919352 -r 2f82fe2d248a sys/arch/arm/arm/cpufunc.c
--- a/sys/arch/arm/arm/cpufunc.c Tue Nov 12 17:10:39 2013 +0000
+++ b/sys/arch/arm/arm/cpufunc.c Tue Nov 12 17:14:39 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.c,v 1.128 2013/11/06 02:36:36 christos Exp $ */
+/* $NetBSD: cpufunc.c,v 1.129 2013/11/12 17:14:39 skrll Exp $ */
/*
* arm7tdmi support code Copyright (c) 2001 John Fremlin
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.128 2013/11/06 02:36:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.129 2013/11/12 17:14:39 skrll Exp $");
#include "opt_compat_netbsd.h"
#include "opt_cpuoptions.h"
@@ -3092,6 +3092,7 @@
CPU_CONTROL_32BD_ENABLE |
CPU_CONTROL_LABT_ENABLE |
CPU_CONTROL_SYST_ENABLE |
+ CPU_CONTROL_UNAL_ENABLE |
CPU_CONTROL_IC_ENABLE;
/*
diff -r 734413919352 -r 2f82fe2d248a sys/arch/evbarm/rpi/rpi_start.S
--- a/sys/arch/evbarm/rpi/rpi_start.S Tue Nov 12 17:10:39 2013 +0000
+++ b/sys/arch/evbarm/rpi/rpi_start.S Tue Nov 12 17:14:39 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpi_start.S,v 1.7 2012/09/23 15:56:32 skrll Exp $ */
+/* $NetBSD: rpi_start.S,v 1.8 2013/11/12 17:14:39 skrll 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.7 2012/09/23 15:56:32 skrll Exp $")
+RCSID("$NetBSD: rpi_start.S,v 1.8 2013/11/12 17:14:39 skrll Exp $")
/*
* Workaround Erratum 411920
@@ -277,6 +277,7 @@
CPU_CONTROL_SYST_ENABLE | \
(1 << 16) | /* SBO - Global enable for data tcm */ \
(1 << 18) | /* SBO - Global enable for insn tcm */ \
+ CPU_CONTROL_UNAL_ENABLE | \
CPU_CONTROL_IC_ENABLE
Home |
Main Index |
Thread Index |
Old Index