Subversion Repositories HelenOS

Rev

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 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 ia64  
29
/** @addtogroup ia64   
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __ia64_BARRIER_H__
35
#ifndef KERN_ia64_BARRIER_H_
36
#define __ia64_BARRIER_H__
36
#define KERN_ia64_BARRIER_H_
37
 
37
 
38
/*
38
/*
39
 * TODO: Implement true IA-64 memory barriers for macros below.
39
 * TODO: Implement true IA-64 memory barriers for macros below.
40
 */
40
 */
41
#define CS_ENTER_BARRIER()  memory_barrier()
41
#define CS_ENTER_BARRIER()  memory_barrier()
Line 48... Line 48...
48
#define srlz_i()        __asm__ volatile (";; srlz.i ;;\n" ::: "memory")
48
#define srlz_i()        __asm__ volatile (";; srlz.i ;;\n" ::: "memory")
49
#define srlz_d()        __asm__ volatile (";; srlz.d\n" ::: "memory")
49
#define srlz_d()        __asm__ volatile (";; srlz.d\n" ::: "memory")
50
 
50
 
51
#endif
51
#endif
52
 
52
 
53
 /** @}
53
/** @}
54
 */
54
 */
55
 
-