qapi: report the default CPU type for each machine
[qemu/ar7.git] / linux-user / m68k / target_elf.h
blob998fe0fe2f32241f8366cd021fc6b783190da720
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 */
8 #ifndef M68K_TARGET_ELF_H
9 #define M68K_TARGET_ELF_H
10 static inline const char *cpu_get_model(uint32_t eflags)
12 if (eflags == 0 || (eflags & EF_M68K_M68000)) {
13 /* 680x0 */
14 return "m68040";
17 /* Coldfire */
18 return "any";
20 #endif