]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/LoadLinuxLib/Ia32/JumpToKernel.asm
a8f3965f9a8a9ea7452ba98e250100aa2b689434
[mirror_edk2.git] / OvmfPkg / Library / LoadLinuxLib / Ia32 / JumpToKernel.asm
1 ;------------------------------------------------------------------------------
2 ;
3 ; Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
4 ;
5 ; This program and the accompanying materials
6 ; are licensed and made available under the terms and conditions of the BSD License
7 ; which accompanies this distribution. The full text of the license may be found at
8 ; http://opensource.org/licenses/bsd-license.php.
9 ;
10 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 ;
13 ;------------------------------------------------------------------------------
14
15 .586p
16 .model flat,C
17 .code
18
19 ;------------------------------------------------------------------------------
20 ; VOID
21 ; EFIAPI
22 ; JumpToKernel (
23 ; VOID *KernelStart,
24 ; VOID *KernelBootParams
25 ; );
26 ;------------------------------------------------------------------------------
27 JumpToKernel PROC
28
29 mov esi, [esp + 8]
30 call DWORD PTR [esp + 4]
31 ret
32
33 JumpToKernel ENDP
34
35 END