TianoCore EDK2 master
|
#include "Sec.h"
Go to the source code of this file.
Functions | |
STATIC EFI_STATUS EFIAPI | SecTemporaryRamSupport (IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase, IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase, IN UINTN CopySize) |
STATIC VOID | CreatePpiList (OUT UINTN *PpiListSize, OUT EFI_PEI_PPI_DESCRIPTOR **PpiList) |
STATIC VOID | PrintFirmwareVersion (VOID) |
STATIC VOID EFIAPI | SecMain (IN EFI_PEI_CORE_ENTRY_POINT PeiCoreEntryPoint) |
VOID | CEntryPoint (IN EFI_PEI_CORE_ENTRY_POINT PeiCoreEntryPoint) |
Variables | |
STATIC CONST EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI | mTemporaryRamSupportPpi |
STATIC CONST EFI_PEI_PPI_DESCRIPTOR | gCommonPpiTable [] |
Generic SEC driver for ARM platforms
Copyright (c) 2011 - 2022, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Sec.c.
VOID CEntryPoint | ( | IN EFI_PEI_CORE_ENTRY_POINT | PeiCoreEntryPoint | ) |
STATIC VOID CreatePpiList | ( | OUT UINTN * | PpiListSize, |
OUT EFI_PEI_PPI_DESCRIPTOR ** | PpiList | ||
) |
STATIC VOID PrintFirmwareVersion | ( | VOID | ) |
STATIC VOID EFIAPI SecMain | ( | IN EFI_PEI_CORE_ENTRY_POINT | PeiCoreEntryPoint | ) |
STATIC EFI_STATUS EFIAPI SecTemporaryRamSupport | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices, |
IN EFI_PHYSICAL_ADDRESS | TemporaryMemoryBase, | ||
IN EFI_PHYSICAL_ADDRESS | PermanentMemoryBase, | ||
IN UINTN | CopySize | ||
) |
This service of the EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI that migrates temporary RAM into permanent memory.
PeiServices | Pointer to the PEI Services Table. |
TemporaryMemoryBase | Source Address in temporary memory from which the SEC or PEIM will copy the Temporary RAM contents. |
PermanentMemoryBase | Destination Address in permanent memory into which the SEC or PEIM will copy the Temporary RAM contents. |
CopySize | Amount of memory to migrate from temporary to permanent memory. |
EFI_SUCCESS | The data was successfully returned. |
EFI_INVALID_PARAMETER | PermanentMemoryBase + CopySize > TemporaryMemoryBase when TemporaryMemoryBase > PermanentMemoryBase. |
STATIC CONST EFI_PEI_PPI_DESCRIPTOR gCommonPpiTable[] |
STATIC CONST EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI mTemporaryRamSupportPpi |