Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2009 Wu Zhangjin <wuzhangjin@gmail.com>
0004  * Copyright (C) 2009 Philippe Vachon <philippe@cowpig.ca>
0005  * Copyright (C) 2009 Zhang Le <r0bertz@gentoo.org>
0006  *
0007  * reference: /proc/cpuinfo,
0008  *  arch/mips/kernel/cpu-probe.c(cpu_probe_legacy),
0009  *  arch/mips/kernel/proc.c(show_cpuinfo),
0010  *  loongson2f user manual.
0011  */
0012 
0013 #ifndef __ASM_MACH_LOONGSON2EF_CPU_FEATURE_OVERRIDES_H
0014 #define __ASM_MACH_LOONGSON2EF_CPU_FEATURE_OVERRIDES_H
0015 
0016 #define cpu_has_32fpr       1
0017 #define cpu_has_3k_cache    0
0018 #define cpu_has_4k_cache    1
0019 #define cpu_has_4kex        1
0020 #define cpu_has_64bits      1
0021 #define cpu_has_cache_cdex_p    0
0022 #define cpu_has_cache_cdex_s    0
0023 #define cpu_has_counter     1
0024 #define cpu_has_dc_aliases  (PAGE_SIZE < 0x4000)
0025 #define cpu_has_divec       0
0026 #define cpu_has_ejtag       0
0027 #define cpu_has_inclusive_pcaches   1
0028 #define cpu_has_llsc        1
0029 #define cpu_has_mcheck      0
0030 #define cpu_has_mdmx        0
0031 #define cpu_has_mips16      0
0032 #define cpu_has_mips16e2    0
0033 #define cpu_has_mips3d      0
0034 #define cpu_has_mipsmt      0
0035 #define cpu_has_smartmips   0
0036 #define cpu_has_tlb     1
0037 #define cpu_has_vce     0
0038 #define cpu_has_veic        0
0039 #define cpu_has_vint        0
0040 #define cpu_has_vtag_icache 0
0041 #define cpu_has_watch       1
0042 
0043 #endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */