Back to index

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

Go to the source code of this file.

Classes

struct  fpregset
struct  mcontext_t
struct  ucontext

Defines

#define NGREG   18
#define R_D0   R_D0
#define R_D1   R_D1
#define R_D2   R_D2
#define R_D3   R_D3
#define R_D4   R_D4
#define R_D5   R_D5
#define R_D6   R_D6
#define R_D7   R_D7
#define R_A0   R_A0
#define R_A1   R_A1
#define R_A2   R_A2
#define R_A3   R_A3
#define R_A4   R_A4
#define R_A5   R_A5
#define R_A6   R_A6
#define R_A7   R_A7
#define R_SP   R_SP
#define R_PC   R_PC
#define R_PS   R_PS
#define MCONTEXT_VERSION   1

Typedefs

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

Enumerations

enum  {
  R_D0 = 0, R_D0 = 0, R_D1 = 1, R_D1 = 1,
  R_D2 = 2, R_D2 = 2, R_D3 = 3, R_D3 = 3,
  R_D4 = 4, R_D4 = 4, R_D5 = 5, R_D5 = 5,
  R_D6 = 6, R_D6 = 6, R_D7 = 7, R_D7 = 7,
  R_A0 = 8, R_A0 = 8, R_A1 = 9, R_A1 = 9,
  R_A2 = 10, R_A2 = 10, R_A3 = 11, R_A3 = 11,
  R_A4 = 12, R_A4 = 12, R_A5 = 13, R_A5 = 13,
  R_A6 = 14, R_A6 = 14, R_A7 = 15, R_A7 = 15,
  R_SP = 15, R_SP = 15, R_PC = 16, R_PC = 16,
  R_PS
}

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

Define Documentation

#define MCONTEXT_VERSION   1

Definition at line 95 of file ucontext.h.

#define NGREG   18

Definition at line 31 of file ucontext.h.

#define R_A0   R_A0

Definition at line 56 of file ucontext.h.

#define R_A1   R_A1

Definition at line 58 of file ucontext.h.

#define R_A2   R_A2

Definition at line 60 of file ucontext.h.

#define R_A3   R_A3

Definition at line 62 of file ucontext.h.

#define R_A4   R_A4

Definition at line 64 of file ucontext.h.

#define R_A5   R_A5

Definition at line 66 of file ucontext.h.

#define R_A6   R_A6

Definition at line 68 of file ucontext.h.

#define R_A7   R_A7

Definition at line 70 of file ucontext.h.

#define R_D0   R_D0

Definition at line 40 of file ucontext.h.

#define R_D1   R_D1

Definition at line 42 of file ucontext.h.

#define R_D2   R_D2

Definition at line 44 of file ucontext.h.

#define R_D3   R_D3

Definition at line 46 of file ucontext.h.

#define R_D4   R_D4

Definition at line 48 of file ucontext.h.

#define R_D5   R_D5

Definition at line 50 of file ucontext.h.

#define R_D6   R_D6

Definition at line 52 of file ucontext.h.

#define R_D7   R_D7

Definition at line 54 of file ucontext.h.

#define R_PC   R_PC

Definition at line 74 of file ucontext.h.

#define R_PS   R_PS
#define R_SP   R_SP

Definition at line 72 of file ucontext.h.


Typedef Documentation

typedef struct fpregset fpregset_t
typedef int greg_t

Definition at line 28 of file ucontext.h.

Definition at line 34 of file ucontext.h.

typedef struct ucontext ucontext_t

Enumeration Type Documentation

anonymous enum
Enumerator:
R_D0 
R_D0 
R_D1 
R_D1 
R_D2 
R_D2 
R_D3 
R_D3 
R_D4 
R_D4 
R_D5 
R_D5 
R_D6 
R_D6 
R_D7 
R_D7 
R_A0 
R_A0 
R_A1 
R_A1 
R_A2 
R_A2 
R_A3 
R_A3 
R_A4 
R_A4 
R_A5 
R_A5 
R_A6 
R_A6 
R_A7 
R_A7 
R_SP 
R_SP 
R_PC 
R_PC 
R_PS 

Definition at line 37 of file ucontext.h.

{
  R_D0 = 0,
#define R_D0  R_D0
  R_D1 = 1,
#define R_D1  R_D1
  R_D2 = 2,
#define R_D2  R_D2
  R_D3 = 3,
#define R_D3  R_D3
  R_D4 = 4,
#define R_D4  R_D4
  R_D5 = 5,
#define R_D5  R_D5
  R_D6 = 6,
#define R_D6  R_D6
  R_D7 = 7,
#define R_D7  R_D7
  R_A0 = 8,
#define R_A0  R_A0
  R_A1 = 9,
#define R_A1  R_A1
  R_A2 = 10,
#define R_A2  R_A2
  R_A3 = 11,
#define R_A3  R_A3
  R_A4 = 12,
#define R_A4  R_A4
  R_A5 = 13,
#define R_A5  R_A5
  R_A6 = 14,
#define R_A6  R_A6
  R_A7 = 15,
#define R_A7  R_A7
  R_SP = 15,
#define R_SP  R_SP
  R_PC = 16,
#define R_PC  R_PC
  R_PS = 17
#define R_PS  R_PS
};