]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.h
OvmfPkg LoadLinuxLib: Use kernel's EFI entry point where available
[mirror_edk2.git] / OvmfPkg / Library / LoadLinuxLib / LoadLinuxLib.h
CommitLineData
3c0a051f 1/** @file\r
2 Boot UEFI Linux.\r
3\r
dd71f6e2 4 Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>\r
3c0a051f 5\r
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _LOAD_LINUX_LIB_INCLUDED_\r
17#define _LOAD_LINUX_LIB_INCLUDED_\r
18\r
19#include <Uefi.h>\r
20#include <Library/LoadLinuxLib.h>\r
21#include <Library/BaseLib.h>\r
22#include <Library/BaseMemoryLib.h>\r
23#include <Library/DebugLib.h>\r
24#include <Library/MemoryAllocationLib.h>\r
25#include <Library/UefiBootServicesTableLib.h>\r
26#include <Library/UefiRuntimeServicesTableLib.h>\r
27\r
28#include <IndustryStandard/LinuxBzimage.h>\r
29\r
30#include <Protocol/GraphicsOutput.h>\r
31\r
32VOID\r
33EFIAPI\r
34JumpToKernel (\r
35 VOID *KernelStart,\r
36 VOID *KernelBootParams\r
37 );\r
38\r
dd71f6e2 39VOID\r
40EFIAPI\r
41JumpToUefiKernel (\r
42 EFI_HANDLE ImageHandle,\r
43 EFI_SYSTEM_TABLE *SystemTable,\r
44 VOID *KernelBootParams,\r
45 VOID *KernelStart\r
46 );\r
47\r
3c0a051f 48VOID\r
49InitLinuxDescriptorTables (\r
50 VOID\r
51 );\r
52\r
53VOID\r
54SetLinuxDescriptorTables (\r
55 VOID\r
56 );\r
57\r
58#endif\r
59\r