TianoCore EDK2 master
Loading...
Searching...
No Matches
SmbiosProcessorAArch64.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 AARCH64 processor information

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

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

Definition in file SmbiosProcessorAArch64.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 66 of file SmbiosProcessorAArch64.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 SmbiosProcessorAArch64.c.