#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\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
#------------------------------------------------------------------------------\r
\r
ASM_GLOBAL ASM_PFX(JumpToKernel)\r
+ASM_GLOBAL ASM_PFX(JumpToUefiKernel)\r
\r
#------------------------------------------------------------------------------\r
# VOID\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