-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.\r
- This file is part of the GNU C Library.\r
-\r
- The GNU C Library is free software; you can redistribute it and/or\r
- modify it under the terms of the GNU Library General Public License as\r
- published by the Free Software Foundation; either version 2 of the\r
- License, or (at your option) any later version.\r
-\r
- The GNU C Library is distributed in the hope that it will be useful,\r
- but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
- Library General Public License for more details.\r
-\r
- You should have received a copy of the GNU Library General Public\r
- License along with the GNU C Library; see the file COPYING.LIB. If not,\r
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\r
- Boston, MA 02111-1307, USA. */\r
-\r
-/* System V/ARM ABI compliant context switching support. */\r
-\r
-#ifndef _SYS_UCONTEXT_H\r
-#define _SYS_UCONTEXT_H 1\r
-\r
-#include <features.h>\r
-#include <signal.h>\r
-#include <sys/elf.h>\r
-\r
-typedef int greg_t;\r
-\r
-/* Number of general registers. */\r
-#define NGREG 16\r
-\r
-/* Container for all general registers. */\r
-typedef elf_gregset_t gregset_t;\r
-\r
-/* Number of each register is the `gregset_t' array. */\r
-enum\r
-{\r
- R0 = 0,\r
-#define R0 R0\r
- R1 = 1,\r
-#define R1 R1\r
- R2 = 2,\r
-#define R2 R2\r
- R3 = 3,\r
-#define R3 R3\r
- R4 = 4,\r
-#define R4 R4\r
- R5 = 5,\r
-#define R5 R5\r
- R6 = 6,\r
-#define R6 R6\r
- R7 = 7,\r
-#define R7 R7\r
- R8 = 8,\r
-#define R8 R8\r
- R9 = 9,\r
-#define R9 R9\r
- R10 = 10,\r
-#define R10 R10\r
- R11 = 11,\r
-#define R11 R11\r
- R12 = 12,\r
-#define R12 R12\r
- R13 = 13,\r
-#define R13 R13\r
- R14 = 14,\r
-#define R14 R14\r
- R15 = 15,\r
-#define R15 R15\r
-};\r
-\r
-/* Structure to describe FPU registers. */\r
-typedef elf_fpregset_t fpregset_t;\r
-\r
-/* Context to describe whole processor state. */\r
-typedef struct\r
- {\r
- gregset_t gregs;\r
- fpregset_t fpregs;\r
- } mcontext_t;\r
-\r
-/* Userlevel context. */\r
-typedef struct ucontext\r
- {\r
- unsigned long int uc_flags;\r
- struct ucontext *uc_link;\r
- __sigset_t uc_sigmask;\r
- stack_t uc_stack;\r
- mcontext_t uc_mcontext;\r
- long int uc_filler[5];\r
- } ucontext_t;\r
-\r
-#endif /* sys/ucontext.h */\r
+/* Copyright (C) 1998, 1999, 2001 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 Library General Public License as
+ published by the Free Software Foundation; either version 2 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+/* System V/ARM ABI compliant context switching support. */
+
+#ifndef _SYS_UCONTEXT_H
+#define _SYS_UCONTEXT_H 1
+
+#include <features.h>
+#include <signal.h>
+#include <sys/elf.h>
+
+typedef int greg_t;
+
+/* Number of general registers. */
+#define NGREG 16
+
+/* Container for all general registers. */
+typedef elf_gregset_t gregset_t;
+
+/* Number of each register is the `gregset_t' array. */
+enum
+{
+ R0 = 0,
+#define R0 R0
+ R1 = 1,
+#define R1 R1
+ R2 = 2,
+#define R2 R2
+ R3 = 3,
+#define R3 R3
+ R4 = 4,
+#define R4 R4
+ R5 = 5,
+#define R5 R5
+ R6 = 6,
+#define R6 R6
+ R7 = 7,
+#define R7 R7
+ R8 = 8,
+#define R8 R8
+ R9 = 9,
+#define R9 R9
+ R10 = 10,
+#define R10 R10
+ R11 = 11,
+#define R11 R11
+ R12 = 12,
+#define R12 R12
+ R13 = 13,
+#define R13 R13
+ R14 = 14,
+#define R14 R14
+ R15 = 15,
+#define R15 R15
+};
+
+/* Structure to describe FPU registers. */
+typedef elf_fpregset_t fpregset_t;
+
+/* Context to describe whole processor state. */
+typedef struct
+ {
+ gregset_t gregs;
+ fpregset_t fpregs;
+ } mcontext_t;
+
+/* Userlevel context. */
+typedef struct ucontext
+ {
+ unsigned long int uc_flags;
+ struct ucontext *uc_link;
+ __sigset_t uc_sigmask;
+ stack_t uc_stack;
+ mcontext_t uc_mcontext;
+ long int uc_filler[5];
+ } ucontext_t;
+
+#endif /* sys/ucontext.h */