summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/sys/sysmips.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 15:52:41 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 15:52:41 +0000
commit43ee769f540704ccfc4e2a12ba11ed4b6eece196 (patch)
tree59e0fec96510e3f8c2cdb6dacbfb3031058ed092 /libc/sysdeps/linux/mips/sys/sysmips.h
parent80ee234a186cf81220a37cd561fb8c91f9e9cadc (diff)
downloaduClibc-alpine-43ee769f540704ccfc4e2a12ba11ed4b6eece196.tar.bz2
uClibc-alpine-43ee769f540704ccfc4e2a12ba11ed4b6eece196.tar.xz
Synch libc mips specific with trunk
Diffstat (limited to 'libc/sysdeps/linux/mips/sys/sysmips.h')
-rw-r--r--libc/sysdeps/linux/mips/sys/sysmips.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/mips/sys/sysmips.h b/libc/sysdeps/linux/mips/sys/sysmips.h
index 7760c755a..6a63dc2b2 100644
--- a/libc/sysdeps/linux/mips/sys/sysmips.h
+++ b/libc/sysdeps/linux/mips/sys/sysmips.h
@@ -22,9 +22,17 @@
#include <features.h>
/*
- * Get the kernel definition for sysmips(2)
+ * Commands for the sysmips(2) call
+ *
+ * sysmips(2) is deprecated - though some existing software uses it.
+ * We only support the following commands. Sysmips exists for compatibility
+ * purposes only so new software should avoid it.
*/
-#include <asm/sysmips.h>
+#define SETNAME 1 /* set hostname */
+#define FLUSH_CACHE 3 /* writeback and invalidate caches */
+#define MIPS_FIXADE 7 /* control address error fixing */
+#define MIPS_RDNVRAM 10 /* read NVRAM */
+#define MIPS_ATOMIC_SET 2001 /* atomically set variable */
__BEGIN_DECLS