efi_load_initrd.h 546 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (c) 2020, Linaro Limited
  4. */
  5. #if !defined _EFI_LOAD_INITRD_H_
  6. #define _EFI_LOAD_INITRD_H_
  7. #include <efi.h>
  8. #include <efi_api.h>
  9. /*
  10. * Vendor GUID used by Linux to identify the handle with the
  11. * EFI_LOAD_FILE2_PROTOCOL and load an initial ramdisk.
  12. */
  13. #define EFI_INITRD_MEDIA_GUID \
  14. EFI_GUID(0x5568e427, 0x68fc, 0x4f3d, \
  15. 0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68)
  16. struct efi_initrd_dp {
  17. struct efi_device_path_vendor vendor;
  18. struct efi_device_path end;
  19. } __packed;
  20. #endif