* ========== Copyright Header Begin ==========================================
* OpenSPARC T2 Processor File: sc_strings.h
* Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
* The above named program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License version 2 as published by the Free Software Foundation.
* The above named program is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
* You should have received a copy of the GNU General Public
* License along with this work; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
* ========== Copyright Header End ============================================
#ifndef _SYSCALLSTRINGS_H
#define _SYSCALLSTRINGS_H
// for syscall the SPARC ABI uses:
// "Tcc always,0x08", which hardware translates to 0x108, for 32-bit ABI
// and "Tcc always,0x40", which hardware translates to 0x140, for 64-bit ABI
// and %g1 to hold the syscall number.
// the following is derived from "/usr/include/sys/syscall.h"
const char * sc_names
[256] = {
"reserved_140", /* 140 */
"sigtimedwait", /* 144 */
"lwp_sema_wait", /* 147 */
"lwp_sema_post", /* 148 */
"lwp_sema_trywait", /* 149 */
"gettimeofday", /* 156 */
"lwp_continue", /* 162 */
"lwp_setprivate", /* 165 */
"lwp_getprivate", /* 166 */
"lwp_mutex_wakeup", /* 168 */
"lwp_mutex_lock", /* 169 */
"lwp_cond_wait", /* 170 */
"lwp_cond_signal", /* 171 */
"lwp_cond_broadcast", /* 172 */
"reserved_181", /* 181 */
"reserved_182", /* 182 */
"reserved_183", /* 183 */
"processor_bind", /* 187 */
"processor_info", /* 188 */
"clock_gettime", /* 191 */
"clock_settime", /* 192 */
"clock_getres", /* 193 */
"timer_create", /* 194 */
"timer_delete", /* 195 */
"timer_settime", /* 196 */
"timer_gettime", /* 197 */
"timer_getoverrun", /* 198 */
"install_utrap", /* 204 */
"sparc_utrap_install", /* 208 */
"signotifywait", /* 210 */
"lwp_sigredirect", /* 211 */
"reserved_227", /* 227 */
"reserved_228", /* 228 */
"reserved_229", /* 229 */
"so_socketpair", /* 231 */
"lwp_mutex_unlock", /* 250 */
"lwp_mutex_trylock", /* 251 */
"lwp_mutex_init", /* 252 */
"lwp_sigtimedwait", /* 254 */
#endif /* _SYSCALLSTRINGS_H */