aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux-libc-headers/linux-libc-headers-nios2-2.6.28/procinfo.h
diff options
context:
space:
mode:
authorWalter Goossens <walter.goossens@axon.tv>2009-11-22 17:32:10 +0100
committerLeon Woestenberg <leon@sidebranch.com>2009-11-22 17:42:31 +0100
commitdc96d85364cc7c02ca622f9319fdac26d56248f8 (patch)
tree4cfcb361454f4bbbc27fd096bc0e5707a098852c /recipes/linux-libc-headers/linux-libc-headers-nios2-2.6.28/procinfo.h
parentafbf458a1ad2e17638f3c0ffd2a1de418cee07ce (diff)
downloadopenembedded-dc96d85364cc7c02ca622f9319fdac26d56248f8.tar.gz
{binutils,gcc,linux-libc-headers,uclibc,elf2flt}-nios2: Toolchain.
This adds the toolchain bits, plus a linux kernel for the nios2 architecture. The NIOS2 toolchain is not upstream but is from the nioswiki project. All toolchain bits have version "-nios2-*" and should not collide with the existing toolchains of other architectures. Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'recipes/linux-libc-headers/linux-libc-headers-nios2-2.6.28/procinfo.h')
-rw-r--r--recipes/linux-libc-headers/linux-libc-headers-nios2-2.6.28/procinfo.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/linux-libc-headers/linux-libc-headers-nios2-2.6.28/procinfo.h b/recipes/linux-libc-headers/linux-libc-headers-nios2-2.6.28/procinfo.h
new file mode 100644
index 0000000000..8cdf828af8
--- /dev/null
+++ b/recipes/linux-libc-headers/linux-libc-headers-nios2-2.6.28/procinfo.h
@@ -0,0 +1,24 @@
+/*
+ * linux/include/asm-arm/procinfo.h
+ *
+ * Copyright (C) 1996-1999 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __ASM_PROCINFO_H
+#define __ASM_PROCINFO_H
+
+#define HWCAP_SWP 1
+#define HWCAP_HALF 2
+#define HWCAP_THUMB 4
+#define HWCAP_26BIT 8 /* Play it safe */
+#define HWCAP_FAST_MULT 16
+#define HWCAP_FPA 32
+#define HWCAP_VFP 64
+#define HWCAP_EDSP 128
+#define HWCAP_JAVA 256
+#define HWCAP_IWMMXT 512
+#define HWCAP_CRUNCH 1024
+#endif