sim: cr16: update syscall list

This commit is contained in:
Mike Frysinger 2012-08-30 07:05:19 +00:00
parent 5a06d7c470
commit 3f170f377b
3 changed files with 34 additions and 25 deletions

View File

@ -1,3 +1,8 @@
2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
* gennltvals.sh: Use libgloss/syscall.h for cr16.
* nltvals.def: Regenerate.
2012-06-16 Joel Brobecker <brobecker@adacore.com>
* acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.

View File

@ -41,7 +41,7 @@ $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
# OBSOLETE $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
# OBSOLETE "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}"
dir=libgloss target=cr16
dir=libgloss/cr16/sys target=cr16
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
"syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}"

View File

@ -218,30 +218,34 @@
#ifdef sys_defs
/* from syscall.h */
/* begin cr16 sys target macros */
{ "SYS_argc", 22 },
{ "SYS_argn", 24 },
{ "SYS_argnlen", 23 },
{ "SYS_argv", 13 },
{ "SYS_argvlen", 12 },
{ "SYS_chdir", 14 },
{ "SYS_chmod", 16 },
{ "SYS_close", 3 },
{ "SYS_exit", 1 },
{ "SYS_fstat", 10 },
{ "SYS_getpid", 8 },
{ "SYS_gettimeofday", 19 },
{ "SYS_kill", 9 },
{ "SYS_link", 21 },
{ "SYS_lseek", 6 },
{ "SYS_open", 2 },
{ "SYS_read", 4 },
{ "SYS_reconfig", 25 },
{ "SYS_stat", 15 },
{ "SYS_time", 18 },
{ "SYS_times", 20 },
{ "SYS_unlink", 7 },
{ "SYS_utime", 17 },
{ "SYS_write", 5 },
{ "SYS_ARG", 24 },
{ "SYS_chdir", 12 },
{ "SYS_chmod", 15 },
{ "SYS_chown", 16 },
{ "SYS_close", 0x402 },
{ "SYS_create", 8 },
{ "SYS_execv", 11 },
{ "SYS_execve", 59 },
{ "SYS_exit", 0x410 },
{ "SYS_fork", 2 },
{ "SYS_fstat", 22 },
{ "SYS_getpid", 20 },
{ "SYS_isatty", 21 },
{ "SYS_kill", 60 },
{ "SYS_link", 9 },
{ "SYS_lseek", 0x405 },
{ "SYS_mknod", 14 },
{ "SYS_open", 0x401 },
{ "SYS_pipe", 42 },
{ "SYS_read", 0x403 },
{ "SYS_rename", 0x406 },
{ "SYS_stat", 38 },
{ "SYS_time", 0x300 },
{ "SYS_unlink", 0x407 },
{ "SYS_utime", 201 },
{ "SYS_wait", 202 },
{ "SYS_wait4", 7 },
{ "SYS_write", 0x404 },
/* end cr16 sys target macros */
#endif
#endif