• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2   Guid of a NV Variable which store the information about the
3   FD/HD/CD/NET/BEV order.
4 
5 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials are licensed and made available under
7 the terms and conditions of the BSD License that accompanies this distribution.
8 The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
10 
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 
14 **/
15 
16 #ifndef __LEGACY_DEV_ORDER_VARIABLE_GUID_H__
17 #define __LEGACY_DEV_ORDER_VARIABLE_GUID_H__
18 
19 ///
20 /// Name and Guid of a NV Variable which stores the information about the
21 /// FD/HD/CD/NET/BEV order
22 ///
23 #define EFI_LEGACY_DEV_ORDER_VARIABLE_GUID \
24   { \
25   0xa56074db, 0x65fe, 0x45f7, {0xbd, 0x21, 0x2d, 0x2b, 0xdd, 0x8e, 0x96, 0x52} \
26   }
27 
28 typedef UINT8 BBS_TYPE;
29 
30 #pragma pack(1)
31 typedef struct {
32   BBS_TYPE  BbsType;
33   ///
34   /// Length = sizeof (UINT16) + sizeof (Data)
35   ///
36   UINT16    Length;
37   UINT16    Data[1];
38 } LEGACY_DEV_ORDER_ENTRY;
39 #pragma pack()
40 
41 #define VAR_LEGACY_DEV_ORDER L"LegacyDevOrder"
42 
43 extern EFI_GUID gEfiLegacyDevOrderVariableGuid;
44 
45 #endif
46