LoadLinuxLib.h 962 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /** @file
  2. Boot UEFI Linux.
  3. Copyright (c) 2008 - 2019 Intel Corporation. All rights reserved. <BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _LOAD_LINUX_LIB_INCLUDED_
  7. #define _LOAD_LINUX_LIB_INCLUDED_
  8. #include <Uefi.h>
  9. #include <Library/LoadLinuxLib.h>
  10. #include <Library/BaseLib.h>
  11. #include <Library/BaseMemoryLib.h>
  12. #include <Library/DebugLib.h>
  13. #include <Library/MemoryAllocationLib.h>
  14. #include <Library/UefiBootServicesTableLib.h>
  15. #include <Library/UefiRuntimeServicesTableLib.h>
  16. #include <IndustryStandard/LinuxBzImage.h>
  17. #include <Protocol/GraphicsOutput.h>
  18. VOID
  19. EFIAPI
  20. JumpToKernel (
  21. VOID *KernelStart,
  22. VOID *KernelBootParams
  23. );
  24. VOID
  25. EFIAPI
  26. JumpToUefiKernel (
  27. EFI_HANDLE ImageHandle,
  28. EFI_SYSTEM_TABLE *SystemTable,
  29. VOID *KernelBootParams,
  30. VOID *KernelStart
  31. );
  32. VOID
  33. InitLinuxDescriptorTables (
  34. VOID
  35. );
  36. VOID
  37. SetLinuxDescriptorTables (
  38. VOID
  39. );
  40. #endif