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

Attachment: pgpNUXG7q5gf8.pgp
Description: PGP signature

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to