Files
EDK2-fork/ArmPlatformPkg/Sec/Sec.h
Prachotan Bathi 6a329eb853 ArmPlatformPkg: Capture TransferList Information for SEC
Capture TransferList address from register x3
Refer to section 3 of the FW Handoff Specification
https://firmwarehandoff.github.io/firmware_handoff
The TransferList header is present at the base address
captured by this variable.
For platforms with no TransferList support,
boot continues without any errors.

Signed-off-by: Prachotan Bathi <prachotan.bathi@arm.com>
2025-07-24 05:59:45 +00:00

56 lines
1.1 KiB
C

/** @file
Generic SEC driver for ARM platforms
Copyright (c) 2011 - 2022, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef SEC_H_
#define SEC_H_
#include <PiPei.h>
#include <Library/ArmLib.h>
#include <Library/ArmPlatformLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/CacheMaintenanceLib.h>
#include <Library/DebugAgentLib.h>
#include <Library/DebugLib.h>
#include <Library/PrintLib.h>
#include <Library/SerialPortLib.h>
#include <Ppi/TemporaryRamSupport.h>
#include <Library/ArmTransferListLib.h>
/**
Helper function to switch to a different stack. Implemented in assembler as
this cannot be done from C code.
**/
VOID
SecSwitchStack (
INTN StackDelta
);
/**
Vector Table for the PEI Phase. This is executable code but not a callable
function. Implemented in assembler.
**/
VOID
PeiVectorTable (
VOID
);
/**
Minimal high level handling of exceptions occurring in PEI.
**/
VOID
PeiCommonExceptionEntry (
IN UINT32 Entry,
IN UINTN LR
);
#endif