Rev 3134 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3134 | Rev 3145 | ||
|---|---|---|---|
| Line 58... | Line 58... | ||
| 58 | asm volatile ("membar #StoreStore\n" ::: "memory") |
58 | asm volatile ("membar #StoreStore\n" ::: "memory") |
| 59 | 59 | ||
| 60 | #define flush(a) \ |
60 | #define flush(a) \ |
| 61 | asm volatile ("flush %0\n" :: "r" ((a)) : "memory") |
61 | asm volatile ("flush %0\n" :: "r" ((a)) : "memory") |
| 62 | 62 | ||
| 63 | /** Flush Instruction Memory instruction. */ |
63 | /** Flush Instruction pipeline. */ |
| 64 | static inline void flush_blind(void) |
64 | static inline void flush_pipeline(void) |
| 65 | { |
65 | { |
| 66 | /* |
66 | /* |
| 67 | * The FLUSH instruction takes address parameter. |
67 | * The FLUSH instruction takes address parameter. |
| 68 | * As such, it may trap if the address is not found in DTLB. |
68 | * As such, it may trap if the address is not found in DTLB. |
| 69 | * |
69 | * |