2
0

target_elf.h 476 B

123456789101112131415161718
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License version 2 as
  4. * published by the Free Software Foundation, or (at your option) any
  5. * later version. See the COPYING file in the top-level directory.
  6. */
  7. #ifndef PPC_TARGET_ELF_H
  8. #define PPC_TARGET_ELF_H
  9. static inline const char *cpu_get_model(uint32_t eflags)
  10. {
  11. #ifdef TARGET_PPC64
  12. return "POWER9";
  13. #else
  14. return "750";
  15. #endif
  16. }
  17. #endif