Back to index

glibc  2.9
Defines
sysdep-cancel.h File Reference
#include <sysdep.h>
#include <sysdeps/generic/sysdep.h>
#include <tls.h>
#include <nptl/pthreadP.h>

Go to the source code of this file.

Defines

#define PSEUDO_CPLOAD
#define PSEUDO_ERRJMP   j __syscall_error;
#define PSEUDO_SAVEGP
#define PSEUDO_LOADGP
#define PSEUDO(name, syscall_name, args)
#define PSEUDO_END(sym)   cfi_endproc; .end sym; .size sym,.-sym
#define PUSHARGS_0   /* nothing to do */
#define PUSHARGS_1   PUSHARGS_0 sw a0, 0(sp); cfi_rel_offset (a0, 0);
#define PUSHARGS_2   PUSHARGS_1 sw a1, 4(sp); cfi_rel_offset (a1, 4);
#define PUSHARGS_3   PUSHARGS_2 sw a2, 8(sp); cfi_rel_offset (a2, 8);
#define PUSHARGS_4   PUSHARGS_3 sw a3, 12(sp); cfi_rel_offset (a3, 12);
#define PUSHARGS_5   PUSHARGS_4 /* handled by SAVESTK_## */
#define PUSHARGS_6   PUSHARGS_5
#define PUSHARGS_7   PUSHARGS_6
#define POPARGS_0   /* nothing to do */
#define POPARGS_1   POPARGS_0 lw a0, 0(sp);
#define POPARGS_2   POPARGS_1 lw a1, 4(sp);
#define POPARGS_3   POPARGS_2 lw a2, 8(sp);
#define POPARGS_4   POPARGS_3 lw a3, 12(sp);
#define POPARGS_5   POPARGS_4 /* args already in new stackframe */
#define POPARGS_6   POPARGS_5
#define POPARGS_7   POPARGS_6
#define STKSPACE   48
#define SAVESTK_0   subu sp, STKSPACE; cfi_adjust_cfa_offset(STKSPACE)
#define SAVESTK_1   SAVESTK_0
#define SAVESTK_2   SAVESTK_1
#define SAVESTK_3   SAVESTK_2
#define SAVESTK_4   SAVESTK_3
#define SAVESTK_5
#define SAVESTK_6
#define SAVESTK_7
#define RESTORESTK   addu sp, STKSPACE; cfi_adjust_cfa_offset(-STKSPACE)
#define PSEUDO_JMP(sym)   jal sym;
#define CENABLE   PSEUDO_JMP (__libc_enable_asynccancel)
#define CDISABLE   PSEUDO_JMP (__libc_disable_asynccancel)
#define SINGLE_THREAD_P
#define RTLD_SINGLE_THREAD_P

Define Documentation

Definition at line 164 of file sysdep-cancel.h.

Definition at line 163 of file sysdep-cancel.h.

#define POPARGS_0   /* nothing to do */

Definition at line 109 of file sysdep-cancel.h.

#define POPARGS_1   POPARGS_0 lw a0, 0(sp);

Definition at line 110 of file sysdep-cancel.h.

#define POPARGS_2   POPARGS_1 lw a1, 4(sp);

Definition at line 111 of file sysdep-cancel.h.

#define POPARGS_3   POPARGS_2 lw a2, 8(sp);

Definition at line 112 of file sysdep-cancel.h.

#define POPARGS_4   POPARGS_3 lw a3, 12(sp);

Definition at line 113 of file sysdep-cancel.h.

#define POPARGS_5   POPARGS_4 /* args already in new stackframe */

Definition at line 114 of file sysdep-cancel.h.

#define POPARGS_6   POPARGS_5

Definition at line 115 of file sysdep-cancel.h.

#define POPARGS_7   POPARGS_6

Definition at line 116 of file sysdep-cancel.h.

#define PSEUDO (   name,
  syscall_name,
  args 
)

Definition at line 41 of file sysdep-cancel.h.

#define PSEUDO_CPLOAD

Definition at line 34 of file sysdep-cancel.h.

#define PSEUDO_END (   sym)    cfi_endproc; .end sym; .size sym,.-sym

Definition at line 98 of file sysdep-cancel.h.

#define PSEUDO_ERRJMP   j __syscall_error;

Definition at line 35 of file sysdep-cancel.h.

#define PSEUDO_JMP (   sym)    jal sym;

Definition at line 153 of file sysdep-cancel.h.

#define PSEUDO_LOADGP

Definition at line 37 of file sysdep-cancel.h.

#define PSEUDO_SAVEGP

Definition at line 36 of file sysdep-cancel.h.

#define PUSHARGS_0   /* nothing to do */

Definition at line 100 of file sysdep-cancel.h.

#define PUSHARGS_1   PUSHARGS_0 sw a0, 0(sp); cfi_rel_offset (a0, 0);

Definition at line 101 of file sysdep-cancel.h.

#define PUSHARGS_2   PUSHARGS_1 sw a1, 4(sp); cfi_rel_offset (a1, 4);

Definition at line 102 of file sysdep-cancel.h.

#define PUSHARGS_3   PUSHARGS_2 sw a2, 8(sp); cfi_rel_offset (a2, 8);

Definition at line 103 of file sysdep-cancel.h.

#define PUSHARGS_4   PUSHARGS_3 sw a3, 12(sp); cfi_rel_offset (a3, 12);

Definition at line 104 of file sysdep-cancel.h.

#define PUSHARGS_5   PUSHARGS_4 /* handled by SAVESTK_## */

Definition at line 105 of file sysdep-cancel.h.

#define PUSHARGS_6   PUSHARGS_5

Definition at line 106 of file sysdep-cancel.h.

#define PUSHARGS_7   PUSHARGS_6

Definition at line 107 of file sysdep-cancel.h.

#define RESTORESTK   addu sp, STKSPACE; cfi_adjust_cfa_offset(-STKSPACE)

Definition at line 143 of file sysdep-cancel.h.

Value:
__builtin_expect (THREAD_GETMEM (THREAD_SELF, \
                               header.multiple_threads) == 0, 1)

Definition at line 186 of file sysdep-cancel.h.

#define SAVESTK_0   subu sp, STKSPACE; cfi_adjust_cfa_offset(STKSPACE)

Definition at line 120 of file sysdep-cancel.h.

#define SAVESTK_1   SAVESTK_0

Definition at line 121 of file sysdep-cancel.h.

#define SAVESTK_2   SAVESTK_1

Definition at line 122 of file sysdep-cancel.h.

#define SAVESTK_3   SAVESTK_2

Definition at line 123 of file sysdep-cancel.h.

#define SAVESTK_4   SAVESTK_3

Definition at line 124 of file sysdep-cancel.h.

#define SAVESTK_5
Value:
lw t0, 16(sp);              \
                     SAVESTK_0;           \
                     sw t0, 16(sp)

Definition at line 125 of file sysdep-cancel.h.

#define SAVESTK_6
Value:
lw t0, 16(sp);              \
                     lw t1, 20(sp);              \
                     SAVESTK_0;           \
                     sw t0, 16(sp);              \
                     sw t1, 20(sp)

Definition at line 129 of file sysdep-cancel.h.

#define SAVESTK_7
Value:
lw t0, 16(sp);              \
                     lw t1, 20(sp);              \
                     lw t2, 24(sp);              \
                     SAVESTK_0;           \
                     sw t0, 16(sp);              \
                     sw t1, 20(sp);              \
                     sw t2, 24(sp)

Definition at line 135 of file sysdep-cancel.h.

#define SINGLE_THREAD_P
Value:
__builtin_expect (THREAD_GETMEM (THREAD_SELF,                  \
                                    header.multiple_threads)   \
                       == 0, 1)

Definition at line 168 of file sysdep-cancel.h.

#define STKSPACE   48

Definition at line 119 of file sysdep-cancel.h.