notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
various additions
[ia32rtools.git]
/
c_auto.h
diff --git
a/c_auto.h
b/c_auto.h
index
b3b1afc
..
8ae2eee
100644
(file)
--- a/
c_auto.h
+++ b/
c_auto.h
@@
-63,4
+63,7
@@
static inline int do_parity(unsigned int v)
printf("%s:%d: skip_code_abort\n", __FILE__, __LINE__); \
*(volatile int *)0 = 1
+#define barrier() \
+ asm volatile("" ::: "memory")
+
// vim:ts=2:sw=2:expandtab