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
union  fpregset.fp_reg_set
struct  fpchip_state.fp_reg_set.fpchip_state
struct  fp_emul_space.fp_reg_set.fp_emul_space

Defines

#define NGREG   19
#define REG_GS   REG_GS
#define REG_FS   REG_FS
#define REG_ES   REG_ES
#define REG_DS   REG_DS
#define REG_EDI   REG_EDI
#define REG_ESI   REG_ESI
#define REG_EBP   REG_EBP
#define REG_ESP   REG_ESP
#define REG_EBX   REG_EBX
#define REG_EDX   REG_EDX
#define REG_ECX   REG_ECX
#define REG_EAX   REG_EAX
#define REG_TRAPNO   REG_TRAPNO
#define REG_ERR   REG_ERR
#define REG_EIP   REG_EIP
#define REG_CS   REG_CS
#define REG_EFL   REG_EFL
#define REG_UESP   REG_UESP
#define REG_SS   REG_SS

Typedefs

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

Enumerations

enum  {
  REG_GS = 0, REG_GS = 0, REG_FS, REG_FS,
  REG_ES, REG_ES, REG_DS, REG_DS,
  REG_EDI, REG_EDI, REG_ESI, REG_ESI,
  REG_EBP, REG_EBP, REG_ESP, REG_ESP,
  REG_EBX, REG_EBX, REG_EDX, REG_EDX,
  REG_ECX, REG_ECX, REG_EAX, REG_EAX,
  REG_TRAPNO, REG_TRAPNO, REG_ERR, REG_ERR,
  REG_EIP, REG_EIP, REG_CS, REG_CS,
  REG_EFL, REG_EFL, REG_UESP, REG_UESP
}

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_reg_set

Definition at line 82 of file ucontext.h.

Class Members
int f_fpregs
fp_reg_set fp_emul_space
fp_reg_set fpchip_state
struct fpregset::fpchip_state.fp_reg_set.fpchip_state

Definition at line 84 of file ucontext.h.

Class Members
int state
int status
struct fpregset::fp_emul_space.fp_reg_set.fp_emul_space

Definition at line 90 of file ucontext.h.

Class Members
char fp_emul
char fp_epad

Define Documentation

#define NGREG   19

Definition at line 31 of file ucontext.h.

#define REG_CS   REG_CS

Definition at line 70 of file ucontext.h.

#define REG_DS   REG_DS

Definition at line 46 of file ucontext.h.

#define REG_EAX   REG_EAX

Definition at line 62 of file ucontext.h.

#define REG_EBP   REG_EBP

Definition at line 52 of file ucontext.h.

#define REG_EBX   REG_EBX

Definition at line 56 of file ucontext.h.

#define REG_ECX   REG_ECX

Definition at line 60 of file ucontext.h.

#define REG_EDI   REG_EDI

Definition at line 48 of file ucontext.h.

#define REG_EDX   REG_EDX

Definition at line 58 of file ucontext.h.

#define REG_EFL   REG_EFL

Definition at line 72 of file ucontext.h.

#define REG_EIP   REG_EIP

Definition at line 68 of file ucontext.h.

#define REG_ERR   REG_ERR

Definition at line 66 of file ucontext.h.

#define REG_ES   REG_ES

Definition at line 44 of file ucontext.h.

#define REG_ESI   REG_ESI

Definition at line 50 of file ucontext.h.

#define REG_ESP   REG_ESP

Definition at line 54 of file ucontext.h.

#define REG_FS   REG_FS

Definition at line 42 of file ucontext.h.

#define REG_GS   REG_GS

Definition at line 40 of file ucontext.h.

#define REG_SS   REG_SS

Definition at line 76 of file ucontext.h.

#define REG_TRAPNO   REG_TRAPNO

Definition at line 64 of file ucontext.h.

#define REG_UESP   REG_UESP

Definition at line 74 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:
REG_GS 
REG_GS 
REG_FS 
REG_FS 
REG_ES 
REG_ES 
REG_DS 
REG_DS 
REG_EDI 
REG_EDI 
REG_ESI 
REG_ESI 
REG_EBP 
REG_EBP 
REG_ESP 
REG_ESP 
REG_EBX 
REG_EBX 
REG_EDX 
REG_EDX 
REG_ECX 
REG_ECX 
REG_EAX 
REG_EAX 
REG_TRAPNO 
REG_TRAPNO 
REG_ERR 
REG_ERR 
REG_EIP 
REG_EIP 
REG_CS 
REG_CS 
REG_EFL 
REG_EFL 
REG_UESP 
REG_UESP 

Definition at line 37 of file ucontext.h.

{
  REG_GS = 0,
#define REG_GS       REG_GS
  REG_FS,
#define REG_FS       REG_FS
  REG_ES,
#define REG_ES       REG_ES
  REG_DS,
#define REG_DS       REG_DS
  REG_EDI,
#define REG_EDI      REG_EDI
  REG_ESI,
#define REG_ESI      REG_ESI
  REG_EBP,
#define REG_EBP      REG_EBP
  REG_ESP,
#define REG_ESP      REG_ESP
  REG_EBX,
#define REG_EBX      REG_EBX
  REG_EDX,
#define REG_EDX      REG_EDX
  REG_ECX,
#define REG_ECX      REG_ECX
  REG_EAX,
#define REG_EAX      REG_EAX
  REG_TRAPNO,
#define REG_TRAPNO   REG_TRAPNO
  REG_ERR,
#define REG_ERR      REG_ERR
  REG_EIP,
#define REG_EIP      REG_EIP
  REG_CS,
#define REG_CS       REG_CS
  REG_EFL,
#define REG_EFL      REG_EFL
  REG_UESP,
#define REG_UESP     REG_UESP
  REG_SS
#define REG_SS       REG_SS
};