Add definition of gregset_t and fpregset_t.

This commit is contained in:
Ulrich Drepper 1999-10-12 15:50:11 +00:00
parent 12b8ab07b9
commit 6e64e12d90
1 changed files with 20 additions and 0 deletions

View File

@ -24,6 +24,26 @@
#include <bits/sigcontext.h>
/* Type for general register. */
typedef long int greg_t;
/* Number of general registers. */
#define NGREG 33
/* Container for all general registers. */
typedef greg_t gregset_t[NGREG];
/* Type for floating-point register. */
typedef long int fpreg_t;
/* Number of general registers. */
#define NFPREG 32
/* Container for all general registers. */
typedef fpreg_t fpregset_t[NFPREG];
/* A machine context is exactly a sigcontext. */
typedef struct sigcontext mcontext_t;