]> Git Repo - qemu.git/blame - linux-user/mips64/target_elf.h
Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-migration-20210713a...
[qemu.git] / linux-user / mips64 / target_elf.h
CommitLineData
542ca434
LV
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
8#ifndef MIPS64_TARGET_ELF_H
9#define MIPS64_TARGET_ELF_H
10static inline const char *cpu_get_model(uint32_t eflags)
11{
45506bdd
YS
12 if ((eflags & EF_MIPS_ARCH) == EF_MIPS_ARCH_64R6) {
13 return "I6400";
14 }
b8f91fd4
FN
15 if ((eflags & EF_MIPS_MACH) == EF_MIPS_MACH_5900) {
16 return "R5900";
17 }
542ca434
LV
18 return "5KEf";
19}
20#endif
This page took 0.157009 seconds and 4 git commands to generate.