82 s10_lwpexit,
83 s10_elfexec,
84 s10_sigset_native_to_s10,
85 s10_sigset_s10_to_native,
86 S10_NSIG,
87 };
88
89 #ifdef sparc
90
91 struct brand_mach_ops s10_mops = {
92 s10_brand_syscall_callback,
93 s10_brand_syscall32_callback
94 };
95
96 #else /* sparc */
97
98 #ifdef __amd64
99
100 struct brand_mach_ops s10_mops = {
101 s10_brand_sysenter_callback,
102 s10_brand_int91_callback,
103 s10_brand_syscall_callback,
104 s10_brand_syscall32_callback
105 };
106
107 #else /* ! __amd64 */
108
109 struct brand_mach_ops s10_mops = {
110 s10_brand_sysenter_callback,
111 NULL,
112 s10_brand_syscall_callback,
113 NULL
114 };
115 #endif /* __amd64 */
116
117 #endif /* _sparc */
118
119 struct brand s10_brand = {
120 BRAND_VER_1,
121 "solaris10",
122 &s10_brops,
123 &s10_mops
124 };
125
126 static struct modlbrand modlbrand = {
127 &mod_brandops, /* type of module */
128 "Solaris 10 Brand", /* description of module */
129 &s10_brand /* driver ops */
130 };
131
132 static struct modlinkage modlinkage = {
|
82 s10_lwpexit,
83 s10_elfexec,
84 s10_sigset_native_to_s10,
85 s10_sigset_s10_to_native,
86 S10_NSIG,
87 };
88
89 #ifdef sparc
90
91 struct brand_mach_ops s10_mops = {
92 s10_brand_syscall_callback,
93 s10_brand_syscall32_callback
94 };
95
96 #else /* sparc */
97
98 #ifdef __amd64
99
100 struct brand_mach_ops s10_mops = {
101 s10_brand_sysenter_callback,
102 NULL,
103 s10_brand_int91_callback,
104 s10_brand_syscall_callback,
105 s10_brand_syscall32_callback,
106 NULL
107 };
108
109 #else /* ! __amd64 */
110
111 struct brand_mach_ops s10_mops = {
112 s10_brand_sysenter_callback,
113 NULL,
114 NULL,
115 s10_brand_syscall_callback,
116 NULL,
117 NULL
118 };
119 #endif /* __amd64 */
120
121 #endif /* _sparc */
122
123 struct brand s10_brand = {
124 BRAND_VER_1,
125 "solaris10",
126 &s10_brops,
127 &s10_mops
128 };
129
130 static struct modlbrand modlbrand = {
131 &mod_brandops, /* type of module */
132 "Solaris 10 Brand", /* description of module */
133 &s10_brand /* driver ops */
134 };
135
136 static struct modlinkage modlinkage = {
|