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