-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
-#\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php.\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-ASM_GLOBAL ASM_PFX(JumpToKernel)\r
-ASM_GLOBAL ASM_PFX(JumpToUefiKernel)\r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# JumpToKernel (\r
-# VOID *KernelStart,\r
-# VOID *KernelBootParams\r
-# );\r
-#------------------------------------------------------------------------------\r
-ASM_PFX(JumpToKernel):\r
- movl 0x8(%esp), %esi\r
- calll 0x4(%esp)\r
- ret\r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# JumpToUefiKernel (\r
-# EFI_HANDLE ImageHandle,\r
-# EFI_SYSTEM_TABLE *SystemTable,\r
-# VOID *KernelBootParams,\r
-# VOID *KernelStart\r
-# );\r
-#------------------------------------------------------------------------------\r
-ASM_PFX(JumpToUefiKernel):\r
- movl 0xc(%esp), %eax\r
- movl 0x264(%eax), %eax\r
- addl 0x10(%esp), %eax\r
- jmp %eax\r
-\r