ArmPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ArmCache.h File Reference

Data Structures

union  CSSELR_DATA
 Defines the structure of the CSSELR (Cache Size Selection) register. More...
 
union  CCSIDR_DATA
 Defines the structure of the CCSIDR (Current Cache Size ID) register. More...
 
union  CCSIDR2_DATA
 Defines the structure of the AARCH32 CCSIDR2 register. More...
 
union  CLIDR_DATA
 

Macros

#define MAX_ARM_CACHE_LEVEL   7
 
#define CLIDR_GET_CACHE_TYPE(x, level)   ((x >> (3 * (level))) & 0b111)
 

Enumerations

enum  CSSELR_CACHE_TYPE { CsselrCacheTypeDataOrUnified = 0, CsselrCacheTypeInstruction, CsselrCacheTypeMax }
 The cache type values for the InD field of the CSSELR register. More...
 
enum  CLIDR_CACHE_TYPE {
  ClidrCacheTypeNone = 0, ClidrCacheTypeInstructionOnly, ClidrCacheTypeDataOnly, ClidrCacheTypeSeparate,
  ClidrCacheTypeUnified, ClidrCacheTypeMax
}
 The cache types reported in the CLIDR register. More...
 

Detailed Description

Copyright (c) 2020 - 2021, NUVIA Inc. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Macro Definition Documentation

#define CLIDR_GET_CACHE_TYPE (   x,
  level 
)    ((x >> (3 * (level))) & 0b111)
#define MAX_ARM_CACHE_LEVEL   7

Enumeration Type Documentation

The cache types reported in the CLIDR register.

Enumerator
ClidrCacheTypeNone 

No cache is present.

ClidrCacheTypeInstructionOnly 

There is only an instruction cache.

ClidrCacheTypeDataOnly 

There is only a data cache.

ClidrCacheTypeSeparate 

There are separate data and instruction caches.

ClidrCacheTypeUnified 

There is a unified cache.

ClidrCacheTypeMax 

The cache type values for the InD field of the CSSELR register.

Enumerator
CsselrCacheTypeDataOrUnified 

Select the data or unified cache.

CsselrCacheTypeInstruction 

Select the instruction cache.

CsselrCacheTypeMax