Home | History | Annotate | Download | only in asm
      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  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_PROCINFO_H
     13 #define __ASM_PROCINFO_H
     14 
     15 #ifndef __ASSEMBLY__
     16 
     17 struct cpu_tlb_fns;
     18 struct cpu_user_fns;
     19 struct cpu_cache_fns;
     20 struct processor;
     21 
     22 struct proc_info_list {
     23  unsigned int cpu_val;
     24  unsigned int cpu_mask;
     25  unsigned long __cpu_mm_mmu_flags;
     26  unsigned long __cpu_io_mmu_flags;
     27  unsigned long __cpu_flush;
     28  const char *arch_name;
     29  const char *elf_name;
     30  unsigned int elf_hwcap;
     31  const char *cpu_name;
     32  struct processor *proc;
     33  struct cpu_tlb_fns *tlb;
     34  struct cpu_user_fns *user;
     35  struct cpu_cache_fns *cache;
     36 };
     37 
     38 #endif
     39 
     40 #define HWCAP_SWP 1
     41 #define HWCAP_HALF 2
     42 #define HWCAP_THUMB 4
     43 #define HWCAP_26BIT 8
     44 #define HWCAP_FAST_MULT 16
     45 #define HWCAP_FPA 32
     46 #define HWCAP_VFP 64
     47 #define HWCAP_EDSP 128
     48 #define HWCAP_JAVA 256
     49 #define HWCAP_IWMMXT 512
     50 
     51 #endif
     52