about summary refs log tree commit diff
path: root/arch/microblaze/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-06-21 12:47:15 -0400
committerRich Felker <dalias@aerifal.cx>2017-06-21 12:47:15 -0400
commit5948bc1a642e6cead729602c9e1a251d5f60bddb (patch)
tree5f2454ea17ee46b08761a3dc1551303fbda5c0ce /arch/microblaze/bits
parentb7bfb5c3a8330002250f304cb5deb522fa054eae (diff)
downloadmusl-5948bc1a642e6cead729602c9e1a251d5f60bddb.tar.gz
musl-5948bc1a642e6cead729602c9e1a251d5f60bddb.tar.xz
musl-5948bc1a642e6cead729602c9e1a251d5f60bddb.zip
fix omission of microblaze user.h definitions
Diffstat (limited to 'arch/microblaze/bits')
-rw-r--r--arch/microblaze/bits/user.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/arch/microblaze/bits/user.h b/arch/microblaze/bits/user.h
index c4e3b82b..dbc25e04 100644
--- a/arch/microblaze/bits/user.h
+++ b/arch/microblaze/bits/user.h
@@ -1 +1,25 @@
-/* FIXME: missing in kernel? */
+struct user_fpregs_struct {
+	long cwd, swd, twd, fip, fcs, foo, fos, st_space[20];
+};
+
+struct user_regs_struct {
+	unsigned grp[32], pc, msr, ear, esr, fsr, btr, pvr[12];
+};
+
+struct user {
+	struct user_regs_struct regs;
+	int u_fpvalid;
+	struct user_fpregs_struct elf_fpregset_t;
+	unsigned long u_tsize, u_dsize, u_ssize, start_code, start_stack;
+	long signal;
+	int reserved;
+	struct user_regs_struct *u_ar0;
+	struct user_fpregs_struct *u_fpstate;
+	unsigned long magic;
+	char u_comm[32];
+	int u_debugreg[8];
+};
+
+#define ELF_NGREG 50
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
+typedef struct user_fpregs_struct elf_fpregset_t;