summaryrefslogtreecommitdiffstats
path: root/linux-user/riscv
diff options
context:
space:
mode:
authorAlistair Francis2019-04-20 04:23:44 +0200
committerPalmer Dabbelt2019-05-24 21:09:23 +0200
commit77c62400e5eb8dced12c09e4a32ff3b0580f62b8 (patch)
tree54fc5eb7b86c0699a779f940df5ce373bcf2a7dd /linux-user/riscv
parenttarget/riscv: Remove unused include of riscv_htif.h for virt board riscv (diff)
downloadqemu-77c62400e5eb8dced12c09e4a32ff3b0580f62b8.tar.gz
qemu-77c62400e5eb8dced12c09e4a32ff3b0580f62b8.tar.xz
qemu-77c62400e5eb8dced12c09e4a32ff3b0580f62b8.zip
linux-user/riscv: Add the CPU type as a comment
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'linux-user/riscv')
-rw-r--r--linux-user/riscv/target_elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/riscv/target_elf.h b/linux-user/riscv/target_elf.h
index a6716a6aac..9dd65652ee 100644
--- a/linux-user/riscv/target_elf.h
+++ b/linux-user/riscv/target_elf.h
@@ -9,6 +9,7 @@
#define RISCV_TARGET_ELF_H
static inline const char *cpu_get_model(uint32_t eflags)
{
+ /* TYPE_RISCV_CPU_ANY */
return "any";
}
#endif