cpuid.h 617 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright IBM Corp. 2000,2009
  3. * Author(s): Hartmut Penner <hp@de.ibm.com>,
  4. * Martin Schwidefsky <schwidefsky@de.ibm.com>
  5. * Christian Ehrhardt <ehrhardt@de.ibm.com>
  6. */
  7. #ifndef _ASM_S390_CPUID_H_
  8. #define _ASM_S390_CPUID_H_
  9. /*
  10. * CPU type and hardware bug flags. Kept separately for each CPU.
  11. * Members of this structure are referenced in head.S, so think twice
  12. * before touching them. [mj]
  13. */
  14. typedef struct
  15. {
  16. unsigned int version : 8;
  17. unsigned int ident : 24;
  18. unsigned int machine : 16;
  19. unsigned int unused : 16;
  20. } __attribute__ ((packed)) cpuid_t;
  21. #endif /* _ASM_S390_CPUID_H_ */