summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorshaojinchun <[email protected]>2018-12-13 09:49:15 +0800
committershaojinchun <[email protected]>2018-12-13 09:49:15 +0800
commitf5426f4a860aa7b16827aea1dd611fbd49d1f90c (patch)
tree1d95e905d1562fb0e1e30d95d5c07add3b6ebb9d /include
parentb628ac0e7e85ec634de305b3563c4ccb3674c5e8 (diff)
1 增加了bsp数据屏障接口函数 rt_hw_mb()
2 去除在secondary_cpu_c_start重复了的IPI handler的注册
Diffstat (limited to 'include')
-rw-r--r--include/rthw.h2
1 files changed, 2 insertions, 0 deletions
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;