TianoCore EDK2 master
|
#include <Library/ArmMmuLib.h>
#include <Library/ArmSmcLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/OpteeLib.h>
#include <IndustryStandard/ArmStdSmc.h>
#include <OpteeSmc.h>
#include <Uefi.h>
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | IsOpteePresent (VOID) |
STATIC EFI_STATUS | OpteeSharedMemoryRemap (VOID) |
EFI_STATUS EFIAPI | OpteeInit (VOID) |
STATIC BOOLEAN | IsOpteeSmcReturnRpc (UINT32 Return) |
STATIC UINT32 | OpteeCallWithArg (IN UINT64 PhysicalArg) |
STATIC VOID | EfiGuidToRfc4122Uuid (OUT RFC4122_UUID *Rfc4122Uuid, IN EFI_GUID *Guid) |
EFI_STATUS EFIAPI | OpteeOpenSession (IN OUT OPTEE_OPEN_SESSION_ARG *OpenSessionArg) |
EFI_STATUS EFIAPI | OpteeCloseSession (IN UINT32 Session) |
STATIC EFI_STATUS | OpteeToMessageParam (OUT OPTEE_MESSAGE_PARAM *MessageParams, IN UINT32 NumParams, IN OPTEE_MESSAGE_PARAM *InParams) |
STATIC EFI_STATUS | OpteeFromMessageParam (OUT OPTEE_MESSAGE_PARAM *OutParams, IN UINT32 NumParams, IN OPTEE_MESSAGE_PARAM *MessageParams) |
EFI_STATUS EFIAPI | OpteeInvokeFunction (IN OUT OPTEE_INVOKE_FUNCTION_ARG *InvokeFunctionArg) |
Variables | |
STATIC OPTEE_SHARED_MEMORY_INFORMATION | OpteeSharedMemoryInformation = { 0 } |
Api's to communicate with OP-TEE OS (Trusted OS based on ARM TrustZone) via secure monitor calls.
Copyright (c) 2018, Linaro Ltd. All rights reserved.
Copyright (c) 2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Optee.c.
STATIC VOID EfiGuidToRfc4122Uuid | ( | OUT RFC4122_UUID * | Rfc4122Uuid, |
IN EFI_GUID * | Guid | ||
) |
BOOLEAN EFIAPI IsOpteePresent | ( | VOID | ) |
EFI_STATUS EFIAPI OpteeCloseSession | ( | IN UINT32 | Session | ) |
STATIC EFI_STATUS OpteeFromMessageParam | ( | OUT OPTEE_MESSAGE_PARAM * | OutParams, |
IN UINT32 | NumParams, | ||
IN OPTEE_MESSAGE_PARAM * | MessageParams | ||
) |
EFI_STATUS EFIAPI OpteeInit | ( | VOID | ) |
EFI_STATUS EFIAPI OpteeInvokeFunction | ( | IN OUT OPTEE_INVOKE_FUNCTION_ARG * | InvokeFunctionArg | ) |
EFI_STATUS EFIAPI OpteeOpenSession | ( | IN OUT OPTEE_OPEN_SESSION_ARG * | OpenSessionArg | ) |
STATIC EFI_STATUS OpteeSharedMemoryRemap | ( | VOID | ) |
STATIC EFI_STATUS OpteeToMessageParam | ( | OUT OPTEE_MESSAGE_PARAM * | MessageParams, |
IN UINT32 | NumParams, | ||
IN OPTEE_MESSAGE_PARAM * | InParams | ||
) |
STATIC OPTEE_SHARED_MEMORY_INFORMATION OpteeSharedMemoryInformation = { 0 } |