mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Update.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t and fpregset_t definitions.
This commit is contained in:
parent
48ac059733
commit
6df659be10
@ -1,5 +1,8 @@
|
||||
1999-10-11 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
|
||||
and fpregset_t definitions.
|
||||
|
||||
* malloc/memprof.c (GETSP): Define for PowerPC.
|
||||
(GETTIME): Fix generic version.
|
||||
|
||||
|
@ -28,6 +28,29 @@
|
||||
|
||||
typedef struct sigcontext mcontext_t;
|
||||
|
||||
/* We need explicit types for the general and floating-point register
|
||||
sets. */
|
||||
|
||||
/* Type for general register. */
|
||||
typedef int greg_t;
|
||||
|
||||
/* Number of general registers. */
|
||||
#define NGREG 32
|
||||
|
||||
/* Container for all general registers. */
|
||||
typedef greg_t gregset_t[NGREG];
|
||||
|
||||
|
||||
/* Type for general register. */
|
||||
typedef int fpreg_t;
|
||||
|
||||
/* Number of general registers. */
|
||||
#define NFPREG 32
|
||||
|
||||
/* Container for all general registers. */
|
||||
typedef fpreg_t fpregset_t[NFPREG];
|
||||
|
||||
|
||||
/* Userlevel context. */
|
||||
typedef struct ucontext
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user