blob: e919a3cb0e80b16f55466e06158fae7f7b09453b [file] [log] [blame]
/*
Copyright (c) 2022 Ventana Micro Systems Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
*/
#include "SecMain.h"
.text
.align 3
ASM_FUNC (_ModuleEntryPoint)
/* Use Temp memory as the stack for calling to C code */
li a4, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase)
li a5, FixedPcdGet32 (PcdOvmfSecPeiTempRamSize)
/* Use Temp memory as the stack for calling to C code */
add sp, a4, a5
call SecStartup