LinuxBootNull.c 723 B

123456789101112131415161718192021222324252627282930313233343536
  1. /** @file
  2. Copyright (c) 2021, American Megatrends International LLC. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. **/
  5. #include <PiDxe.h>
  6. #include <Uefi.h>
  7. #include <Library/BaseLib.h>
  8. #include <Library/UefiBootServicesTableLib.h>
  9. /**
  10. * This is the main function for this feature. This will handle finding and launching
  11. * the Linux kernel.
  12. *
  13. * @note In general, this function will never return to BDS. The LINUXBOOT_ALLOW_RETURN_TO_BDS
  14. * token will allow you to return to BDS if the kernel fails to launch for some reason.
  15. *
  16. * @param None
  17. *
  18. * @retval None
  19. */
  20. EFI_STATUS
  21. LinuxBootStart (
  22. VOID
  23. )
  24. {
  25. return EFI_SUCCESS;
  26. }