2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef _ASM_NIOS2_CPUINFO_H
20 #define _ASM_NIOS2_CPUINFO_H
22 #include <linux/types.h>
25 /* Core CPU configuration */
42 u32 tlb_pid_num_bits
; /* number of bits used for the PID in TLBMISC */
44 u32 tlb_num_ways_log2
;
52 u32 fast_tlb_miss_exc_addr
;
55 extern struct cpuinfo cpuinfo
;
57 extern void setup_cpuinfo(void);
59 #endif /* _ASM_NIOS2_CPUINFO_H */