1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright (c) 1994 by Sun Microsystems, Inc. 24 */ 25 26#ifndef _SYS_MEMBAR_H 27#define _SYS_MEMBAR_H 28 29#pragma ident "%Z%%M% %I% %E% SMI" 30 31#ifdef __cplusplus 32extern "C" { 33#endif 34 35#if defined(_KERNEL) 36extern void membar_ldld(void); 37extern void membar_stld(void); 38extern void membar_ldst(void); 39extern void membar_stst(void); 40 41extern void membar_ldld_ldst(void); 42extern void membar_ldld_stld(void); 43extern void membar_ldld_stst(void); 44 45extern void membar_stld_ldld(void); 46extern void membar_stld_ldst(void); 47extern void membar_stld_stst(void); 48 49extern void membar_ldst_ldld(void); 50extern void membar_ldst_stld(void); 51extern void membar_ldst_stst(void); 52 53extern void membar_stst_ldld(void); 54extern void membar_stst_stld(void); 55extern void membar_stst_ldst(void); 56 57extern void membar_lookaside(void); 58extern void membar_memissue(void); 59extern void membar_sync(void); 60#endif /* _KERNEL */ 61 62#ifdef __cplusplus 63} 64#endif 65 66#endif /* _SYS_MEMBAR_H */ 67