summary refs log tree commit diff stats
path: root/hw/misc/macio/gpio.c
diff options
context:
space:
mode:
authorEwanHai <ewanhai-oc@zhaoxin.com>2025-01-13 02:44:10 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-26 09:54:57 +0100
commit5d20aa540b6991c0dbeef933d2055e5372f52e0e (patch)
treed36f4c4b6f058e774de5015bff86c27f6fe1786c /hw/misc/macio/gpio.c
parentaeb7969cba971472aba7a3bf1e0df1bcc1b6f44c (diff)
downloadfocaccia-qemu-5d20aa540b6991c0dbeef933d2055e5372f52e0e.tar.gz
focaccia-qemu-5d20aa540b6991c0dbeef933d2055e5372f52e0e.zip
target/i386: Add support for Zhaoxin CPU vendor identification
Zhaoxin currently uses two vendors: "Shanghai" and "Centaurhauls".
It is important to note that the latter now belongs to Zhaoxin. Therefore,
this patch replaces CPUID_VENDOR_VIA with CPUID_VENDOR_ZHAOXIN1.

The previous CPUID_VENDOR_VIA macro was only defined but never used in
QEMU, making this change straightforward.

Additionally, the IS_ZHAOXIN_CPU macro has been added to simplify the
checks for Zhaoxin CPUs.

Signed-off-by: EwanHai <ewanhai-oc@zhaoxin.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250113074413.297793-2-ewanhai-oc@zhaoxin.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/macio/gpio.c')
0 files changed, 0 insertions, 0 deletions