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>
#include <sys/asm.h>

Go to the source code of this file.

Defines

#define PUSHARGS_0   /* nothing to do */
#define PUSHARGS_1   PUSHARGS_0 REG_S a0, STKOFF_A0(sp); cfi_rel_offset (a0, STKOFF_A0);
#define PUSHARGS_2   PUSHARGS_1 REG_S a1, STKOFF_A1(sp); cfi_rel_offset (a1, STKOFF_A1);
#define PUSHARGS_3   PUSHARGS_2 REG_S a2, STKOFF_A2(sp); cfi_rel_offset (a2, STKOFF_A2);
#define PUSHARGS_4   PUSHARGS_3 REG_S a3, STKOFF_A3(sp); cfi_rel_offset (a3, STKOFF_A3);
#define PUSHARGS_5   PUSHARGS_4 REG_S a4, STKOFF_A4(sp); cfi_rel_offset (a3, STKOFF_A4);
#define PUSHARGS_6   PUSHARGS_5 REG_S a5, STKOFF_A5(sp); cfi_rel_offset (a3, STKOFF_A5);
#define POPARGS_0   /* nothing to do */
#define POPARGS_1   POPARGS_0 REG_L a0, STKOFF_A0(sp);
#define POPARGS_2   POPARGS_1 REG_L a1, STKOFF_A1(sp);
#define POPARGS_3   POPARGS_2 REG_L a2, STKOFF_A2(sp);
#define POPARGS_4   POPARGS_3 REG_L a3, STKOFF_A3(sp);
#define POPARGS_5   POPARGS_4 REG_L a4, STKOFF_A4(sp);
#define POPARGS_6   POPARGS_5 REG_L a5, STKOFF_A5(sp);
#define STK_PAD   SZREG
#define STKOFF_A5   (STK_PAD)
#define STKOFF_A4   (STKOFF_A5 + SZREG)
#define STKOFF_A3   (STKOFF_A4 + SZREG)
#define STKOFF_A2   (STKOFF_A3 + SZREG) /* MT and more args. */
#define STKOFF_A1   (STKOFF_A2 + SZREG) /* MT and 2 args. */
#define STKOFF_A0   (STKOFF_A1 + SZREG) /* MT and 1 arg. */
#define STKOFF_RA   (STKOFF_A0 + SZREG) /* Used if MT. */
#define STKOFF_SC_V0   (STKOFF_RA + SZREG) /* Used if MT. */
#define STKOFF_SC_ERR   (STKOFF_SC_V0 + SZREG) /* Used if MT. */
#define STKOFF_SVMSK   (STKOFF_SC_ERR + SZREG) /* Used if MT. */
#define STKOFF_GP   (STKOFF_SVMSK + SZREG) /* Always used. */
#define STKSPACE   (STKOFF_GP + SZREG)
#define SAVESTK   PTR_SUBU sp, STKSPACE; cfi_adjust_cfa_offset(STKSPACE)
#define RESTORESTK   PTR_ADDU sp, STKSPACE; cfi_adjust_cfa_offset(-STKSPACE)
#define CENABLE   PTR_LA t9, __libc_enable_asynccancel; jalr t9
#define CDISABLE   PTR_LA t9, __libc_disable_asynccancel; jalr t9
#define SINGLE_THREAD_P
#define RTLD_SINGLE_THREAD_P

Define Documentation

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

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

#define POPARGS_0   /* nothing to do */

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

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

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

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

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

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

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

#define PUSHARGS_0   /* nothing to do */

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

#define PUSHARGS_1   PUSHARGS_0 REG_S a0, STKOFF_A0(sp); cfi_rel_offset (a0, STKOFF_A0);

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

#define PUSHARGS_2   PUSHARGS_1 REG_S a1, STKOFF_A1(sp); cfi_rel_offset (a1, STKOFF_A1);

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

#define PUSHARGS_3   PUSHARGS_2 REG_S a2, STKOFF_A2(sp); cfi_rel_offset (a2, STKOFF_A2);

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

#define PUSHARGS_4   PUSHARGS_3 REG_S a3, STKOFF_A3(sp); cfi_rel_offset (a3, STKOFF_A3);

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

#define PUSHARGS_5   PUSHARGS_4 REG_S a4, STKOFF_A4(sp); cfi_rel_offset (a3, STKOFF_A4);

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

#define PUSHARGS_6   PUSHARGS_5 REG_S a5, STKOFF_A5(sp); cfi_rel_offset (a3, STKOFF_A5);

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

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

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

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

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

#define SAVESTK   PTR_SUBU sp, STKSPACE; cfi_adjust_cfa_offset(STKSPACE)

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

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

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

#define STK_PAD   SZREG

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

#define STKOFF_A0   (STKOFF_A1 + SZREG) /* MT and 1 arg. */

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

#define STKOFF_A1   (STKOFF_A2 + SZREG) /* MT and 2 args. */

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

#define STKOFF_A2   (STKOFF_A3 + SZREG) /* MT and more args. */

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

#define STKOFF_A3   (STKOFF_A4 + SZREG)

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

#define STKOFF_A4   (STKOFF_A5 + SZREG)

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

#define STKOFF_A5   (STK_PAD)

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

#define STKOFF_GP   (STKOFF_SVMSK + SZREG) /* Always used. */

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

#define STKOFF_RA   (STKOFF_A0 + SZREG) /* Used if MT. */

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

#define STKOFF_SC_ERR   (STKOFF_SC_V0 + SZREG) /* Used if MT. */

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

#define STKOFF_SC_V0   (STKOFF_RA + SZREG) /* Used if MT. */

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

#define STKOFF_SVMSK   (STKOFF_SC_ERR + SZREG) /* Used if MT. */

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

#define STKSPACE   (STKOFF_GP + SZREG)

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