cpu-probe.c (a36920200c5b89d56120a5e839fe4a603d51b16c) | cpu-probe.c (2a21c7300b53b744d16903256a172d9cbcfdd03e) |
---|---|
1/* 2 * Processor capabilities determination functions. 3 * 4 * Copyright (C) xxxx the Anonymous 5 * Copyright (C) 1994 - 2006 Ralf Baechle 6 * Copyright (C) 2003, 2004 Maciej W. Rozycki 7 * Copyright (C) 2001, 2004 MIPS Inc. 8 * --- 471 unchanged lines hidden (view full) --- 480 c->cputype = CPU_R14000; 481 c->isa_level = MIPS_CPU_ISA_IV; 482 c->options = MIPS_CPU_TLB | MIPS_CPU_4K_CACHE | MIPS_CPU_4KEX | 483 MIPS_CPU_FPU | MIPS_CPU_32FPR | 484 MIPS_CPU_COUNTER | MIPS_CPU_WATCH | 485 MIPS_CPU_LLSC; 486 c->tlbsize = 64; 487 break; | 1/* 2 * Processor capabilities determination functions. 3 * 4 * Copyright (C) xxxx the Anonymous 5 * Copyright (C) 1994 - 2006 Ralf Baechle 6 * Copyright (C) 2003, 2004 Maciej W. Rozycki 7 * Copyright (C) 2001, 2004 MIPS Inc. 8 * --- 471 unchanged lines hidden (view full) --- 480 c->cputype = CPU_R14000; 481 c->isa_level = MIPS_CPU_ISA_IV; 482 c->options = MIPS_CPU_TLB | MIPS_CPU_4K_CACHE | MIPS_CPU_4KEX | 483 MIPS_CPU_FPU | MIPS_CPU_32FPR | 484 MIPS_CPU_COUNTER | MIPS_CPU_WATCH | 485 MIPS_CPU_LLSC; 486 c->tlbsize = 64; 487 break; |
488 case PRID_IMP_LOONGSON2: 489 c->cputype = CPU_LOONGSON2; 490 c->isa_level = MIPS_CPU_ISA_III; 491 c->options = R4K_OPTS | 492 MIPS_CPU_FPU | MIPS_CPU_LLSC | 493 MIPS_CPU_32FPR; 494 c->tlbsize = 64; 495 break; |
|
488 } 489} 490 491static char unknown_isa[] __initdata = KERN_ERR \ 492 "Unsupported ISA type, c0.config0: %d."; 493 494static inline unsigned int decode_config0(struct cpuinfo_mips *c) 495{ --- 293 unchanged lines hidden --- | 496 } 497} 498 499static char unknown_isa[] __initdata = KERN_ERR \ 500 "Unsupported ISA type, c0.config0: %d."; 501 502static inline unsigned int decode_config0(struct cpuinfo_mips *c) 503{ --- 293 unchanged lines hidden --- |