Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/vfp isb after writing cpacr, from Andrew Turner
details: https://anonhg.NetBSD.org/src/rev/ad7787505772
branches: trunk
changeset: 807955:ad7787505772
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Apr 28 17:14:21 2015 +0000
description:
isb after writing cpacr, from Andrew Turner
diffstat:
sys/arch/arm/vfp/vfp_init.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 337ca52452d4 -r ad7787505772 sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c Tue Apr 28 17:01:40 2015 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c Tue Apr 28 17:14:21 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfp_init.c,v 1.47 2015/03/23 17:42:02 matt Exp $ */
+/* $NetBSD: vfp_init.c,v 1.48 2015/04/28 17:14:21 jmcneill Exp $ */
/*
* Copyright (c) 2008 ARM Ltd
@@ -265,6 +265,8 @@
cpacr |= __SHIFTIN(CPACR_ALL, cpacr_vfp2);
armreg_cpacr_write(cpacr);
+ arm_isb();
+
/*
* If we could enable them, then they exist.
*/
Home |
Main Index |
Thread Index |
Old Index