summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/avr32/sys/ucontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/avr32/sys/ucontext.h')
-rw-r--r--libc/sysdeps/linux/avr32/sys/ucontext.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/libc/sysdeps/linux/avr32/sys/ucontext.h b/libc/sysdeps/linux/avr32/sys/ucontext.h
index ba8940cb2..82c7fe24a 100644
--- a/libc/sysdeps/linux/avr32/sys/ucontext.h
+++ b/libc/sysdeps/linux/avr32/sys/ucontext.h
@@ -19,7 +19,7 @@
/* Linux/AVR32 ABI compliant context switching support. */
#ifndef _SYS_UCONTEXT_H
-#define _SYS_UCONTEXT_H 1
+#define _SYS_UCONTEXT_H 1
#include <features.h>
#include <signal.h>
@@ -29,7 +29,7 @@
typedef int greg_t;
/* Number of general registers. */
-#define NGREG 16
+#define NGREG 16
/* Container for all general registers. */
typedef elf_gregset_t gregset_t;
@@ -38,41 +38,41 @@ typedef elf_gregset_t gregset_t;
enum
{
R0 = 0,
-#define R0 R0
+#define R0 R0
R1 = 1,
-#define R1 R1
+#define R1 R1
R2 = 2,
-#define R2 R2
+#define R2 R2
R3 = 3,
-#define R3 R3
+#define R3 R3
R4 = 4,
-#define R4 R4
+#define R4 R4
R5 = 5,
-#define R5 R5
+#define R5 R5
R6 = 6,
-#define R6 R6
+#define R6 R6
R7 = 7,
-#define R7 R7
+#define R7 R7
R8 = 8,
-#define R8 R8
+#define R8 R8
R9 = 9,
-#define R9 R9
+#define R9 R9
R10 = 10,
-#define R10 R10
+#define R10 R10
R11 = 11,
-#define R11 R11
+#define R11 R11
R12 = 12,
-#define R12 R12
+#define R12 R12
R13 = 13,
-#define R13 R13
+#define R13 R13
R14 = 14,
-#define R14 R14
+#define R14 R14
R15 = 15
-#define R15 R15
+#define R15 R15
};
/* Structure to describe FPU registers. */
-typedef elf_fpregset_t fpregset_t;
+typedef elf_fpregset_t fpregset_t;
/* Context to describe whole processor state. */
typedef struct sigcontext mcontext_t;
@@ -80,11 +80,11 @@ typedef struct sigcontext mcontext_t;
/* Userlevel context. */
typedef struct ucontext
{
- unsigned long uc_flags;
- struct ucontext *uc_link;
- stack_t uc_stack;
- mcontext_t uc_mcontext;
- sigset_t uc_sigmask; /* mask last for extensibility */
+ unsigned long uc_flags;
+ struct ucontext *uc_link;
+ stack_t uc_stack;
+ mcontext_t uc_mcontext;
+ sigset_t uc_sigmask; /* mask last for extensibility */
} ucontext_t;
#endif /* sys/ucontext.h */