Add definition of gregset_t and fpregset_t.
This commit is contained in:
parent
12b8ab07b9
commit
6e64e12d90
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user