Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Ensure all memory operations are complete b...



details:   https://anonhg.NetBSD.org/src/rev/42e90dcea262
branches:  trunk
changeset: 333566:42e90dcea262
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 09 09:21:57 2014 +0000

description:
Ensure all memory operations are complete by before wfi. For example, the
cpu could have just been in uvm_pageidlezero.

diffstat:

 sys/arch/arm/arm/cpufunc_asm_armv7.S |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r d98c610f66d9 -r 42e90dcea262 sys/arch/arm/arm/cpufunc_asm_armv7.S
--- a/sys/arch/arm/arm/cpufunc_asm_armv7.S      Sun Nov 09 09:18:07 2014 +0000
+++ b/sys/arch/arm/arm/cpufunc_asm_armv7.S      Sun Nov 09 09:21:57 2014 +0000
@@ -34,6 +34,7 @@
        .arch   armv7a
 
 ENTRY(armv7_cpu_sleep)
+       dsb
        wfi                             @ wait for an interrupt
        b       irq_idle_entry          @ assume we got an interrupt
 END(armv7_cpu_sleep)



Home | Main Index | Thread Index | Old Index