mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-02 13:03:28 +01:00
19 lines
437 B
ArmAsm
19 lines
437 B
ArmAsm
/*
|
|
Copyright (c) 2022 Ventana Micro Systems Inc.
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
*/
|
|
|
|
#include "SecMain.h"
|
|
|
|
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
|