xref: /onnv-gate/usr/src/uts/sun4/sys/machbrand.h (revision 2712:f74a135872bc)
1*2712Snn35248 /*
2*2712Snn35248  * CDDL HEADER START
3*2712Snn35248  *
4*2712Snn35248  * The contents of this file are subject to the terms of the
5*2712Snn35248  * Common Development and Distribution License (the "License").
6*2712Snn35248  * You may not use this file except in compliance with the License.
7*2712Snn35248  *
8*2712Snn35248  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2712Snn35248  * or http://www.opensolaris.org/os/licensing.
10*2712Snn35248  * See the License for the specific language governing permissions
11*2712Snn35248  * and limitations under the License.
12*2712Snn35248  *
13*2712Snn35248  * When distributing Covered Code, include this CDDL HEADER in each
14*2712Snn35248  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2712Snn35248  * If applicable, add the following below this CDDL HEADER, with the
16*2712Snn35248  * fields enclosed by brackets "[]" replaced with your own identifying
17*2712Snn35248  * information: Portions Copyright [yyyy] [name of copyright owner]
18*2712Snn35248  *
19*2712Snn35248  * CDDL HEADER END
20*2712Snn35248  */
21*2712Snn35248 /*
22*2712Snn35248  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*2712Snn35248  * Use is subject to license terms.
24*2712Snn35248  */
25*2712Snn35248 
26*2712Snn35248 #ifndef _SYS_MACHBRAND_H
27*2712Snn35248 #define	_SYS_MACHBRAND_H
28*2712Snn35248 
29*2712Snn35248 #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*2712Snn35248 
31*2712Snn35248 #ifdef	__cplusplus
32*2712Snn35248 extern "C" {
33*2712Snn35248 #endif
34*2712Snn35248 
35*2712Snn35248 #ifndef	_ASM
36*2712Snn35248 
37*2712Snn35248 struct brand_mach_ops {
38*2712Snn35248 	void	(*b_syscall)(void);
39*2712Snn35248 	void	(*b_syscall32)(void);
40*2712Snn35248 };
41*2712Snn35248 
42*2712Snn35248 #endif	/* _ASM	*/
43*2712Snn35248 
44*2712Snn35248 #define	BRAND_CB_SYSCALL	0
45*2712Snn35248 #define	BRAND_CB_SYSCALL32	1
46*2712Snn35248 
47*2712Snn35248 #ifdef	__cplusplus
48*2712Snn35248 }
49*2712Snn35248 #endif
50*2712Snn35248 
51*2712Snn35248 #endif	/* _SYS_MACHBRAND_H */
52