Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * Copyright (C) 2009 Wu Zhangjin <wuzhangjin@gmail.com>
0007  * Copyright (C) 2009 Philippe Vachon <philippe@cowpig.ca>
0008  * Copyright (C) 2009 Zhang Le <r0bertz@gentoo.org>
0009  *
0010  * reference: /proc/cpuinfo,
0011  *  arch/mips/kernel/cpu-probe.c(cpu_probe_legacy),
0012  *  arch/mips/kernel/proc.c(show_cpuinfo),
0013  *  loongson2f user manual.
0014  */
0015 
0016 #ifndef __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H
0017 #define __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H
0018 
0019 #define cpu_has_32fpr       1
0020 #define cpu_has_3k_cache    0
0021 #define cpu_has_4k_cache    1
0022 #define cpu_has_4kex        1
0023 #define cpu_has_64bits      1
0024 #define cpu_has_cache_cdex_p    0
0025 #define cpu_has_cache_cdex_s    0
0026 #define cpu_has_counter     1
0027 #define cpu_has_dc_aliases  (PAGE_SIZE < 0x4000)
0028 #define cpu_has_divec       0
0029 #define cpu_has_inclusive_pcaches   1
0030 #define cpu_has_llsc        1
0031 #define cpu_has_mcheck      0
0032 #define cpu_has_mdmx        0
0033 #define cpu_has_mips16      0
0034 #define cpu_has_mips16e2    0
0035 #define cpu_has_mips3d      0
0036 #define cpu_has_mipsmt      0
0037 #define cpu_has_smartmips   0
0038 #define cpu_has_tlb     1
0039 #define cpu_has_vce     0
0040 #define cpu_has_veic        0
0041 #define cpu_has_vint        0
0042 #define cpu_has_vtag_icache 0
0043 #define cpu_has_wsbh        1
0044 #define cpu_has_ic_fills_f_dc   1
0045 #define cpu_hwrena_impl_bits    0xc0000000
0046 #define cpu_has_mac2008_only    1
0047 #define cpu_has_mips_r2_exec_hazard 0
0048 #define cpu_has_perf_cntr_intr_bit  0
0049 
0050 #endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */