summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/kvx/sys/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/kvx/sys/user.h')
-rw-r--r--libc/sysdeps/linux/kvx/sys/user.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/kvx/sys/user.h b/libc/sysdeps/linux/kvx/sys/user.h
new file mode 100644
index 000000000..2e228ff19
--- /dev/null
+++ b/libc/sysdeps/linux/kvx/sys/user.h
@@ -0,0 +1,27 @@
+/*
+ * This file is subject to the terms and conditions of the LGPL V2.1
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2019 Kalray Inc.
+ */
+
+#ifndef _SYS_USER_H
+#define _SYS_USER_H 1
+
+struct user_regs_struct
+{
+ /* GPR */
+ unsigned long long gpr_regs[64];
+
+ /* SFR */
+ unsigned long lc;
+ unsigned long le;
+ unsigned long ls;
+ unsigned long ra;
+
+ unsigned long cs;
+ unsigned long spc;
+};
+
+#endif