[PATCH] Add support for Altera's Nios-II softcore architecture
Dmitry V. Levin
ldv at altlinux.org
Tue Jan 28 00:13:49 UTC 2014
Hi,
On Mon, Jan 27, 2014 at 08:58:11PM -0200, Ezequiel García wrote:
[...]
> >> --- a/system.c
> >> +++ b/system.c
> >>
> >> +int sys_getpagesize(struct tcb *tcp)
> >> +{
> >> + return 0;
> >> +}
> >
> > that can't possibly be correct ?
>
> Hm... why? The syscall receives no args and returns the page size through the
> get_error() path which retrieves the syscall result.
If you really need sys_getpagesize, we already have one defined in mem.c.
> After talking to Arnd Bergmann, we might rework the whole syscall thing
> for this arch to implement the generic syscall ABI.
>
> Therefore, I'm not really sure what to do with this patch, as it works
> fine with current nios2 available kernel and toolchain.
>
> Is it possible to take this and then change the implementation once
> the generic syscall ABI is implemented?
So nios2 is not in mainline kernels yet, and the whole syscall ABI might
change in incompatible way? We usually wait for architectures to be merged
into the mainline kernel tree first.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140128/1aa21b7e/attachment.bin>
More information about the Strace-devel
mailing list