TianoCore EDK2 master
Loading...
Searching...
No Matches
SmbiosProcessorArm.c File Reference
#include <Uefi.h>
#include <IndustryStandard/ArmCache.h>
#include <Library/ArmLib.h>
#include "SmbiosProcessor.h"

Go to the source code of this file.

Functions

UINT64 SmbiosProcessorGetCacheSize (IN UINT8 CacheLevel, IN BOOLEAN DataCache, IN BOOLEAN UnifiedCache)
 
UINT32 SmbiosProcessorGetCacheAssociativity (IN UINT8 CacheLevel, IN BOOLEAN DataCache, IN BOOLEAN UnifiedCache)
 

Detailed Description

Functions for ARM processor information

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

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

Definition in file SmbiosProcessorArm.c.

Function Documentation

◆ SmbiosProcessorGetCacheAssociativity()

UINT32 SmbiosProcessorGetCacheAssociativity ( IN UINT8  CacheLevel,
IN BOOLEAN  DataCache,
IN BOOLEAN  UnifiedCache 
)

Gets the associativity of the specified cache.

Parameters
CacheLevelThe cache level (L1, L2 etc.).
DataCacheWhether the cache is a dedicated data cache.
UnifiedCacheWhether the cache is a unified cache.
Returns
The cache associativity.

Definition at line 69 of file SmbiosProcessorArm.c.

◆ SmbiosProcessorGetCacheSize()

UINT64 SmbiosProcessorGetCacheSize ( IN UINT8  CacheLevel,
IN BOOLEAN  DataCache,
IN BOOLEAN  UnifiedCache 
)

Gets the size of the specified cache.

Parameters
CacheLevelThe cache level (L1, L2 etc.).
DataCacheWhether the cache is a dedicated data cache.
UnifiedCacheWhether the cache is a unified cache.
Returns
The cache size.

Definition at line 25 of file SmbiosProcessorArm.c.