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

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to