TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
UINT8 | SmbiosProcessorGetMaxCacheLevel (VOID) |
BOOLEAN | SmbiosProcessorHasSeparateCaches (UINT8 CacheLevel) |
UINT64 | SmbiosProcessorGetCacheSize (IN UINT8 CacheLevel, IN BOOLEAN DataCache, IN BOOLEAN UnifiedCache) |
UINT32 | SmbiosProcessorGetCacheAssociativity (IN UINT8 CacheLevel, IN BOOLEAN DataCache, IN BOOLEAN UnifiedCache) |
UINT64 | SmbiosGetProcessorId (VOID) |
UINTN | SmbiosGetExternalClockFrequency (VOID) |
UINT8 | SmbiosGetProcessorFamily (VOID) |
UINT16 | SmbiosGetProcessorFamily2 (VOID) |
PROCESSOR_CHARACTERISTIC_FLAGS | SmbiosGetProcessorCharacteristics (VOID) |
SMBIOS Processor Related Functions.
Copyright (c) 2021, NUVIA Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmbiosProcessor.h.
UINTN SmbiosGetExternalClockFrequency | ( | VOID | ) |
Returns the external clock frequency.
Returns the external clock frequency.
Definition at line 180 of file SmbiosProcessorArmCommon.c.
PROCESSOR_CHARACTERISTIC_FLAGS SmbiosGetProcessorCharacteristics | ( | VOID | ) |
Returns the SMBIOS Processor Characteristics.
Definition at line 231 of file SmbiosProcessorArmCommon.c.
UINT8 SmbiosGetProcessorFamily | ( | VOID | ) |
Returns the SMBIOS ProcessorFamily field value.
Definition at line 192 of file SmbiosProcessorArmCommon.c.
UINT16 SmbiosGetProcessorFamily2 | ( | VOID | ) |
Returns the ProcessorFamily2 field value.
Definition at line 204 of file SmbiosProcessorArmCommon.c.
UINT64 SmbiosGetProcessorId | ( | VOID | ) |
Returns a value for the Processor ID field that conforms to SMBIOS requirements.
Definition at line 157 of file SmbiosProcessorArmCommon.c.
UINT32 SmbiosProcessorGetCacheAssociativity | ( | IN UINT8 | CacheLevel, |
IN BOOLEAN | DataCache, | ||
IN BOOLEAN | UnifiedCache | ||
) |
Gets the associativity of the specified cache.
CacheLevel | The cache level (L1, L2 etc.). |
DataCache | Whether the cache is a dedicated data cache. |
UnifiedCache | Whether the cache is a unified cache. |
Definition at line 66 of file SmbiosProcessorAArch64.c.
UINT64 SmbiosProcessorGetCacheSize | ( | IN UINT8 | CacheLevel, |
IN BOOLEAN | DataCache, | ||
IN BOOLEAN | UnifiedCache | ||
) |
Gets the size of the specified cache.
CacheLevel | The cache level (L1, L2 etc.). |
DataCache | Whether the cache is a dedicated data cache. |
UnifiedCache | Whether the cache is a unified cache. |
Definition at line 25 of file SmbiosProcessorAArch64.c.
UINT8 SmbiosProcessorGetMaxCacheLevel | ( | VOID | ) |
Returns the maximum cache level implemented by the current CPU.
Definition at line 26 of file SmbiosProcessorArmCommon.c.
BOOLEAN SmbiosProcessorHasSeparateCaches | ( | UINT8 | CacheLevel | ) |
Returns whether or not the specified cache level has separate I/D caches.
CacheLevel | The cache level (L1, L2 etc.). |
Definition at line 61 of file SmbiosProcessorArmCommon.c.