mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-05 21:41:43 +00:00
[bsp][hpmicro] add missing fence apis
- added missing fence apis Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
This commit is contained in:
@@ -87,6 +87,18 @@ extern "C" {
|
||||
*/
|
||||
#define fencei() __asm volatile("fence.i")
|
||||
|
||||
/**
|
||||
* @brief execute fence rw
|
||||
*
|
||||
*/
|
||||
#define fencerw() __asm volatile("fence rw, rw")
|
||||
|
||||
/**
|
||||
* @brief execute fence iorw
|
||||
*
|
||||
*/
|
||||
#define fenceiorw() __asm volatile("fence iorw, iorw")
|
||||
|
||||
/**
|
||||
* @brief enable fpu
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user