qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typena


From: Richard Henderson
Subject: Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames
Date: Wed, 26 Jul 2023 16:08:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 7/25/23 17:32, Gavin Shan wrote:
-static const char *q800_machine_valid_cpu_types[] = {
+static const char * const q800_machine_valid_cpu_types[] = {
      M68K_CPU_TYPE_NAME("m68040"),
      NULL
  };
+static const char * const q800_machine_valid_cpu_models[] = {
+    "m68040",
+    NULL
+};

I really don't like this replication.

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]