Print this page
    
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/uts/common/brand/sn1/sn1_brand.h
          +++ new/usr/src/uts/common/brand/sn1/sn1_brand.h
   1    1  /*
   2    2   * CDDL HEADER START
   3    3   *
   4    4   * The contents of this file are subject to the terms of the
   5    5   * Common Development and Distribution License (the "License").
   6    6   * You may not use this file except in compliance with the License.
   7    7   *
   8    8   * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9   * or http://www.opensolaris.org/os/licensing.
  10   10   * See the License for the specific language governing permissions
  11   11   * and limitations under the License.
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2014, Joyent, Inc. All rights reserved.
  24   24   */
  25   25  
  26   26  #ifndef _SN1_BRAND_H
  27   27  #define _SN1_BRAND_H
  28   28  
  29   29  #ifdef  __cplusplus
  30   30  extern "C" {
  31   31  #endif
  32   32  
  33   33  #include <sys/brand.h>
  34   34  
  35   35  #define SN1_BRANDNAME           "sn1"
  36   36  
  37   37  #define SN1_VERSION_1           1
  38   38  #define SN1_VERSION             SN1_VERSION_1
  39   39  
  40   40  #define SN1_LIB_NAME            "sn1_brand.so.1"
  41   41  
  42   42  #define SN1_LIB32               BRAND_NATIVE_DIR "usr/lib/" SN1_LIB_NAME
  43   43  #define SN1_LIB64               BRAND_NATIVE_DIR "usr/lib/64/" SN1_LIB_NAME
  44   44  
  45   45  #if defined(_LP64)
  46   46  #define SN1_LIB         SN1_LIB64
  47   47  #else /* !_LP64 */
  48   48  #define SN1_LIB         SN1_LIB32
  49   49  #endif /* !_LP64 */
  50   50  
  51   51  #if defined(_KERNEL)
  52   52  
  53   53  void sn1_brand_syscall_callback(void);
  54   54  void sn1_brand_syscall32_callback(void);
  55   55  
  56   56  #if !defined(sparc)
  57   57  void sn1_brand_sysenter_callback(void);
  58   58  #endif /* !sparc */
  59   59  
  60   60  #if defined(__amd64)
  61   61  void sn1_brand_int91_callback(void);
  62   62  #endif /* __amd64 */
  63   63  #endif /* _KERNEL */
  64   64  
  65   65  #ifdef  __cplusplus
  66   66  }
  67   67  #endif
  68   68  
  69   69  #endif  /* _SN1_BRAND_H */
  
    | 
      ↓ open down ↓ | 
    69 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX