Back to index

glibc  2.9
Classes | Defines | Typedefs | Enumerations
ucontext.h File Reference
#include <features.h>
#include <sgidefs.h>
#include <signal.h>

Go to the source code of this file.

Classes

struct  fpregset
struct  mcontext_t
struct  ucontext
union  fpregset.fp_r

Defines

#define NGREG   36
#define CTX_R0   CTX_R0
#define CTX_AT   CTX_AT
#define CTX_V0   CTX_V0
#define CTX_V1   CTX_V1
#define CTX_A0   CTX_A0
#define CTX_A1   CTX_A1
#define CTX_A2   CTX_A2
#define CTX_A3   CTX_A3
#define CTX_T0   CTX_T0
#define CTX_T1   CTX_T1
#define CTX_T2   CTX_T2
#define CTX_T3   CTX_T3
#define CTX_T4   CTX_T4
#define CTX_T5   CTX_T5
#define CTX_T6   CTX_T6
#define CTX_T7   CTX_T7
#define CTX_S0   CTX_S0
#define CTX_S1   CTX_S1
#define CTX_S2   CTX_S2
#define CTX_S3   CTX_S3
#define CTX_S4   CTX_S4
#define CTX_S5   CTX_S5
#define CTX_S6   CTX_S6
#define CTX_S7   CTX_S7
#define CTX_T8   CTX_T8
#define CTX_T9   CTX_T9
#define CTX_K0   CTX_K0
#define CTX_K1   CTX_K1
#define CTX_GP   CTX_GP
#define CTX_SP   CTX_SP
#define CTX_S8   CTX_S8
#define CTX_RA   CTX_RA
#define CTX_MDLO   CTX_MDLO
#define CTX_MDHI   CTX_MDHI
#define CTX_CAUSE   CTX_CAUSE
#define CTX_EPC   CTX_EPC

Typedefs

typedef __uint32_t greg_t
typedef greg_t gregset_t [NGREG]
typedef struct fpregset fpregset_t
typedef struct ucontext ucontext_t

Enumerations

enum  {
  CTX_R0 = 0, CTX_R0 = 0, CTX_AT = 1, CTX_AT = 1,
  CTX_V0 = 2, CTX_V0 = 2, CTX_V1 = 3, CTX_V1 = 3,
  CTX_A0 = 4, CTX_A0 = 4, CTX_A1 = 5, CTX_A1 = 5,
  CTX_A2 = 6, CTX_A2 = 6, CTX_A3 = 7, CTX_A3 = 7,
  CTX_T0 = 8, CTX_T0 = 8, CTX_T1 = 9, CTX_T1 = 9,
  CTX_T2 = 10, CTX_T2 = 10, CTX_T3 = 11, CTX_T3 = 11,
  CTX_T4 = 12, CTX_T4 = 12, CTX_T5 = 13, CTX_T5 = 13,
  CTX_T6 = 14, CTX_T6 = 14, CTX_T7 = 15, CTX_T7 = 15,
  CTX_S0 = 16, CTX_S0 = 16, CTX_S1 = 17, CTX_S1 = 17,
  CTX_S2 = 18, CTX_S2 = 18, CTX_S3 = 19, CTX_S3 = 19,
  CTX_S4 = 20, CTX_S4 = 20, CTX_S5 = 21, CTX_S5 = 21,
  CTX_S6 = 22, CTX_S6 = 22, CTX_S7 = 23, CTX_S7 = 23,
  CTX_T8 = 24, CTX_T8 = 24, CTX_T9 = 25, CTX_T9 = 25,
  CTX_K0 = 26, CTX_K0 = 26, CTX_K1 = 27, CTX_K1 = 27,
  CTX_GP = 28, CTX_GP = 28, CTX_SP = 29, CTX_SP = 29,
  CTX_S8 = 30, CTX_S8 = 30, CTX_RA = 31, CTX_RA = 31,
  CTX_MDLO = 32, CTX_MDLO = 32, CTX_MDHI = 33, CTX_MDHI = 33,
  CTX_CAUSE = 34, CTX_CAUSE = 34, CTX_EPC = 35, CTX_EPC = 35
}

Class Documentation

struct fpregset

Definition at line 73 of file ucontext.h.

Class Members
int f_fpiaddr
int f_fpregs
int f_pcr
int f_psr
long int f_wregs
unsigned int fp_csr
double fp_dregs
unsigned int fp_pad
union fpregset fp_r
union fpregset fp_r
union fpregset fp_reg_set
struct mcontext_t

Definition at line 106 of file ucontext.h.

Collaboration diagram for mcontext_t:
Class Members
int __pad0
unsigned long __unused
unsigned int aregs
unsigned long int cr2
unsigned int dsp
long filler
unsigned int fp_owned
fpregset_t fp_regs
unsigned int fpc_csr
unsigned int fpc_eir
fpregset_t fpregs
unsigned int fpscr
unsigned int fpul
unsigned int gbr
gregset_t gp_regs
gregset_t gpregs
unsigned long gregs
gregset_t gregs
gwindows_t * gwins
unsigned long handler
unsigned long hi1
unsigned long hi2
unsigned long hi3
unsigned long lo1
unsigned long lo2
unsigned long lo3
unsigned int mach
unsigned int macl
long int mc_filler
greg_t mdhi
greg_t mdlo
unsigned int oldmask
unsigned long oldmask
unsigned long int oldmask
unsigned int ownedfp
greg_t pc
unsigned int pc
unsigned int pr
__psw_t psw
unsigned int regmask
struct pt_regs * regs
int signal
unsigned int sr
unsigned int status
unsigned int used_math
vrregset_t * v_regs
int version
long vmx_reserve
fpregset_t xfpregs
xrs_t xrs
union fpregset.fp_r

Definition at line 121 of file ucontext.h.

Class Members
double fp_dregs
float fp_fregs
unsigned int fp_regs

Define Documentation

#define CTX_A0   CTX_A0

Definition at line 53 of file ucontext.h.

#define CTX_A1   CTX_A1

Definition at line 55 of file ucontext.h.

#define CTX_A2   CTX_A2

Definition at line 57 of file ucontext.h.

#define CTX_A3   CTX_A3

Definition at line 59 of file ucontext.h.

#define CTX_AT   CTX_AT

Definition at line 47 of file ucontext.h.

#define CTX_CAUSE   CTX_CAUSE

Definition at line 113 of file ucontext.h.

#define CTX_EPC   CTX_EPC

Definition at line 115 of file ucontext.h.

#define CTX_GP   CTX_GP

Definition at line 101 of file ucontext.h.

#define CTX_K0   CTX_K0

Definition at line 97 of file ucontext.h.

#define CTX_K1   CTX_K1

Definition at line 99 of file ucontext.h.

#define CTX_MDHI   CTX_MDHI

Definition at line 111 of file ucontext.h.

#define CTX_MDLO   CTX_MDLO

Definition at line 109 of file ucontext.h.

#define CTX_R0   CTX_R0

Definition at line 45 of file ucontext.h.

#define CTX_RA   CTX_RA

Definition at line 107 of file ucontext.h.

#define CTX_S0   CTX_S0

Definition at line 77 of file ucontext.h.

#define CTX_S1   CTX_S1

Definition at line 79 of file ucontext.h.

#define CTX_S2   CTX_S2

Definition at line 81 of file ucontext.h.

#define CTX_S3   CTX_S3

Definition at line 83 of file ucontext.h.

#define CTX_S4   CTX_S4

Definition at line 85 of file ucontext.h.

#define CTX_S5   CTX_S5

Definition at line 87 of file ucontext.h.

#define CTX_S6   CTX_S6

Definition at line 89 of file ucontext.h.

#define CTX_S7   CTX_S7

Definition at line 91 of file ucontext.h.

#define CTX_S8   CTX_S8

Definition at line 105 of file ucontext.h.

#define CTX_SP   CTX_SP

Definition at line 103 of file ucontext.h.

#define CTX_T0   CTX_T0

Definition at line 61 of file ucontext.h.

#define CTX_T1   CTX_T1

Definition at line 63 of file ucontext.h.

#define CTX_T2   CTX_T2

Definition at line 65 of file ucontext.h.

#define CTX_T3   CTX_T3

Definition at line 67 of file ucontext.h.

#define CTX_T4   CTX_T4

Definition at line 69 of file ucontext.h.

#define CTX_T5   CTX_T5

Definition at line 71 of file ucontext.h.

#define CTX_T6   CTX_T6

Definition at line 73 of file ucontext.h.

#define CTX_T7   CTX_T7

Definition at line 75 of file ucontext.h.

#define CTX_T8   CTX_T8

Definition at line 93 of file ucontext.h.

#define CTX_T9   CTX_T9

Definition at line 95 of file ucontext.h.

#define CTX_V0   CTX_V0

Definition at line 49 of file ucontext.h.

#define CTX_V1   CTX_V1

Definition at line 51 of file ucontext.h.

#define NGREG   36

Definition at line 36 of file ucontext.h.


Typedef Documentation

typedef struct fpregset fpregset_t
typedef __uint32_t greg_t

Definition at line 30 of file ucontext.h.

Definition at line 39 of file ucontext.h.

typedef struct ucontext ucontext_t

Enumeration Type Documentation

anonymous enum
Enumerator:
CTX_R0 
CTX_R0 
CTX_AT 
CTX_AT 
CTX_V0 
CTX_V0 
CTX_V1 
CTX_V1 
CTX_A0 
CTX_A0 
CTX_A1 
CTX_A1 
CTX_A2 
CTX_A2 
CTX_A3 
CTX_A3 
CTX_T0 
CTX_T0 
CTX_T1 
CTX_T1 
CTX_T2 
CTX_T2 
CTX_T3 
CTX_T3 
CTX_T4 
CTX_T4 
CTX_T5 
CTX_T5 
CTX_T6 
CTX_T6 
CTX_T7 
CTX_T7 
CTX_S0 
CTX_S0 
CTX_S1 
CTX_S1 
CTX_S2 
CTX_S2 
CTX_S3 
CTX_S3 
CTX_S4 
CTX_S4 
CTX_S5 
CTX_S5 
CTX_S6 
CTX_S6 
CTX_S7 
CTX_S7 
CTX_T8 
CTX_T8 
CTX_T9 
CTX_T9 
CTX_K0 
CTX_K0 
CTX_K1 
CTX_K1 
CTX_GP 
CTX_GP 
CTX_SP 
CTX_SP 
CTX_S8 
CTX_S8 
CTX_RA 
CTX_RA 
CTX_MDLO 
CTX_MDLO 
CTX_MDHI 
CTX_MDHI 
CTX_CAUSE 
CTX_CAUSE 
CTX_EPC 
CTX_EPC 

Definition at line 42 of file ucontext.h.

{
  CTX_R0 = 0,
#define CTX_R0       CTX_R0
  CTX_AT = 1,
#define CTX_AT       CTX_AT
  CTX_V0 = 2,
#define CTX_V0       CTX_V0
  CTX_V1 = 3,
#define CTX_V1       CTX_V1
  CTX_A0 = 4,
#define CTX_A0       CTX_A0
  CTX_A1 = 5,
#define CTX_A1       CTX_A1
  CTX_A2 = 6,
#define CTX_A2       CTX_A2
  CTX_A3 = 7,
#define CTX_A3       CTX_A3
  CTX_T0 = 8,
#define CTX_T0       CTX_T0
  CTX_T1 = 9,
#define CTX_T1       CTX_T1
  CTX_T2 = 10,
#define CTX_T2       CTX_T2
  CTX_T3 = 11,
#define CTX_T3       CTX_T3
  CTX_T4 = 12,
#define CTX_T4       CTX_T4
  CTX_T5 = 13,
#define CTX_T5       CTX_T5
  CTX_T6 = 14,
#define CTX_T6       CTX_T6
  CTX_T7 = 15,
#define CTX_T7       CTX_T7
  CTX_S0 = 16,
#define CTX_S0       CTX_S0
  CTX_S1 = 17,
#define CTX_S1       CTX_S1
  CTX_S2 = 18,
#define CTX_S2       CTX_S2
  CTX_S3 = 19,
#define CTX_S3       CTX_S3
  CTX_S4 = 20,
#define CTX_S4       CTX_S4
  CTX_S5 = 21,
#define CTX_S5       CTX_S5
  CTX_S6 = 22,
#define CTX_S6       CTX_S6
  CTX_S7 = 23,
#define CTX_S7       CTX_S7
  CTX_T8 = 24,
#define CTX_T8       CTX_T8
  CTX_T9 = 25,
#define CTX_T9       CTX_T9
  CTX_K0 = 26,
#define CTX_K0       CTX_K0
  CTX_K1 = 27,
#define CTX_K1       CTX_K1
  CTX_GP = 28,
#define CTX_GP       CTX_GP
  CTX_SP = 29,
#define CTX_SP       CTX_SP
  CTX_S8 = 30,
#define CTX_S8       CTX_S8
  CTX_RA = 31,
#define CTX_RA       CTX_RA
  CTX_MDLO = 32,
#define CTX_MDLO     CTX_MDLO
  CTX_MDHI = 33,
#define CTX_MDHI     CTX_MDHI
  CTX_CAUSE = 34,
#define CTX_CAUSE    CTX_CAUSE
  CTX_EPC = 35,
#define CTX_EPC      CTX_EPC
};