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