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