2 * linux/include/asm-arm/procinfo.h
4 * Copyright (C) 1996-1999 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 #ifndef __ASM_PROCINFO_H
11 #define __ASM_PROCINFO_H
16 //struct cpu_user_fns;
18 struct proc_info_item
{
19 const char *manufacturer
;
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-armv.S
32 struct proc_info_list
{
34 unsigned int cpu_mask
;
35 const char *arch_name
;
37 unsigned int elf_hwcap
;
38 struct proc_info_item
*info
;
39 struct processor
*proc
;
42 #endif /* __ASSEMBLY__ */
44 #define PROC_INFO_SZ 48
49 #define HWCAP_26BIT 8 /* Play it safe */
50 #define HWCAP_FAST_MULT 16
53 #define HWCAP_EDSP 128
54 #define HWCAP_JAVA 256