Lines Matching refs:scno
265 * Pure EABI user space always put syscall number into scno (r7).
276 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
277 ldreq scno, [lr, #-4]
282 ldr scno, [lr, #-4] @ get SWI instruction
283 A710( and ip, scno, #0x0f000000 @ check for SWI )
304 * If this is an old ABI call, get the syscall number into scno and
308 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
311 bic scno, scno, #0xff000000 @ mask off SWI op-code
312 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
319 cmp scno, #NR_syscalls @ check upper syscall limit
321 ldrcc pc, [tbl, scno, lsl #2] @ call sys_* routine
325 cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)
326 eor r0, scno, #__NR_SYSCALL_BASE @ put OS number back
336 mov r2, scno
342 mov scno, r0 @ syscall number (possibly new)
344 cmp scno, #NR_syscalls @ check upper syscall limit
346 ldrcc pc, [tbl, scno, lsl #2] @ call sys_* routine
351 mov r2, scno
388 bic scno, r0, #__NR_OABI_SYSCALL_BASE
389 cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
390 cmpne scno, #NR_syscalls @ check range
396 ldrlo pc, [tbl, scno, lsl #2]