[bsp][hpmicro] add missing fence apis
- added missing fence apis Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
This commit is contained in:
parent
6c085218a3
commit
0b1ba0f612
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue