Print this page
104 Bring back lx brand


  77         sn1_lwpexit,
  78         sn1_elfexec,
  79         NULL,
  80         NULL,
  81         NSIG,
  82 };
  83 
  84 #ifdef  sparc
  85 
  86 struct brand_mach_ops sn1_mops = {
  87         sn1_brand_syscall_callback,
  88         sn1_brand_syscall32_callback
  89 };
  90 
  91 #else   /* sparc */
  92 
  93 #ifdef  __amd64
  94 
  95 struct brand_mach_ops sn1_mops = {
  96         sn1_brand_sysenter_callback,

  97         sn1_brand_int91_callback,
  98         sn1_brand_syscall_callback,
  99         sn1_brand_syscall32_callback

 100 };
 101 
 102 #else   /* ! __amd64 */
 103 
 104 struct brand_mach_ops sn1_mops = {
 105         sn1_brand_sysenter_callback,
 106         NULL,

 107         sn1_brand_syscall_callback,

 108         NULL
 109 };
 110 #endif  /* __amd64 */
 111 
 112 #endif  /* _sparc */
 113 
 114 struct brand    sn1_brand = {
 115         BRAND_VER_1,
 116         "sn1",
 117         &sn1_brops,
 118         &sn1_mops
 119 };
 120 
 121 static struct modlbrand modlbrand = {
 122         &mod_brandops,              /* type of module */
 123         "Solaris N-1 Brand",    /* description of module */
 124         &sn1_brand          /* driver ops */
 125 };
 126 
 127 static struct modlinkage modlinkage = {




  77         sn1_lwpexit,
  78         sn1_elfexec,
  79         NULL,
  80         NULL,
  81         NSIG,
  82 };
  83 
  84 #ifdef  sparc
  85 
  86 struct brand_mach_ops sn1_mops = {
  87         sn1_brand_syscall_callback,
  88         sn1_brand_syscall32_callback
  89 };
  90 
  91 #else   /* sparc */
  92 
  93 #ifdef  __amd64
  94 
  95 struct brand_mach_ops sn1_mops = {
  96         sn1_brand_sysenter_callback,
  97         NULL,
  98         sn1_brand_int91_callback,
  99         sn1_brand_syscall_callback,
 100         sn1_brand_syscall32_callback,
 101         NULL
 102 };
 103 
 104 #else   /* ! __amd64 */
 105 
 106 struct brand_mach_ops sn1_mops = {
 107         sn1_brand_sysenter_callback,
 108         NULL,
 109         NULL,
 110         sn1_brand_syscall_callback,
 111         NULL,
 112         NULL
 113 };
 114 #endif  /* __amd64 */
 115 
 116 #endif  /* _sparc */
 117 
 118 struct brand    sn1_brand = {
 119         BRAND_VER_1,
 120         "sn1",
 121         &sn1_brops,
 122         &sn1_mops
 123 };
 124 
 125 static struct modlbrand modlbrand = {
 126         &mod_brandops,              /* type of module */
 127         "Solaris N-1 Brand",    /* description of module */
 128         &sn1_brand          /* driver ops */
 129 };
 130 
 131 static struct modlinkage modlinkage = {