Add a flushw() macro.
This commit is contained in:
parent
733bc35923
commit
511df0c9cd
@ -76,6 +76,10 @@
|
||||
__asm __volatile("flush %0" : : "r" (va)); \
|
||||
} while (0)
|
||||
|
||||
#define flushw() do { \
|
||||
__asm __volatile("flushw" : :); \
|
||||
} while (0)
|
||||
|
||||
#define ldxa(va, asi) ({ \
|
||||
u_long __r; \
|
||||
__asm __volatile("ldxa [%1] %2, %0" \
|
||||
|
Loading…
Reference in New Issue
Block a user