diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2018-05-10 15:41:41 -0500 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-05-15 11:33:33 -0300 |
commit | 7e3482f824809e1f6ffeb5bb8103ba27a7d1a52a (patch) | |
tree | 5e2e05281d6b8f43458896ae6fe344fa8103b752 /crypto/hash-glib.c | |
parent | 0da0fb062841d0dcd8ba47e4a989d2e952cdf0ff (diff) |
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 'crypto/hash-glib.c')
0 files changed, 0 insertions, 0 deletions