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