[PATCH v2] Add support for Altera's Nios-II softcore architecture

Michal Simek monstr at monstr.eu
Thu Feb 6 07:11:50 UTC 2014


On 02/05/2014 11:15 PM, Ezequiel Garcia wrote:
>   * Makefile.am, configure.ac: Add nios2 architecture
>   * defs.h: Add nios2 to use register reading system
>   * linux/nios2/ioctlent.h.in: Use i386 ioctls
>   * linux/nios2/syscallent.h: New file
>   * process.c: Add nios2 register defs to struct_user_offsets[]
>   * syscall.c: Add nios2 support, for get_scno, get_regs, get_syscall_args
>     and get_error
>   * util.c: Add dummy handling
>   * mem.c: Use sys_getpagesize.
>   * system.c: Add nios2 specific syscalls.
> 
> Signed-off-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
> ---
>  Makefile.am               |   2 +
>  configure.ac              |   4 +
>  defs.h                    |   3 +-
>  linux/nios2/ioctlent.h.in |   1 +
>  linux/nios2/syscallent.h  | 370 ++++++++++++++++++++++++++++++++++++++++++++++
>  linux/syscall.h           |   6 +
>  mem.c                     |   3 +-
>  process.c                 |  38 +++++
>  syscall.c                 |  27 +++-
>  system.c                  |  24 +++
>  util.c                    |   2 +
>  11 files changed, 477 insertions(+), 3 deletions(-)
>  create mode 100644 linux/nios2/ioctlent.h.in
>  create mode 100644 linux/nios2/syscallent.h
> 
> diff --git a/Makefile.am b/Makefile.am
> index c98d8b9..2ccde2f 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -112,6 +112,8 @@ EXTRA_DIST =				\
>  	linux/metag/syscallent.h	\
>  	linux/microblaze/ioctlent.h.in	\
>  	linux/microblaze/syscallent.h	\
> +	linux/nios2/ioctlent.h.in	\
> +	linux/nios2/syscallent.h	\
>  	linux/mips/errnoent.h		\
>  	linux/mips/ioctlent.h.in	\
>  	linux/mips/ioctlent.sh		\

Why not to keep it sorted?

M


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140206/41bf7ff6/attachment.bin>


More information about the Strace-devel mailing list