MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / procinfo.h
blob383cd2770c0b2ad31b9b15ebde138bfb96d75bf0
1 /*
2 * linux/include/asm-arm/procinfo.h
4 * Copyright (C) 1996-1999 Russell King
5 * Modified by Hyok S. Choi, 2004
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #ifndef __ASM_PROCINFO_H
12 #define __ASM_PROCINFO_H
14 #ifndef __ASSEMBLY__
16 #ifdef CONFIG_MMU
17 struct cpu_tlb_fns;
18 struct cpu_user_fns;
19 #endif
20 struct cpu_cache_fns;
21 struct processor;
24 * Note! struct processor is always defined if we're
25 * using MULTI_CPU, otherwise this entry is unused,
26 * but still exists.
28 * NOTE! The following structure is defined by assembly
29 * language, NOT C code. For more information, check:
30 * arch/arm/mm/proc-*.S and arch/arm/kernel/head.S
32 struct proc_info_list {
33 unsigned int cpu_val;
34 unsigned int cpu_mask;
35 unsigned long __cpu_mm_mmu_flags; /* used by head.S */
36 unsigned long __cpu_io_mmu_flags; /* used by head.S */
37 unsigned long __cpu_flush; /* used by head.S */
38 const char *arch_name;
39 const char *elf_name;
40 unsigned int elf_hwcap;
41 const char *cpu_name;
42 struct processor *proc;
43 struct cpu_tlb_fns *tlb;
44 struct cpu_user_fns *user;
45 struct cpu_cache_fns *cache;
48 extern unsigned int elf_hwcap;
50 #endif /* __ASSEMBLY__ */
52 #define HWCAP_SWP 1
53 #define HWCAP_HALF 2
54 #define HWCAP_THUMB 4
55 #define HWCAP_26BIT 8 /* Play it safe */
56 #define HWCAP_FAST_MULT 16
57 #define HWCAP_FPA 32
58 #define HWCAP_VFP 64
59 #define HWCAP_EDSP 128
60 #define HWCAP_JAVA 256
61 #define HWCAP_IWMMXT 512
63 #endif