Messages in this thread | | | Date | Mon, 4 Feb 2013 00:10:55 +0000 | From | Al Viro <> | Subject | Re: [PATCH] arch: avr32: add dummy syscalls |
| |
On Sun, Jan 27, 2013 at 09:39:54PM +0100, Hans-Christian Egtvedt wrote: > > If you are OK with going that way, I could probably put together patches doing > > just that. Note that for rt_sigsuspend/rt_sigreturn/sigaltstack the wrappers > > are not needed at all - they can just use current_pt_regs() in syscall body. > > IOW, all of syscall-stubs.S could be killed. > > Nice, could you put together the preprocessor stuff in a patch? It would be > great to not having to write a re-occuring stub for each syscall that has 6+ > arguments. > > Thanks for looking at this.
Apologies about the delay... One question: what's the AVR32 C ABI for passing 64bit arguments? The tricky bugger is sys_sync_file_range(); it takes (s32, s64, s64, u32) as arguments and if not any pair of registers can be used to pass 64bit value, we have more serious trouble there...
| |