Back to index

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

Go to the source code of this file.


struct  rwindow
struct  gwindows
struct  fpq
struct  fq
struct  fpu
struct  xrs_t
struct  mcontext_t
struct  ucontext
union  fq.FQu
union  fpu.fpu_fr


#define REG_PSR   (0)
#define REG_PC   (1)
#define REG_nPC   (2)
#define REG_Y   (3)
#define REG_G1   (4)
#define REG_G2   (5)
#define REG_G3   (6)
#define REG_G4   (7)
#define REG_G5   (8)
#define REG_G6   (9)
#define REG_G7   (10)
#define REG_O0   (11)
#define REG_O1   (12)
#define REG_O2   (13)
#define REG_O3   (14)
#define REG_O4   (15)
#define REG_O5   (16)
#define REG_O6   (17)
#define REG_O7   (18)
#define NGREG   19
#define SPARC_MAXREGWINDOW   31 /* max windows in SPARC arch. */
#define rw_fp   rw_in[6] /* frame pointer */
#define rw_rtn   rw_in[7] /* return address */
#define MAXFPQ   16 /* max # of fpu queue entries currently supported */
#define FPU_REGS_TYPE   unsigned
#define FPU_DREGS_TYPE   unsigned long long
#define V7_FPU_FSR_TYPE   unsigned
#define V9_FPU_FSR_TYPE   unsigned long long
#define V9_FPU_FPRS_TYPE   unsigned
#define XRS_ID   0x78727300 /* the string "xrs" */


typedef int greg_t
typedef greg_t gregset_t [NGREG]
typedef struct gwindows gwindows_t
typedef struct fpu fpregset_t
typedef struct ucontext ucontext_t

Class Documentation

struct rwindow

Definition at line 150 of file ucontext.h.

Class Members
greg_t rw_in
greg_t rw_local
struct gwindows

Definition at line 159 of file ucontext.h.

Class Members
int * spbuf
int wbcnt
struct fpq

Definition at line 179 of file ucontext.h.

Class Members
unsigned long * fpq_addr
unsigned long fpq_instr
struct fq

Definition at line 185 of file ucontext.h.

Class Members
union fq FQu
struct fpu

Definition at line 218 of file ucontext.h.

Collaboration diagram for fpu:
Class Members
unsigned char fpu_en
union fpu fpu_fr
unsigned fpu_fsr
struct fq * fpu_q
unsigned char fpu_q_entrysize
unsigned char fpu_qcnt
struct xrs_t

Definition at line 241 of file ucontext.h.

Class Members
unsigned int xrs_id
void * xrs_ptr
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 fq.FQu

Definition at line 187 of file ucontext.h.

Class Members
double whole
union fpu.fpu_fr

Definition at line 220 of file ucontext.h.

Class Members
double fpu_dregs
unsigned long long fpu_regs

Define Documentation

#define FPU_DREGS_TYPE   unsigned long long

Definition at line 195 of file ucontext.h.

#define FPU_REGS_TYPE   unsigned

Definition at line 194 of file ucontext.h.

#define MAXFPQ   16 /* max # of fpu queue entries currently supported */

Definition at line 170 of file ucontext.h.

#define NGREG   19

Definition at line 135 of file ucontext.h.

#define REG_G1   (4)

Definition at line 100 of file ucontext.h.

#define REG_G2   (5)

Definition at line 101 of file ucontext.h.

#define REG_G3   (6)

Definition at line 102 of file ucontext.h.

#define REG_G4   (7)

Definition at line 103 of file ucontext.h.

#define REG_G5   (8)

Definition at line 104 of file ucontext.h.

#define REG_G6   (9)

Definition at line 105 of file ucontext.h.

#define REG_G7   (10)

Definition at line 106 of file ucontext.h.

#define REG_nPC   (2)

Definition at line 98 of file ucontext.h.

#define REG_O0   (11)

Definition at line 107 of file ucontext.h.

#define REG_O1   (12)

Definition at line 108 of file ucontext.h.

#define REG_O2   (13)

Definition at line 109 of file ucontext.h.

#define REG_O3   (14)

Definition at line 110 of file ucontext.h.

#define REG_O4   (15)

Definition at line 111 of file ucontext.h.

#define REG_O5   (16)

Definition at line 112 of file ucontext.h.

#define REG_O6   (17)

Definition at line 113 of file ucontext.h.

#define REG_O7   (18)

Definition at line 114 of file ucontext.h.

#define REG_PC   (1)

Definition at line 97 of file ucontext.h.

#define REG_PSR   (0)

Definition at line 96 of file ucontext.h.

#define REG_Y   (3)

Definition at line 99 of file ucontext.h.

#define rw_fp   rw_in[6] /* frame pointer */

Definition at line 156 of file ucontext.h.

#define rw_rtn   rw_in[7] /* return address */

Definition at line 157 of file ucontext.h.

#define SPARC_MAXREGWINDOW   31 /* max windows in SPARC arch. */

Definition at line 149 of file ucontext.h.

#define V7_FPU_FSR_TYPE   unsigned

Definition at line 196 of file ucontext.h.

#define V9_FPU_FPRS_TYPE   unsigned

Definition at line 198 of file ucontext.h.

#define V9_FPU_FSR_TYPE   unsigned long long

Definition at line 197 of file ucontext.h.

#define XRS_ID   0x78727300 /* the string "xrs" */

Definition at line 247 of file ucontext.h.

Typedef Documentation

typedef struct fpu fpregset_t
typedef int greg_t

Definition at line 136 of file ucontext.h.

Definition at line 140 of file ucontext.h.

typedef struct gwindows gwindows_t
typedef struct ucontext ucontext_t