diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/include/bsp.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/include/gdbsci.h | 69 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/include/syscall.h | 30 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/include/tm27.h | 1 |
4 files changed, 31 insertions, 70 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/include/bsp.h b/c/src/lib/libbsp/sh/shsim/include/bsp.h index b4b0c3e074..badb3d13c7 100644 --- a/c/src/lib/libbsp/sh/shsim/include/bsp.h +++ b/c/src/lib/libbsp/sh/shsim/include/bsp.h @@ -37,7 +37,6 @@ extern "C" { /* * FIXME: One of these would be enough. */ -#include <gdbsci.h> #include <rtems/devnull.h> /* Constants */ diff --git a/c/src/lib/libbsp/sh/shsim/include/gdbsci.h b/c/src/lib/libbsp/sh/shsim/include/gdbsci.h deleted file mode 100644 index 837aa5fd16..0000000000 --- a/c/src/lib/libbsp/sh/shsim/include/gdbsci.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Driver for gdb's sh-simulator's sci emulation - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * COPYRIGHT (c) 2001, Ralf Corsepius, Ulm, Germany - * - * This 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. - * - * $Id$ - */ - -#ifndef _sh_gdbsci_h -#define _sh_gdbsci_h - -#ifdef __cplusplus -extern "C" { -#endif - -/* - */ - -#define DEVGDBSCI_DRIVER_TABLE_ENTRY \ - { sh_gdbsci_initialize, sh_gdbsci_open, sh_gdbsci_close, sh_gdbsci_read, \ - sh_gdbsci_write, sh_gdbsci_control } - -extern rtems_device_driver sh_gdbsci_initialize( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -extern rtems_device_driver sh_gdbsci_open( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -extern rtems_device_driver sh_gdbsci_close( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -extern rtems_device_driver sh_gdbsci_read( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -extern rtems_device_driver sh_gdbsci_write( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -extern rtems_device_driver sh_gdbsci_control( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/c/src/lib/libbsp/sh/shsim/include/syscall.h b/c/src/lib/libbsp/sh/shsim/include/syscall.h new file mode 100644 index 0000000000..79fcc07a20 --- /dev/null +++ b/c/src/lib/libbsp/sh/shsim/include/syscall.h @@ -0,0 +1,30 @@ +#define SYS_exit 1 +#define SYS_fork 2 + +#define SYS_read 3 +#define SYS_write 4 +#define SYS_open 5 +#define SYS_close 6 +#define SYS_wait4 7 +#define SYS_creat 8 +#define SYS_link 9 +#define SYS_unlink 10 +#define SYS_execv 11 +#define SYS_chdir 12 +#define SYS_mknod 14 +#define SYS_chmod 15 +#define SYS_chown 16 +#define SYS_lseek 19 +#define SYS_getpid 20 +#define SYS_isatty 21 +#define SYS_fstat 22 +#define SYS_time 23 + +#define SYS_ARG 24 +#define SYS_stat 38 + +#define SYS_pipe 42 +#define SYS_execve 59 + +#define SYS_utime 201 /* not really a system call */ +#define SYS_wait 202 /* nor is this */ diff --git a/c/src/lib/libbsp/sh/shsim/include/tm27.h b/c/src/lib/libbsp/sh/shsim/include/tm27.h index 5a464e9bca..c65c907a1b 100644 --- a/c/src/lib/libbsp/sh/shsim/include/tm27.h +++ b/c/src/lib/libbsp/sh/shsim/include/tm27.h @@ -27,5 +27,6 @@ #define Cause_tm27_intr() /* empty */ #define Clear_tm27_intr() /* empty */ +#define Lower_tm27_intr() /* empty */ #endif |