cpu.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * This file is subject to the terms and conditions of the GNU General Public
  3.  * License.  See the file "COPYING" in the main directory of this archive
  4.  * for more details.
  5.  *
  6.  * cpu.h: Values of the PRId register used to match up
  7.  *        various MIPS cpu types.
  8.  *
  9.  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
  10.  */
  11. #ifndef _ASM_CPU_H
  12. #define _ASM_CPU_H
  13. /*
  14.  * Assigned values for the product ID register.  In order to detect a
  15.  * certain CPU type exactly eventually additional registers may need to
  16.  * be examined.
  17.  */
  18. #define PRID_IMP_R2000    0x0100
  19. #define PRID_IMP_R3000    0x0200 /* Same as R2000A  */
  20. #define PRID_IMP_R6000    0x0300 /* Same as R3000A  */
  21. #define PRID_IMP_R4000    0x0400
  22. #define PRID_IMP_R6000A   0x0600
  23. #define PRID_IMP_R10000   0x0900
  24. #define PRID_IMP_R4300    0x0b00
  25. #define PRID_IMP_R12000   0x0e00
  26. #define PRID_IMP_R8000    0x1000
  27. #define PRID_IMP_R4600    0x2000
  28. #define PRID_IMP_R4700    0x2100
  29. #define PRID_IMP_R4640    0x2200
  30. #define PRID_IMP_R4650    0x2200 /* Same as R4640 */
  31. #define PRID_IMP_R5000    0x2300
  32. #define PRID_IMP_SONIC    0x2400
  33. #define PRID_IMP_MAGIC    0x2500
  34. #define PRID_IMP_RM7000   0x2700
  35. #define PRID_IMP_NEVADA   0x2800
  36. #define PRID_IMP_UNKNOWN  0xff00
  37. #define PRID_REV_R4400    0x0040
  38. #define PRID_REV_R3000A   0x0030
  39. #define PRID_REV_R3000    0x0020
  40. #define PRID_REV_R2000A   0x0010
  41. #endif /* _ASM_CPU_H */