Rev 1787 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1888 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __mips32_BARRIER_H__ |
35 | #ifndef KERN_mips32_BARRIER_H_ |
36 | #define __mips32_BARRIER_H__ |
36 | #define KERN_mips32_BARRIER_H_ |
37 | 37 | ||
38 | /* |
38 | /* |
39 | * TODO: implement true MIPS memory barriers for macros below. |
39 | * TODO: implement true MIPS memory barriers for macros below. |
40 | */ |
40 | */ |
41 | #define CS_ENTER_BARRIER() __asm__ volatile ("" ::: "memory") |
41 | #define CS_ENTER_BARRIER() __asm__ volatile ("" ::: "memory") |
Line 47... | Line 47... | ||
47 | 47 | ||
48 | #endif |
48 | #endif |
49 | 49 | ||
50 | /** @} |
50 | /** @} |
51 | */ |
51 | */ |
52 | - |