>       I noticed that the SWI handler in linux has a comment saying still
>have a problem with >4 argument functions. hat is this refering too?

I think that's a historical relic.  5 argument syscalls should be OK now.

>Also isn't checking the SWI constant expensive? You
>pollute your data cache with code, why check this when the syscall number
>is in a register?

The syscall number isn't in a register for the Linux/ARM syscall standard.  
With hindsight that was probably a mistake though we need to check it anyway
for compatibility with BSD, RISC OS and so on.  The way I plan to do 
Linux/Thumb we will indeed put the syscall number in a register and ignore 
the comment field.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to