Philippe Mathieu-Daudé 65c57115df cpu: Directly use get_memory_mapping() fallback handlers in place
No code uses CPUClass::get_memory_mapping() outside of hw/core/cpu.c:

  $ git grep -F -- '->get_memory_mapping'
  hw/core/cpu.c:87:    cc->get_memory_mapping(cpu, list, errp);
  hw/core/cpu.c:439:    k->get_memory_mapping = cpu_common_get_memory_mapping;
  target/i386/cpu.c:7422:    cc->get_memory_mapping = x86_cpu_get_memory_mapping;

Check the handler presence in place and remove the common fallback code.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210517105140.1062037-11-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-05-26 15:33:59 -07:00
..
2021-05-12 18:20:25 +02:00
2021-05-19 16:10:35 +01:00
2021-05-13 20:13:24 +01:00
2021-05-12 18:20:25 +02:00
2021-05-12 18:20:52 +02:00
2021-05-17 16:44:47 +01:00
2021-05-14 14:26:23 +01:00
2021-05-05 20:29:14 +01:00
2021-05-17 16:44:47 +01:00
2021-05-12 18:20:52 +02:00
2021-05-16 17:22:46 +01:00
2021-05-19 10:30:28 +10:00
2021-05-11 20:02:07 +10:00
2021-05-12 18:20:25 +02:00
2021-05-10 12:34:05 +01:00
2021-05-10 12:34:05 +01:00
2021-05-05 13:52:00 +01:00
2021-05-12 18:20:25 +02:00
2020-08-21 06:30:33 -04:00