Fix bug that home addresses for register parameters must be allocated for calling C function from X64 assembly code to follow x64 calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9303 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -55,5 +55,6 @@ ASM_PFX(_ModuleEntryPoint):
|
||||
movq %rsi, %rdx
|
||||
movq %rdi, %r8
|
||||
movq %rsp, %r9
|
||||
subq $0x20, %rsp
|
||||
call ASM_PFX(SecCoreStartupWithStack)
|
||||
|
||||
|
Reference in New Issue
Block a user