From f5426f4a860aa7b16827aea1dd611fbd49d1f90c Mon Sep 17 00:00:00 2001 From: shaojinchun Date: Thu, 13 Dec 2018 09:49:15 +0800 Subject: 1 增加了bsp数据屏障接口函数 rt_hw_mb() 2 去除在secondary_cpu_c_start重复了的IPI handler的注册 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/rthw.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/rthw.h b/include/rthw.h index dee10b0bee..8c731e6c53 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -146,6 +146,8 @@ typedef union { void rt_hw_spin_lock(rt_hw_spinlock_t *lock); void rt_hw_spin_unlock(rt_hw_spinlock_t *lock); +void rt_hw_mb(void); + int rt_hw_cpu_id(void); extern rt_hw_spinlock_t _cpus_lock; -- cgit v1.3.1