28 IN BOOLEAN UnifiedCache
34 BOOLEAN CcidxSupported;
40 Csselr.
Bits.
InD = (!DataCache && !UnifiedCache);
48 CacheSize = (1 << (Ccsidr.BitsCcidxAA32.
LineSize + 4)) *
72 IN BOOLEAN UnifiedCache
77 BOOLEAN CcidxSupported;
83 Csselr.
Bits.
InD = (!DataCache && !UnifiedCache);
BOOLEAN EFIAPI ArmHasCcidx(VOID)
UINT32 ReadCCSIDR2(IN UINT32 CSSELR)
UINTN ReadCCSIDR(IN UINT32 CSSELR)
UINT64 SmbiosProcessorGetCacheSize(IN UINT8 CacheLevel, IN BOOLEAN DataCache, IN BOOLEAN UnifiedCache)
UINT32 SmbiosProcessorGetCacheAssociativity(IN UINT8 CacheLevel, IN BOOLEAN DataCache, IN BOOLEAN UnifiedCache)
Defines the structure of the AARCH32 CCSIDR2 register.
UINT32 Data
The entire 32-bit value.
struct CCSIDR2_DATA::@4 Bits
Bitfield definition of the register.
UINT32 NumSets
Number of sets in the cache - 1.
Defines the structure of the CCSIDR (Current Cache Size ID) register.
UINT64 Associativity
Associativity - 1.
struct CCSIDR_DATA::@1 BitsNonCcidx
Bitfield definition of the register when FEAT_CCIDX is not supported.
UINT64 Data
The entire 64-bit value.
UINT64 LineSize
Line size (Log2(Num bytes in cache) - 4)
UINT64 NumSets
Number of sets in the cache -1.
Defines the structure of the CSSELR (Cache Size Selection) register.
UINT32 Level
Cache level (zero based)
UINT32 Data
The entire 32-bit value.
UINT32 InD
Instruction not Data bit.
struct CSSELR_DATA::@0 Bits
Bitfield definition of the register.