efi_load_initrd.h 591 B

1234567891011121314151617181920212223242526
  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. extern const efi_guid_t efi_lf2_initrd_guid;
  17. struct efi_initrd_dp {
  18. struct efi_device_path_vendor vendor;
  19. struct efi_device_path end;
  20. } __packed;
  21. #endif