xref: /titanic_41/usr/src/uts/intel/sys/machbrand.h (revision eb5a5c7888f20ad6fa4580e785308db395ef6dfc)
19acbbeafSnn35248 /*
29acbbeafSnn35248  * CDDL HEADER START
39acbbeafSnn35248  *
49acbbeafSnn35248  * The contents of this file are subject to the terms of the
59acbbeafSnn35248  * Common Development and Distribution License (the "License").
69acbbeafSnn35248  * You may not use this file except in compliance with the License.
79acbbeafSnn35248  *
89acbbeafSnn35248  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99acbbeafSnn35248  * or http://www.opensolaris.org/os/licensing.
109acbbeafSnn35248  * See the License for the specific language governing permissions
119acbbeafSnn35248  * and limitations under the License.
129acbbeafSnn35248  *
139acbbeafSnn35248  * When distributing Covered Code, include this CDDL HEADER in each
149acbbeafSnn35248  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159acbbeafSnn35248  * If applicable, add the following below this CDDL HEADER, with the
169acbbeafSnn35248  * fields enclosed by brackets "[]" replaced with your own identifying
179acbbeafSnn35248  * information: Portions Copyright [yyyy] [name of copyright owner]
189acbbeafSnn35248  *
199acbbeafSnn35248  * CDDL HEADER END
209acbbeafSnn35248  */
219acbbeafSnn35248 /*
22*eb5a5c78SSurya Prakki  * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
239acbbeafSnn35248  */
249acbbeafSnn35248 
259acbbeafSnn35248 #ifndef _SYS_MACHBRAND_H
269acbbeafSnn35248 #define	_SYS_MACHBRAND_H
279acbbeafSnn35248 
289acbbeafSnn35248 #ifdef	__cplusplus
299acbbeafSnn35248 extern "C" {
309acbbeafSnn35248 #endif
319acbbeafSnn35248 
329acbbeafSnn35248 #ifndef	_ASM
339acbbeafSnn35248 
349acbbeafSnn35248 #include <sys/model.h>
359acbbeafSnn35248 
369acbbeafSnn35248 struct brand_mach_ops {
379acbbeafSnn35248 	void	(*b_sysenter)(void);
389acbbeafSnn35248 	void	(*b_int91)(void);
399acbbeafSnn35248 	void	(*b_syscall)(void);
409acbbeafSnn35248 	void	(*b_syscall32)(void);
419acbbeafSnn35248 };
429acbbeafSnn35248 
439acbbeafSnn35248 #endif	/* _ASM */
449acbbeafSnn35248 
459acbbeafSnn35248 #define	BRAND_CB_SYSENTER	0
46*eb5a5c78SSurya Prakki #define	BRAND_CB_INT91		1
47*eb5a5c78SSurya Prakki #define	BRAND_CB_SYSCALL	2
48*eb5a5c78SSurya Prakki #define	BRAND_CB_SYSCALL32	3
499acbbeafSnn35248 
509acbbeafSnn35248 #ifdef	__cplusplus
519acbbeafSnn35248 }
529acbbeafSnn35248 #endif
539acbbeafSnn35248 
549acbbeafSnn35248 #endif	/* _SYS_MACHBRAND_H */
55