blob: e2ca039ef46ea0527430cbf19b2fe395a8b21226 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef __ASM_PROCINFO_H
20#define __ASM_PROCINFO_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#ifndef __ASSEMBLY__
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022struct cpu_tlb_fns;
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024struct cpu_user_fns;
25struct cpu_cache_fns;
26struct processor;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080027struct proc_info_list {
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029 unsigned int cpu_val;
30 unsigned int cpu_mask;
31 unsigned long __cpu_mm_mmu_flags;
32 unsigned long __cpu_io_mmu_flags;
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034 unsigned long __cpu_flush;
35 const char *arch_name;
36 const char *elf_name;
37 unsigned int elf_hwcap;
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039 const char *cpu_name;
40 struct processor *proc;
41 struct cpu_tlb_fns *tlb;
42 struct cpu_user_fns *user;
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044 struct cpu_cache_fns *cache;
45};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080046#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080047#define HWCAP_SWP 1
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define HWCAP_HALF 2
50#define HWCAP_THUMB 4
Elliott Hughesc95eb572013-01-29 18:15:55 -080051#define HWCAP_26BIT 8
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080052#define HWCAP_FAST_MULT 16
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054#define HWCAP_FPA 32
55#define HWCAP_VFP 64
56#define HWCAP_EDSP 128
57#define HWCAP_JAVA 256
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059#define HWCAP_IWMMXT 512
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080060#endif