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
24 * Note! struct processor is always defined if we're
25 * using MULTI_CPU, otherwise this entry is unused,
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
{
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
;
40 unsigned int elf_hwcap
;
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__ */
55 #define HWCAP_26BIT 8 /* Play it safe */
56 #define HWCAP_FAST_MULT 16
59 #define HWCAP_EDSP 128
60 #define HWCAP_JAVA 256
61 #define HWCAP_IWMMXT 512