voron

experimental ARM OS
git clone git://git.2f30.org/voron.git
Log | Files | Refs | LICENSE

commit 3c25db99fa8c28bd688dd701fc74bf67184a2afc
parent dbd301c60ac5d62db0f2f2142798259fb5e4d329
Author: oblique <psyberbits@gmail.com>
Date:   Tue Apr  9 09:27:40 +0300

io.h: add compiler barrier

Diffstat:
include/io.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/io.h b/include/io.h @@ -10,6 +10,8 @@ /* instruction synchronization barrier */ #define isb() asm volatile("isb" : : : "memory") +/* compiler barrier */ +#define cb() asm volatile("" : : : "memory"); /* memory barrier */ #define mb() dsb() /* read memory barrier */