diff options
Diffstat (limited to 'OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S')
-rw-r--r-- | OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S b/OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S index 06d0a1f556..edc6e7bd70 100644 --- a/OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S +++ b/OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S @@ -13,7 +13,6 @@ #------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(JumpToKernel)
-ASM_GLOBAL ASM_PFX(JumpToUefiKernel)
#------------------------------------------------------------------------------
# VOID
@@ -68,24 +67,3 @@ ASM_PFX(JumpToKernel): ret
.code64
-#------------------------------------------------------------------------------
-# VOID
-# EFIAPI
-# JumpToUefiKernel (
-# EFI_HANDLE ImageHandle,
-# EFI_SYSTEM_TABLE *SystemTable,
-# VOID *KernelBootParams,
-# VOID *KernelStart
-# );
-#------------------------------------------------------------------------------
-ASM_PFX(JumpToUefiKernel):
- movq %rcx, %rdi
- movq %rdx, %rsi
- movq %r8, %rdx
- xor %rax, %rax
- movl 0x264(%r8), %eax
- addq %rax, %r9
- addq $0x200, %r9
- callq %r9
- ret
-
|