OvmfPkg/RiscVVirt: SecEntry: Remove unnecessary assembly directives
llvm fails to resolve _ModuleEntry when these extra directives are present. ASM_FUNC already takes care what is required. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Andrei Warkentin <andrei.warkentin@intel.com> Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Ard Biesheuvel <ardb@kernel.org> # Debian clang version 14.0.6
This commit is contained in:
@@ -7,9 +7,6 @@
|
|||||||
|
|
||||||
#include "SecMain.h"
|
#include "SecMain.h"
|
||||||
|
|
||||||
.text
|
|
||||||
.align 3
|
|
||||||
|
|
||||||
ASM_FUNC (_ModuleEntryPoint)
|
ASM_FUNC (_ModuleEntryPoint)
|
||||||
/* Use Temp memory as the stack for calling to C code */
|
/* Use Temp memory as the stack for calling to C code */
|
||||||
li a4, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase)
|
li a4, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase)
|
||||||
|
Reference in New Issue
Block a user