Back to index

glibc  2.9
Defines
sysdep.h File Reference
#include <arm/sysdep.h>
#include <tls.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INTERNAL_SYSCALL_RAW(name, err, nr, args...)
#define INTERNAL_SYSCALL_NCS(number, err, nr, args...)   INTERNAL_SYSCALL_RAW (number, err, nr, args)
#define DO_CALL(syscall_name, args)

Define Documentation

#define DO_CALL (   syscall_name,
  args 
)
Value:
DOARGS_##args                      \
    mov ip, r7;                                  \
    ldr r7, =SYS_ify (syscall_name);             \
    swi 0x0;                              \
    mov r7, ip;                                  \
    UNDOARGS_##args

Definition at line 77 of file sysdep.h.

#define INTERNAL_SYSCALL_NCS (   number,
  err,
  nr,
  args... 
)    INTERNAL_SYSCALL_RAW (number, err, nr, args)

Definition at line 61 of file sysdep.h.

#define INTERNAL_SYSCALL_RAW (   name,
  err,
  nr,
  args... 
)
Value:
({                                                      \
       register int _a1 asm ("r0"), _nr asm ("r7");            \
       LOAD_ARGS_##nr (args)                                   \
       _nr = name;                                      \
       asm volatile ("swi   0x0    @ syscall " #name    \
                   : "=r" (_a1)                         \
                   : "r" (_nr) ASM_ARGS_##nr                   \
                   : "memory");                         \
       _a1; })

Definition at line 48 of file sysdep.h.