diff options
author | Igor Mammedov <imammedo@redhat.com> | 2017-10-05 15:51:10 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-10-27 16:04:28 +0200 |
commit | a7519f2b39be7e584c9f5a3100f3842d314a5eb6 (patch) | |
tree | eea94e6243977f4e75235ef81e5958c976323771 /target/mips/cpu.h | |
parent | 81491c2846b7a818eb069dbc5f688537e382fc83 (diff) | |
download | qemu-a7519f2b39be7e584c9f5a3100f3842d314a5eb6.zip qemu-a7519f2b39be7e584c9f5a3100f3842d314a5eb6.tar.gz qemu-a7519f2b39be7e584c9f5a3100f3842d314a5eb6.tar.bz2 |
mips: malta/boston: replace cpu_model with cpu_type
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1507211474-188400-37-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/mips/cpu.h')
-rw-r--r-- | target/mips/cpu.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/mips/cpu.h b/target/mips/cpu.h index 66265e4..7f8ba5f 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -740,8 +740,12 @@ enum { int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc); #define cpu_init(cpu_model) cpu_generic_init(TYPE_MIPS_CPU, cpu_model) -bool cpu_supports_cps_smp(const char *cpu_model); -bool cpu_supports_isa(const char *cpu_model, unsigned int isa); + +#define MIPS_CPU_TYPE_SUFFIX "-" TYPE_MIPS_CPU +#define MIPS_CPU_TYPE_NAME(model) model MIPS_CPU_TYPE_SUFFIX + +bool cpu_supports_cps_smp(const char *cpu_type); +bool cpu_supports_isa(const char *cpu_type, unsigned int isa); void cpu_set_exception_base(int vp_index, target_ulong address); /* mips_int.c */ |