procinfo.h revision 94a85f663694e1869acb1c2e8a3c374a6fa3ab86
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __ASM_PROCINFO_H
20#define __ASM_PROCINFO_H
21#ifndef __ASSEMBLY__
22struct cpu_tlb_fns;
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24struct cpu_user_fns;
25struct cpu_cache_fns;
26struct processor;
27struct proc_info_list {
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 unsigned int cpu_val;
30 unsigned int cpu_mask;
31 unsigned long __cpu_mm_mmu_flags;
32 unsigned long __cpu_io_mmu_flags;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 unsigned long __cpu_flush;
35 const char *arch_name;
36 const char *elf_name;
37 unsigned int elf_hwcap;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 const char *cpu_name;
40 struct processor *proc;
41 struct cpu_tlb_fns *tlb;
42 struct cpu_user_fns *user;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 struct cpu_cache_fns *cache;
45};
46#endif
47#define HWCAP_SWP 1
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define HWCAP_HALF 2
50#define HWCAP_THUMB 4
51#define HWCAP_26BIT 8
52#define HWCAP_FAST_MULT 16
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define HWCAP_FPA 32
55#define HWCAP_VFP 64
56#define HWCAP_EDSP 128
57#define HWCAP_JAVA 256
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define HWCAP_IWMMXT 512
60#endif
61