diff options
Diffstat (limited to 'include/bsp/syscall.h')
-rw-r--r-- | include/bsp/syscall.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/bsp/syscall.h b/include/bsp/syscall.h new file mode 100644 index 0000000000..e29427de7c --- /dev/null +++ b/include/bsp/syscall.h @@ -0,0 +1,28 @@ +#if defined(HEADER_WARNING) +#warning "This header should not be included directly." +#endif + + +#if defined(__rtems_sh_simsh1__) +# include <sh/simsh1/bsp/syscall.h> +#elif defined(__rtems_sh_simsh2__) +# include <sh/simsh2/bsp/syscall.h> +#elif defined(__rtems_sh_simsh2e__) +# include <sh/simsh2e/bsp/syscall.h> +#elif defined(__rtems_sh_simsh4__) +# include <sh/simsh4/bsp/syscall.h> +#elif defined(__rtems_v850_v850e1sim__) +# include <v850/v850e1sim/bsp/syscall.h> +#elif defined(__rtems_v850_v850e2sim__) +# include <v850/v850e2sim/bsp/syscall.h> +#elif defined(__rtems_v850_v850e2v3sim__) +# include <v850/v850e2v3sim/bsp/syscall.h> +#elif defined(__rtems_v850_v850esim__) +# include <v850/v850esim/bsp/syscall.h> +#elif defined(__rtems_v850_v850essim__) +# include <v850/v850essim/bsp/syscall.h> +#elif defined(__rtems_v850_v850sim__) +# include <v850/v850sim/bsp/syscall.h> +#else +# error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__" +#endif |