Subversion Repositories HelenOS-historic

Rev

Rev 534 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 534 Rev 1434
Line 33... Line 33...
33
 * TODO: implement true MIPS memory barriers for macros below.
33
 * TODO: implement true MIPS memory barriers for macros below.
34
 */
34
 */
35
#define CS_ENTER_BARRIER()  __asm__ volatile ("" ::: "memory")
35
#define CS_ENTER_BARRIER()  __asm__ volatile ("" ::: "memory")
36
#define CS_LEAVE_BARRIER()  __asm__ volatile ("" ::: "memory")
36
#define CS_LEAVE_BARRIER()  __asm__ volatile ("" ::: "memory")
37
 
37
 
38
#define memory_barrier()
38
#define memory_barrier()        __asm__ volatile ("" ::: "memory")
39
#define read_barrier()
39
#define read_barrier()          __asm__ volatile ("" ::: "memory")
40
#define write_barrier()
40
#define write_barrier()         __asm__ volatile ("" ::: "memory")
41
 
41
 
42
#endif
42
#endif