LegacyDevOrder.h 930 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /** @file
  2. Guid of a NV Variable which store the information about the
  3. FD/HD/CD/NET/BEV order.
  4. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
  5. SPDX-License-Identifier: BSD-2-Clause-Patent
  6. **/
  7. #ifndef __LEGACY_DEV_ORDER_VARIABLE_GUID_H__
  8. #define __LEGACY_DEV_ORDER_VARIABLE_GUID_H__
  9. ///
  10. /// Name and Guid of a NV Variable which stores the information about the
  11. /// FD/HD/CD/NET/BEV order
  12. ///
  13. #define EFI_LEGACY_DEV_ORDER_VARIABLE_GUID \
  14. { \
  15. 0xa56074db, 0x65fe, 0x45f7, {0xbd, 0x21, 0x2d, 0x2b, 0xdd, 0x8e, 0x96, 0x52} \
  16. }
  17. typedef UINT8 BBS_TYPE;
  18. #pragma pack(1)
  19. typedef struct {
  20. BBS_TYPE BbsType;
  21. ///
  22. /// Length = sizeof (UINT16) + sizeof (Data)
  23. ///
  24. UINT16 Length;
  25. UINT16 Data[1];
  26. } LEGACY_DEV_ORDER_ENTRY;
  27. #pragma pack()
  28. #define VAR_LEGACY_DEV_ORDER L"LegacyDevOrder"
  29. extern EFI_GUID gEfiLegacyDevOrderVariableGuid;
  30. #endif