aboutsummaryrefslogtreecommitdiff
path: root/include/hw/qdev-core.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-06-30 19:51:11 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-31 18:28:33 +0100
commitc2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81 (patch)
treeed6c9979d5ac475c6f766b8f1607f882a2ad5db7 /include/hw/qdev-core.h
parenta635390f05f37e6e1d3ce2850a1d8564be0081ad (diff)
downloadqemu-c2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81.zip
qemu-c2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81.tar.gz
qemu-c2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81.tar.bz2
target/i386: Tidy cc_op_str usage
Make const. Use the read-only strings directly; do not copy them into an on-stack buffer with snprintf. Allow for holes in the cc_op_str array, now present with CC_OP_POPCNT. Fixes: 460231ad369 ("target/i386: give CC_OP_POPCNT low bits corresponding to MO_TL") Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Link: https://lore.kernel.org/r/20240701025115.1265117-2-richard.henderson@linaro.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions