TianoCore EDK2 master
Loading...
Searching...
No Matches
AArch64Lib.c File Reference
#include <Base.h>
#include <Library/ArmLib.h>
#include <Library/DebugLib.h>
#include <AArch64/AArch64.h>
#include "AArch64Lib.h"
#include "ArmLibPrivate.h"

Go to the source code of this file.

Functions

BOOLEAN EFIAPI ArmHasGicSystemRegisters (VOID)
 
BOOLEAN EFIAPI ArmHasCcidx (VOID)
 
BOOLEAN EFIAPI ArmHasVhe (VOID)
 
BOOLEAN EFIAPI ArmHasTrbe (VOID)
 
BOOLEAN EFIAPI ArmHasEte (VOID)
 

Detailed Description

Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Portions copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.
Copyright (c) 2021, NUVIA Inc. All rights reserved.

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

Definition in file AArch64Lib.c.

Function Documentation

◆ ArmHasCcidx()

BOOLEAN EFIAPI ArmHasCcidx ( VOID  )

Checks if CCIDX is implemented.

Return values
TRUECCIDX is implemented.
FALSECCIDX is not implemented.

Definition at line 43 of file AArch64Lib.c.

◆ ArmHasEte()

BOOLEAN EFIAPI ArmHasEte ( VOID  )

Checks whether the CPU implements the Embedded Trace Extension.

Return values
TRUEFEAT_ETE is implemented.
FALSEFEAT_ETE is not mplemented.

Definition at line 91 of file AArch64Lib.c.

◆ ArmHasGicSystemRegisters()

BOOLEAN EFIAPI ArmHasGicSystemRegisters ( VOID  )

Check whether the CPU supports the GIC system register interface (any version)

Returns
Whether GIC System Register Interface is supported

Definition at line 29 of file AArch64Lib.c.

◆ ArmHasTrbe()

BOOLEAN EFIAPI ArmHasTrbe ( VOID  )

Checks whether the CPU implements the Trace Buffer Extension.

Return values
TRUEFEAT_TRBE is implemented.
FALSEFEAT_TRBE is not mplemented.

Definition at line 76 of file AArch64Lib.c.

◆ ArmHasVhe()

BOOLEAN EFIAPI ArmHasVhe ( VOID  )

Checks whether the CPU implements the Virtualization Host Extensions.

Return values
TRUEFEAT_VHE is implemented.
FALSEFEAT_VHE is not mplemented.

Definition at line 61 of file AArch64Lib.c.