system_info.h 724 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __ASM_ARM_SYSTEM_INFO_H
  2. #define __ASM_ARM_SYSTEM_INFO_H
  3. #define CPU_ARCH_UNKNOWN 0
  4. #define CPU_ARCH_ARMv3 1
  5. #define CPU_ARCH_ARMv4 2
  6. #define CPU_ARCH_ARMv4T 3
  7. #define CPU_ARCH_ARMv5 4
  8. #define CPU_ARCH_ARMv5T 5
  9. #define CPU_ARCH_ARMv5TE 6
  10. #define CPU_ARCH_ARMv5TEJ 7
  11. #define CPU_ARCH_ARMv6 8
  12. #define CPU_ARCH_ARMv7 9
  13. #define CPU_ARCH_ARMv7M 10
  14. #ifndef __ASSEMBLY__
  15. /* information about the system we're running on */
  16. extern unsigned int system_rev;
  17. extern const char *system_serial;
  18. extern unsigned int system_serial_low;
  19. extern unsigned int system_serial_high;
  20. extern unsigned int mem_fclk_21285;
  21. extern int __pure cpu_architecture(void);
  22. #endif /* !__ASSEMBLY__ */
  23. #endif /* __ASM_ARM_SYSTEM_INFO_H */