summary refs log tree commit diff stats
path: root/hw/usb/dev-smartcard-reader.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2018-05-10 15:41:41 -0500
committerEduardo Habkost <ehabkost@redhat.com>2018-05-15 11:33:33 -0300
commit7e3482f824809e1f6ffeb5bb8103ba27a7d1a52a (patch)
tree5e2e05281d6b8f43458896ae6fe344fa8103b752 /hw/usb/dev-smartcard-reader.c
parent0da0fb062841d0dcd8ba47e4a989d2e952cdf0ff (diff)
downloadfocaccia-qemu-7e3482f824809e1f6ffeb5bb8103ba27a7d1a52a.tar.gz
focaccia-qemu-7e3482f824809e1f6ffeb5bb8103ba27a7d1a52a.zip
i386: Helpers to encode cache information consistently
Instead of having a collection of macros that need to be used in
complex expressions to build CPUID data, define a CPUCacheInfo
struct that can hold information about a given cache.  Helper
functions will take a CPUCacheInfo struct as input to encode
CPUID leaves for a cache.

This will help us ensure consistency between cache information
CPUID leaves, and make the existing inconsistencies in CPUID info
more visible.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Tested-by: Geoffrey McRae <geoff@hostfission.com>
Message-Id: <20180510204148.11687-2-babu.moger@amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/usb/dev-smartcard-reader.c')
0 files changed, 0 insertions, 0 deletions