18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 38c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 48c2ecf20Sopenharmony_ci * for more details. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2009 Wu Zhangjin <wuzhangjin@gmail.com> 78c2ecf20Sopenharmony_ci * Copyright (C) 2009 Philippe Vachon <philippe@cowpig.ca> 88c2ecf20Sopenharmony_ci * Copyright (C) 2009 Zhang Le <r0bertz@gentoo.org> 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * reference: /proc/cpuinfo, 118c2ecf20Sopenharmony_ci * arch/mips/kernel/cpu-probe.c(cpu_probe_legacy), 128c2ecf20Sopenharmony_ci * arch/mips/kernel/proc.c(show_cpuinfo), 138c2ecf20Sopenharmony_ci * loongson2f user manual. 148c2ecf20Sopenharmony_ci */ 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#ifndef __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H 178c2ecf20Sopenharmony_ci#define __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#define cpu_has_32fpr 1 208c2ecf20Sopenharmony_ci#define cpu_has_3k_cache 0 218c2ecf20Sopenharmony_ci#define cpu_has_4k_cache 1 228c2ecf20Sopenharmony_ci#define cpu_has_4kex 1 238c2ecf20Sopenharmony_ci#define cpu_has_64bits 1 248c2ecf20Sopenharmony_ci#define cpu_has_cache_cdex_p 0 258c2ecf20Sopenharmony_ci#define cpu_has_cache_cdex_s 0 268c2ecf20Sopenharmony_ci#define cpu_has_counter 1 278c2ecf20Sopenharmony_ci#define cpu_has_dc_aliases (PAGE_SIZE < 0x4000) 288c2ecf20Sopenharmony_ci#define cpu_has_divec 0 298c2ecf20Sopenharmony_ci#define cpu_has_inclusive_pcaches 1 308c2ecf20Sopenharmony_ci#define cpu_has_llsc 1 318c2ecf20Sopenharmony_ci#define cpu_has_mcheck 0 328c2ecf20Sopenharmony_ci#define cpu_has_mdmx 0 338c2ecf20Sopenharmony_ci#define cpu_has_mips16 0 348c2ecf20Sopenharmony_ci#define cpu_has_mips16e2 0 358c2ecf20Sopenharmony_ci#define cpu_has_mips3d 0 368c2ecf20Sopenharmony_ci#define cpu_has_mipsmt 0 378c2ecf20Sopenharmony_ci#define cpu_has_smartmips 0 388c2ecf20Sopenharmony_ci#define cpu_has_tlb 1 398c2ecf20Sopenharmony_ci#define cpu_has_tx39_cache 0 408c2ecf20Sopenharmony_ci#define cpu_has_vce 0 418c2ecf20Sopenharmony_ci#define cpu_has_veic 0 428c2ecf20Sopenharmony_ci#define cpu_has_vint 0 438c2ecf20Sopenharmony_ci#define cpu_has_vtag_icache 0 448c2ecf20Sopenharmony_ci#define cpu_has_wsbh 1 458c2ecf20Sopenharmony_ci#define cpu_has_ic_fills_f_dc 1 468c2ecf20Sopenharmony_ci#define cpu_hwrena_impl_bits 0xc0000000 478c2ecf20Sopenharmony_ci#define cpu_has_mac2008_only 1 488c2ecf20Sopenharmony_ci#define cpu_has_mips_r2_exec_hazard 0 498c2ecf20Sopenharmony_ci#define cpu_has_perf_cntr_intr_bit 0 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci#endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */ 52