Rev 1434 | Rev 1769 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1434 | Rev 1702 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup mips32 |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | /** @file |
|
- | 33 | */ |
|
- | 34 | ||
29 | #ifndef __mips32_BARRIER_H__ |
35 | #ifndef __mips32_BARRIER_H__ |
30 | #define __mips32_BARRIER_H__ |
36 | #define __mips32_BARRIER_H__ |
31 | 37 | ||
32 | /* |
38 | /* |
33 | * TODO: implement true MIPS memory barriers for macros below. |
39 | * TODO: implement true MIPS memory barriers for macros below. |
Line 38... | Line 44... | ||
38 | #define memory_barrier() __asm__ volatile ("" ::: "memory") |
44 | #define memory_barrier() __asm__ volatile ("" ::: "memory") |
39 | #define read_barrier() __asm__ volatile ("" ::: "memory") |
45 | #define read_barrier() __asm__ volatile ("" ::: "memory") |
40 | #define write_barrier() __asm__ volatile ("" ::: "memory") |
46 | #define write_barrier() __asm__ volatile ("" ::: "memory") |
41 | 47 | ||
42 | #endif |
48 | #endif |
- | 49 | ||
- | 50 | /** @} |
|
- | 51 | */ |
|
- | 52 |