Performs an Instruction Synchronization Barrier (officially "flush prefetch buffer") operation.
| 44 | |
| 45 | /// Performs an Instruction Synchronization Barrier (officially "flush prefetch buffer") operation. |
| 46 | static inline void __isb(void) |
| 47 | { |
| 48 | __asm__ __volatile__("mcr p15, 0, %[val], c7, c5, 4" :: [val] "r" (0) : "memory"); |
| 49 | } |
| 50 | |
| 51 | /// Performs a clrex operation. |
| 52 | static inline void __clrex(void) |