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

Ezequiel García ezequiel at vanguardiasur.com.ar
Thu Feb 6 10:03:33 UTC 2014


On 6 February 2014 04:11, Michal Simek <monstr at monstr.eu> wrote:
> 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?
>

Yes, that'll be probably better.

Thanks,
-- 
Ezequiel García, VanguardiaSur
www.vanguardiasur.com.ar




More information about the Strace-devel mailing list