Blame view

include/asm-arm/procinfo.h 1.27 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
9
10
11
  /*
   *  linux/include/asm-arm/procinfo.h
   *
   *  Copyright (C) 1996-1999 Russell King
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 as
   * published by the Free Software Foundation.
   */
  #ifndef __ASM_PROCINFO_H
  #define __ASM_PROCINFO_H
5974eaaed   Russell King   [ARM] Move HWCAP_...
12
  #ifdef __KERNEL__
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
  struct cpu_tlb_fns;
  struct cpu_user_fns;
  struct cpu_cache_fns;
  struct processor;
  
  /*
   * Note!  struct processor is always defined if we're
   * using MULTI_CPU, otherwise this entry is unused,
   * but still exists.
   *
   * NOTE! The following structure is defined by assembly
   * language, NOT C code.  For more information, check:
   *  arch/arm/mm/proc-*.S and arch/arm/kernel/head.S
   */
  struct proc_info_list {
  	unsigned int		cpu_val;
  	unsigned int		cpu_mask;
8799ee9f4   Russell King   [ARM] Set bit 4 o...
31
32
  	unsigned long		__cpu_mm_mmu_flags;	/* used by head.S */
  	unsigned long		__cpu_io_mmu_flags;	/* used by head.S */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
33
34
35
36
37
38
39
40
41
42
  	unsigned long		__cpu_flush;		/* used by head.S */
  	const char		*arch_name;
  	const char		*elf_name;
  	unsigned int		elf_hwcap;
  	const char		*cpu_name;
  	struct processor	*proc;
  	struct cpu_tlb_fns	*tlb;
  	struct cpu_user_fns	*user;
  	struct cpu_cache_fns	*cache;
  };
5974eaaed   Russell King   [ARM] Move HWCAP_...
43
44
45
46
  #else	/* __KERNEL__ */
  #include <asm/elf.h>
  #warning "Please include asm/elf.h instead"
  #endif	/* __KERNEL__ */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
47
  #endif