[edk2-devel] [PATCH v1] UefiCpuPkg/CpuCacheInfoLib: Correct logical for identifying cache type
Ni, Ray
ray.ni at intel.com
Fri Aug 13 08:51:06 UTC 2021
> + CacheData[CacheParamLeafIndex].DirectMappedCache = (UINT8)(!CacheParamEdx.Bits.ComplexCacheIndexing);
Instead of using "!", can you please use "CacheParamEdx.Bits.ComplexCacheIndexing == 0"? This is more readable.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79265): https://edk2.groups.io/g/devel/message/79265
Mute This Topic: https://groups.io/mt/84855450/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list