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

Mike Frysinger vapier at gentoo.org
Thu Feb 6 07:13:28 UTC 2014


On Wednesday, February 05, 2014 19:15:23 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_>   size.
>   * system.c: Add nios2 specific syscalls.

please make note of the current ABI status and future planned work

> --- a/mem.c
> +++ b/mem.c
> 
> -#if defined(ALPHA) || defined(IA64) || defined(SPARC) || defined(SPARC64)
> +#if defined(ALPHA) || defined(IA64) || defined (NIOS2) || \

shouldn't be a space before the (NIOS2).  match the existing style.

> --- a/system.c
> +++ b/system.c
> 
> +#ifdef NIOS2
> +
> +int sys_cacheflush(struct tcb *tcp)
> +{
> +	if (entering(tcp)) {
> +		/* addr and len */
> +		tprintf("%#lx, %lu", tcp->u_arg[0], tcp->u_arg[3]);
> +		/* scope and flags (cache type) is currently ignored */

is->are
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140206/27d6c35d/attachment.bin>


More information about the Strace-devel mailing list