summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-18 03:38:07 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-18 03:38:07 +0000
commitaebcf54cb0fe3d7e7237be9a4b2e79ca0fadfbf4 (patch)
tree7aef918e1b41fcad724d1abdccb5187e30bafecc /sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h
parent1d53508d2c614ca42e93b26e4fd3d2560e92e6e1 (diff)
downloadglibc-aebcf54cb0fe3d7e7237be9a4b2e79ca0fadfbf4.tar.gz
Update.
2003-06-17 Paul Mackerras <paulus@samba.org> * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h
new file mode 100644
index 0000000000..e88a025d6a
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h
@@ -0,0 +1,30 @@
+/* Offsets and other constants needed in the *context() function
+ implementation.
+ Copyright (C) 2002 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#define SIG_BLOCK 0
+#define SIG_SETMASK 2
+
+#define _UC_LINK 4
+#define _UC_STACK_SP 8
+#define _UC_STACK_SIZE 16
+#define _UC_SIGMASK 64
+#define _UC_GREGS 192
+#define _UC_FREGS 384
+#define _UC_VREGS 656