cpu-probe.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. /*
  2. * Processor capabilities determination functions.
  3. *
  4. * Copyright (C) xxxx the Anonymous
  5. * Copyright (C) 2003 Maciej W. Rozycki
  6. * Copyright (C) 1994 - 2003 Ralf Baechle
  7. * Copyright (C) 2001 MIPS Inc.
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License
  11. * as published by the Free Software Foundation; either version
  12. * 2 of the License, or (at your option) any later version.
  13. */
  14. #include <linux/config.h>
  15. #include <linux/init.h>
  16. #include <linux/kernel.h>
  17. #include <linux/ptrace.h>
  18. #include <linux/stddef.h>
  19. #include <asm/bugs.h>
  20. #include <asm/cpu.h>
  21. #include <asm/fpu.h>
  22. #include <asm/mipsregs.h>
  23. #include <asm/system.h>
  24. /*
  25. * Not all of the MIPS CPUs have the "wait" instruction available. Moreover,
  26. * the implementation of the "wait" feature differs between CPU families. This
  27. * points to the function that implements CPU specific wait.
  28. * The wait instruction stops the pipeline and reduces the power consumption of
  29. * the CPU very much.
  30. */
  31. void (*cpu_wait)(void) = NULL;
  32. static void r3081_wait(void)
  33. {
  34. unsigned long cfg = read_c0_conf();
  35. write_c0_conf(cfg | R30XX_CONF_HALT);
  36. }
  37. static void r39xx_wait(void)
  38. {
  39. unsigned long cfg = read_c0_conf();
  40. write_c0_conf(cfg | TX39_CONF_HALT);
  41. }
  42. static void r4k_wait(void)
  43. {
  44. __asm__(".set\tmips3\n\t"
  45. "wait\n\t"
  46. ".set\tmips0");
  47. }
  48. /*
  49. * The Au1xxx wait is available only if we run CONFIG_PM and
  50. * the timer setup found we had a 32KHz counter available.
  51. * There are still problems with functions that may call au1k_wait
  52. * directly, but that will be discovered pretty quickly.
  53. */
  54. extern void (*au1k_wait_ptr)(void);
  55. void au1k_wait(void)
  56. {
  57. #ifdef CONFIG_PM
  58. /* using the wait instruction makes CP0 counter unusable */
  59. __asm__(".set\tmips3\n\t"
  60. "wait\n\t"
  61. "nop\n\t"
  62. "nop\n\t"
  63. "nop\n\t"
  64. "nop\n\t"
  65. ".set\tmips0");
  66. #else
  67. __asm__("nop\n\t"
  68. "nop");
  69. #endif
  70. }
  71. static inline void check_wait(void)
  72. {
  73. struct cpuinfo_mips *c = &current_cpu_data;
  74. printk("Checking for 'wait' instruction... ");
  75. switch (c->cputype) {
  76. case CPU_R3081:
  77. case CPU_R3081E:
  78. cpu_wait = r3081_wait;
  79. printk(" available.\n");
  80. break;
  81. case CPU_TX3927:
  82. cpu_wait = r39xx_wait;
  83. printk(" available.\n");
  84. break;
  85. case CPU_R4200:
  86. /* case CPU_R4300: */
  87. case CPU_R4600:
  88. case CPU_R4640:
  89. case CPU_R4650:
  90. case CPU_R4700:
  91. case CPU_R5000:
  92. case CPU_NEVADA:
  93. case CPU_RM7000:
  94. case CPU_RM9000:
  95. case CPU_TX49XX:
  96. case CPU_4KC:
  97. case CPU_4KEC:
  98. case CPU_4KSC:
  99. case CPU_5KC:
  100. /* case CPU_20KC:*/
  101. case CPU_24K:
  102. case CPU_25KF:
  103. cpu_wait = r4k_wait;
  104. printk(" available.\n");
  105. break;
  106. #ifdef CONFIG_PM
  107. case CPU_AU1000:
  108. case CPU_AU1100:
  109. case CPU_AU1500:
  110. if (au1k_wait_ptr != NULL) {
  111. cpu_wait = au1k_wait_ptr;
  112. printk(" available.\n");
  113. }
  114. else {
  115. printk(" unavailable.\n");
  116. }
  117. break;
  118. #endif
  119. default:
  120. printk(" unavailable.\n");
  121. break;
  122. }
  123. }
  124. void __init check_bugs32(void)
  125. {
  126. check_wait();
  127. }
  128. /*
  129. * Probe whether cpu has config register by trying to play with
  130. * alternate cache bit and see whether it matters.
  131. * It's used by cpu_probe to distinguish between R3000A and R3081.
  132. */
  133. static inline int cpu_has_confreg(void)
  134. {
  135. #ifdef CONFIG_CPU_R3000
  136. extern unsigned long r3k_cache_size(unsigned long);
  137. unsigned long size1, size2;
  138. unsigned long cfg = read_c0_conf();
  139. size1 = r3k_cache_size(ST0_ISC);
  140. write_c0_conf(cfg ^ R30XX_CONF_AC);
  141. size2 = r3k_cache_size(ST0_ISC);
  142. write_c0_conf(cfg);
  143. return size1 != size2;
  144. #else
  145. return 0;
  146. #endif
  147. }
  148. /*
  149. * Get the FPU Implementation/Revision.
  150. */
  151. static inline unsigned long cpu_get_fpu_id(void)
  152. {
  153. unsigned long tmp, fpu_id;
  154. tmp = read_c0_status();
  155. __enable_fpu();
  156. fpu_id = read_32bit_cp1_register(CP1_REVISION);
  157. write_c0_status(tmp);
  158. return fpu_id;
  159. }
  160. /*
  161. * Check the CPU has an FPU the official way.
  162. */
  163. static inline int __cpu_has_fpu(void)
  164. {
  165. return ((cpu_get_fpu_id() & 0xff00) != FPIR_IMP_NONE);
  166. }
  167. #define R4K_OPTS (MIPS_CPU_TLB | MIPS_CPU_4KEX | MIPS_CPU_4KTLB \
  168. | MIPS_CPU_COUNTER)
  169. static inline void cpu_probe_legacy(struct cpuinfo_mips *c)
  170. {
  171. switch (c->processor_id & 0xff00) {
  172. case PRID_IMP_R2000:
  173. c->cputype = CPU_R2000;
  174. c->isa_level = MIPS_CPU_ISA_I;
  175. c->options = MIPS_CPU_TLB | MIPS_CPU_NOFPUEX;
  176. if (__cpu_has_fpu())
  177. c->options |= MIPS_CPU_FPU;
  178. c->tlbsize = 64;
  179. break;
  180. case PRID_IMP_R3000:
  181. if ((c->processor_id & 0xff) == PRID_REV_R3000A)
  182. if (cpu_has_confreg())
  183. c->cputype = CPU_R3081E;
  184. else
  185. c->cputype = CPU_R3000A;
  186. else
  187. c->cputype = CPU_R3000;
  188. c->isa_level = MIPS_CPU_ISA_I;
  189. c->options = MIPS_CPU_TLB | MIPS_CPU_NOFPUEX;
  190. if (__cpu_has_fpu())
  191. c->options |= MIPS_CPU_FPU;
  192. c->tlbsize = 64;
  193. break;
  194. case PRID_IMP_R4000:
  195. if (read_c0_config() & CONF_SC) {
  196. if ((c->processor_id & 0xff) >= PRID_REV_R4400)
  197. c->cputype = CPU_R4400PC;
  198. else
  199. c->cputype = CPU_R4000PC;
  200. } else {
  201. if ((c->processor_id & 0xff) >= PRID_REV_R4400)
  202. c->cputype = CPU_R4400SC;
  203. else
  204. c->cputype = CPU_R4000SC;
  205. }
  206. c->isa_level = MIPS_CPU_ISA_III;
  207. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  208. MIPS_CPU_WATCH | MIPS_CPU_VCE |
  209. MIPS_CPU_LLSC;
  210. c->tlbsize = 48;
  211. break;
  212. case PRID_IMP_VR41XX:
  213. switch (c->processor_id & 0xf0) {
  214. case PRID_REV_VR4111:
  215. c->cputype = CPU_VR4111;
  216. break;
  217. case PRID_REV_VR4121:
  218. c->cputype = CPU_VR4121;
  219. break;
  220. case PRID_REV_VR4122:
  221. if ((c->processor_id & 0xf) < 0x3)
  222. c->cputype = CPU_VR4122;
  223. else
  224. c->cputype = CPU_VR4181A;
  225. break;
  226. case PRID_REV_VR4130:
  227. if ((c->processor_id & 0xf) < 0x4)
  228. c->cputype = CPU_VR4131;
  229. else
  230. c->cputype = CPU_VR4133;
  231. break;
  232. default:
  233. printk(KERN_INFO "Unexpected CPU of NEC VR4100 series\n");
  234. c->cputype = CPU_VR41XX;
  235. break;
  236. }
  237. c->isa_level = MIPS_CPU_ISA_III;
  238. c->options = R4K_OPTS;
  239. c->tlbsize = 32;
  240. break;
  241. case PRID_IMP_R4300:
  242. c->cputype = CPU_R4300;
  243. c->isa_level = MIPS_CPU_ISA_III;
  244. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  245. MIPS_CPU_LLSC;
  246. c->tlbsize = 32;
  247. break;
  248. case PRID_IMP_R4600:
  249. c->cputype = CPU_R4600;
  250. c->isa_level = MIPS_CPU_ISA_III;
  251. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_LLSC;
  252. c->tlbsize = 48;
  253. break;
  254. #if 0
  255. case PRID_IMP_R4650:
  256. /*
  257. * This processor doesn't have an MMU, so it's not
  258. * "real easy" to run Linux on it. It is left purely
  259. * for documentation. Commented out because it shares
  260. * it's c0_prid id number with the TX3900.
  261. */
  262. c->cputype = CPU_R4650;
  263. c->isa_level = MIPS_CPU_ISA_III;
  264. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_LLSC;
  265. c->tlbsize = 48;
  266. break;
  267. #endif
  268. case PRID_IMP_TX39:
  269. c->isa_level = MIPS_CPU_ISA_I;
  270. c->options = MIPS_CPU_TLB;
  271. if ((c->processor_id & 0xf0) == (PRID_REV_TX3927 & 0xf0)) {
  272. c->cputype = CPU_TX3927;
  273. c->tlbsize = 64;
  274. } else {
  275. switch (c->processor_id & 0xff) {
  276. case PRID_REV_TX3912:
  277. c->cputype = CPU_TX3912;
  278. c->tlbsize = 32;
  279. break;
  280. case PRID_REV_TX3922:
  281. c->cputype = CPU_TX3922;
  282. c->tlbsize = 64;
  283. break;
  284. default:
  285. c->cputype = CPU_UNKNOWN;
  286. break;
  287. }
  288. }
  289. break;
  290. case PRID_IMP_R4700:
  291. c->cputype = CPU_R4700;
  292. c->isa_level = MIPS_CPU_ISA_III;
  293. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  294. MIPS_CPU_LLSC;
  295. c->tlbsize = 48;
  296. break;
  297. case PRID_IMP_TX49:
  298. c->cputype = CPU_TX49XX;
  299. c->isa_level = MIPS_CPU_ISA_III;
  300. c->options = R4K_OPTS | MIPS_CPU_LLSC;
  301. if (!(c->processor_id & 0x08))
  302. c->options |= MIPS_CPU_FPU | MIPS_CPU_32FPR;
  303. c->tlbsize = 48;
  304. break;
  305. case PRID_IMP_R5000:
  306. c->cputype = CPU_R5000;
  307. c->isa_level = MIPS_CPU_ISA_IV;
  308. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  309. MIPS_CPU_LLSC;
  310. c->tlbsize = 48;
  311. break;
  312. case PRID_IMP_R5432:
  313. c->cputype = CPU_R5432;
  314. c->isa_level = MIPS_CPU_ISA_IV;
  315. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  316. MIPS_CPU_WATCH | MIPS_CPU_LLSC;
  317. c->tlbsize = 48;
  318. break;
  319. case PRID_IMP_R5500:
  320. c->cputype = CPU_R5500;
  321. c->isa_level = MIPS_CPU_ISA_IV;
  322. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  323. MIPS_CPU_WATCH | MIPS_CPU_LLSC;
  324. c->tlbsize = 48;
  325. break;
  326. case PRID_IMP_NEVADA:
  327. c->cputype = CPU_NEVADA;
  328. c->isa_level = MIPS_CPU_ISA_IV;
  329. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  330. MIPS_CPU_DIVEC | MIPS_CPU_LLSC;
  331. c->tlbsize = 48;
  332. break;
  333. case PRID_IMP_R6000:
  334. c->cputype = CPU_R6000;
  335. c->isa_level = MIPS_CPU_ISA_II;
  336. c->options = MIPS_CPU_TLB | MIPS_CPU_FPU |
  337. MIPS_CPU_LLSC;
  338. c->tlbsize = 32;
  339. break;
  340. case PRID_IMP_R6000A:
  341. c->cputype = CPU_R6000A;
  342. c->isa_level = MIPS_CPU_ISA_II;
  343. c->options = MIPS_CPU_TLB | MIPS_CPU_FPU |
  344. MIPS_CPU_LLSC;
  345. c->tlbsize = 32;
  346. break;
  347. case PRID_IMP_RM7000:
  348. c->cputype = CPU_RM7000;
  349. c->isa_level = MIPS_CPU_ISA_IV;
  350. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  351. MIPS_CPU_LLSC;
  352. /*
  353. * Undocumented RM7000: Bit 29 in the info register of
  354. * the RM7000 v2.0 indicates if the TLB has 48 or 64
  355. * entries.
  356. *
  357. * 29 1 => 64 entry JTLB
  358. * 0 => 48 entry JTLB
  359. */
  360. c->tlbsize = (read_c0_info() & (1 << 29)) ? 64 : 48;
  361. break;
  362. case PRID_IMP_RM9000:
  363. c->cputype = CPU_RM9000;
  364. c->isa_level = MIPS_CPU_ISA_IV;
  365. c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
  366. MIPS_CPU_LLSC;
  367. /*
  368. * Bit 29 in the info register of the RM9000
  369. * indicates if the TLB has 48 or 64 entries.
  370. *
  371. * 29 1 => 64 entry JTLB
  372. * 0 => 48 entry JTLB
  373. */
  374. c->tlbsize = (read_c0_info() & (1 << 29)) ? 64 : 48;
  375. break;
  376. case PRID_IMP_R8000:
  377. c->cputype = CPU_R8000;
  378. c->isa_level = MIPS_CPU_ISA_IV;
  379. c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
  380. MIPS_CPU_FPU | MIPS_CPU_32FPR |
  381. MIPS_CPU_LLSC;
  382. c->tlbsize = 384; /* has weird TLB: 3-way x 128 */
  383. break;
  384. case PRID_IMP_R10000:
  385. c->cputype = CPU_R10000;
  386. c->isa_level = MIPS_CPU_ISA_IV;
  387. c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
  388. MIPS_CPU_FPU | MIPS_CPU_32FPR |
  389. MIPS_CPU_COUNTER | MIPS_CPU_WATCH |
  390. MIPS_CPU_LLSC;
  391. c->tlbsize = 64;
  392. break;
  393. case PRID_IMP_R12000:
  394. c->cputype = CPU_R12000;
  395. c->isa_level = MIPS_CPU_ISA_IV;
  396. c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
  397. MIPS_CPU_FPU | MIPS_CPU_32FPR |
  398. MIPS_CPU_COUNTER | MIPS_CPU_WATCH |
  399. MIPS_CPU_LLSC;
  400. c->tlbsize = 64;
  401. break;
  402. }
  403. }
  404. static inline void decode_config1(struct cpuinfo_mips *c)
  405. {
  406. unsigned long config0 = read_c0_config();
  407. unsigned long config1;
  408. if ((config0 & (1 << 31)) == 0)
  409. return; /* actually wort a panic() */
  410. /* MIPS32 or MIPS64 compliant CPU. Read Config 1 register. */
  411. c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
  412. MIPS_CPU_4KTLB | MIPS_CPU_COUNTER | MIPS_CPU_DIVEC |
  413. MIPS_CPU_LLSC | MIPS_CPU_MCHECK;
  414. config1 = read_c0_config1();
  415. if (config1 & (1 << 3))
  416. c->options |= MIPS_CPU_WATCH;
  417. if (config1 & (1 << 2))
  418. c->options |= MIPS_CPU_MIPS16;
  419. if (config1 & (1 << 1))
  420. c->options |= MIPS_CPU_EJTAG;
  421. if (config1 & 1) {
  422. c->options |= MIPS_CPU_FPU;
  423. c->options |= MIPS_CPU_32FPR;
  424. }
  425. c->scache.flags = MIPS_CACHE_NOT_PRESENT;
  426. c->tlbsize = ((config1 >> 25) & 0x3f) + 1;
  427. }
  428. static inline void cpu_probe_mips(struct cpuinfo_mips *c)
  429. {
  430. decode_config1(c);
  431. switch (c->processor_id & 0xff00) {
  432. case PRID_IMP_4KC:
  433. c->cputype = CPU_4KC;
  434. c->isa_level = MIPS_CPU_ISA_M32;
  435. break;
  436. case PRID_IMP_4KEC:
  437. c->cputype = CPU_4KEC;
  438. c->isa_level = MIPS_CPU_ISA_M32;
  439. break;
  440. case PRID_IMP_4KSC:
  441. c->cputype = CPU_4KSC;
  442. c->isa_level = MIPS_CPU_ISA_M32;
  443. break;
  444. case PRID_IMP_5KC:
  445. c->cputype = CPU_5KC;
  446. c->isa_level = MIPS_CPU_ISA_M64;
  447. break;
  448. case PRID_IMP_20KC:
  449. c->cputype = CPU_20KC;
  450. c->isa_level = MIPS_CPU_ISA_M64;
  451. break;
  452. case PRID_IMP_24K:
  453. c->cputype = CPU_24K;
  454. c->isa_level = MIPS_CPU_ISA_M32;
  455. break;
  456. case PRID_IMP_25KF:
  457. c->cputype = CPU_25KF;
  458. c->isa_level = MIPS_CPU_ISA_M64;
  459. /* Probe for L2 cache */
  460. c->scache.flags &= ~MIPS_CACHE_NOT_PRESENT;
  461. break;
  462. }
  463. }
  464. static inline void cpu_probe_alchemy(struct cpuinfo_mips *c)
  465. {
  466. decode_config1(c);
  467. switch (c->processor_id & 0xff00) {
  468. case PRID_IMP_AU1_REV1:
  469. case PRID_IMP_AU1_REV2:
  470. switch ((c->processor_id >> 24) & 0xff) {
  471. case 0:
  472. c->cputype = CPU_AU1000;
  473. break;
  474. case 1:
  475. c->cputype = CPU_AU1500;
  476. break;
  477. case 2:
  478. c->cputype = CPU_AU1100;
  479. break;
  480. case 3:
  481. c->cputype = CPU_AU1550;
  482. break;
  483. default:
  484. panic("Unknown Au Core!");
  485. break;
  486. }
  487. c->isa_level = MIPS_CPU_ISA_M32;
  488. break;
  489. }
  490. }
  491. static inline void cpu_probe_sibyte(struct cpuinfo_mips *c)
  492. {
  493. decode_config1(c);
  494. switch (c->processor_id & 0xff00) {
  495. case PRID_IMP_SB1:
  496. c->cputype = CPU_SB1;
  497. c->isa_level = MIPS_CPU_ISA_M64;
  498. c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
  499. MIPS_CPU_COUNTER | MIPS_CPU_DIVEC |
  500. MIPS_CPU_MCHECK | MIPS_CPU_EJTAG |
  501. MIPS_CPU_WATCH | MIPS_CPU_LLSC;
  502. #ifndef CONFIG_SB1_PASS_1_WORKAROUNDS
  503. /* FPU in pass1 is known to have issues. */
  504. c->options |= MIPS_CPU_FPU | MIPS_CPU_32FPR;
  505. #endif
  506. break;
  507. }
  508. }
  509. static inline void cpu_probe_sandcraft(struct cpuinfo_mips *c)
  510. {
  511. decode_config1(c);
  512. switch (c->processor_id & 0xff00) {
  513. case PRID_IMP_SR71000:
  514. c->cputype = CPU_SR71000;
  515. c->isa_level = MIPS_CPU_ISA_M64;
  516. c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
  517. MIPS_CPU_4KTLB | MIPS_CPU_FPU |
  518. MIPS_CPU_COUNTER | MIPS_CPU_MCHECK;
  519. c->scache.ways = 8;
  520. c->tlbsize = 64;
  521. break;
  522. }
  523. }
  524. __init void cpu_probe(void)
  525. {
  526. struct cpuinfo_mips *c = &current_cpu_data;
  527. c->processor_id = PRID_IMP_UNKNOWN;
  528. c->fpu_id = FPIR_IMP_NONE;
  529. c->cputype = CPU_UNKNOWN;
  530. c->processor_id = read_c0_prid();
  531. switch (c->processor_id & 0xff0000) {
  532. case PRID_COMP_LEGACY:
  533. cpu_probe_legacy(c);
  534. break;
  535. case PRID_COMP_MIPS:
  536. cpu_probe_mips(c);
  537. break;
  538. case PRID_COMP_ALCHEMY:
  539. cpu_probe_alchemy(c);
  540. break;
  541. case PRID_COMP_SIBYTE:
  542. cpu_probe_sibyte(c);
  543. break;
  544. case PRID_COMP_SANDCRAFT:
  545. cpu_probe_sandcraft(c);
  546. break;
  547. default:
  548. c->cputype = CPU_UNKNOWN;
  549. }
  550. if (c->options & MIPS_CPU_FPU)
  551. c->fpu_id = cpu_get_fpu_id();
  552. }
  553. __init void cpu_report(void)
  554. {
  555. struct cpuinfo_mips *c = &current_cpu_data;
  556. printk("CPU revision is: %08x\n", c->processor_id);
  557. if (c->options & MIPS_CPU_FPU)
  558. printk("FPU revision is: %08x\n", c->fpu_id);
  559. }