mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
ArmPkg: add ArmCpuInfo EFI application
App goes through ID_AA64*_EL1 system registers and decode their values. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
This commit is contained in:
parent
a7c8969d03
commit
2c2cb23528
2430
ArmPkg/Application/ArmCpuInfo/ArmCpuInfo.c
Normal file
2430
ArmPkg/Application/ArmCpuInfo/ArmCpuInfo.c
Normal file
File diff suppressed because it is too large
Load Diff
31
ArmPkg/Application/ArmCpuInfo/ArmCpuInfo.inf
Normal file
31
ArmPkg/Application/ArmCpuInfo/ArmCpuInfo.inf
Normal file
@ -0,0 +1,31 @@
|
||||
## @file
|
||||
# Application to present AArch64 cpu information.
|
||||
#
|
||||
# Based on HelloWorld:
|
||||
# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2023, Linaro Ltd. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010019
|
||||
BASE_NAME = ArmCpuInfo
|
||||
FILE_GUID = b3134491-6502-4faf-a9da-007184e32163
|
||||
MODULE_TYPE = UEFI_APPLICATION
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = UefiMain
|
||||
|
||||
[Sources]
|
||||
ArmCpuInfo.c
|
||||
|
||||
[Packages]
|
||||
ArmPkg/ArmPkg.dec
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
ArmLib
|
||||
UefiApplicationEntryPoint
|
||||
UefiLib
|
@ -166,6 +166,7 @@
|
||||
ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf
|
||||
ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf
|
||||
ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf
|
||||
ArmPkg/Application/ArmCpuInfo/ArmCpuInfo.inf
|
||||
|
||||
[Components.AARCH64, Components.ARM]
|
||||
ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
|
||||
|
Loading…
x
Reference in New Issue
Block a user