/** @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 #include #include #include #include #include #include #include #include #include #include /** 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