|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v3 01/32] cpu: Add helper cpu_model_from_type() |
Date: | Thu, 7 Sep 2023 10:54:30 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
On 7/9/23 02:35, Gavin Shan wrote:
Add helper cpu_model_from_type() to extract the CPU model name from the CPU type name in two circumstances: (1) The CPU type name is the combination of the CPU model name and suffix. (2) The CPU type name is same to the CPU model name. The helper will be used in the subsequent patches to conver the
"patches to conver" -> "commits to convert"
CPU type name to the CPU model name. Suggested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Gavin Shan <gshan@redhat.com> --- cpu.c | 16 ++++++++++++++++ include/hw/core/cpu.h | 12 ++++++++++++ 2 files changed, 28 insertions(+)
[Prev in Thread] | Current Thread | [Next in Thread] |