forked from Imagelibrary/rtems
2008-05-10 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: removed memory input/output operands which caused problems with gcc-4.3.0 (see http://gcc.gnu.org/ml/gcc/2008-03/msg00976.html)
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-05-10 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
* network/tsec.c: removed memory input/output operands
|
||||||
|
which caused problems with gcc-4.3.0 (see
|
||||||
|
http://gcc.gnu.org/ml/gcc/2008-03/msg00976.html)
|
||||||
|
|
||||||
2008-03-25 Till Straumann <strauman@slac.stanford.edu>
|
2008-03-25 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* include/bsp.h: declare BSP_commandline_string.
|
* include/bsp.h: declare BSP_commandline_string.
|
||||||
|
|||||||
@@ -425,7 +425,7 @@ static inline void membarrier()
|
|||||||
asm volatile("sync":::"memory");
|
asm volatile("sync":::"memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
#define EIEIO(mem) do { asm volatile("eieio":"=m"(mem):"m"(mem)); } while (0)
|
#define EIEIO(mem) do { asm volatile("eieio"); } while (0)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#error "memory barrier not implemented for your CPU architecture"
|
#error "memory barrier not implemented for your CPU architecture"
|
||||||
|
|||||||
Reference in New Issue
Block a user