]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
4 | \r\r | |
5 | This program and the accompanying materials are licensed and made available under\r\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r\r | |
7 | The full text of the license may be found at \r\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r\r | |
9 | \r\r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r | |
12 | \r\r | |
13 | \r | |
14 | \r | |
15 | Module Name:\r | |
16 | \r | |
17 | FirmwareId.h\r | |
18 | \r | |
19 | --*/\r | |
20 | \r | |
21 | #ifndef _FirmwareId_h_GUID_included\r | |
22 | #define _FirmwareId_h_GUID_included\r | |
23 | \r | |
24 | \r | |
25 | #pragma pack(1)\r | |
26 | \r | |
27 | //\r | |
28 | // Firmware ID\r | |
29 | //\r | |
30 | \r | |
31 | #define FIRMWARE_ID_MAX_LENGTH 35\r | |
32 | \r | |
33 | typedef struct {\r | |
34 | CHAR8 BiosId[8];\r | |
35 | CHAR8 Separator1;\r | |
36 | CHAR8 OemId[3];\r | |
37 | CHAR8 Separator2;\r | |
38 | CHAR8 BuildId[4];\r | |
39 | CHAR8 Separator3;\r | |
40 | CHAR8 Century[2];\r | |
41 | CHAR8 Year[2];\r | |
42 | CHAR8 Separator4;\r | |
43 | CHAR8 Month[2];\r | |
44 | CHAR8 Date[2];\r | |
45 | CHAR8 Separator5;\r | |
46 | CHAR8 Hour[2];\r | |
47 | CHAR8 Minute[2];\r | |
48 | CHAR8 Dummy[3];\r | |
49 | } FIRMWARE_ID_DATA;\r | |
50 | \r | |
51 | #define OLD_FIRMWARE_ID_GUID \\r | |
52 | {0xefc071ae, 0x41b8, 0x4018, 0xaf, 0xa7, 0x31, 0x4b, 0x18, 0x5e, 0x57, 0x8b}\r | |
53 | \r | |
54 | #define FIRMWARE_ID_GUID \\r | |
55 | {0x5e559c23, 0x1faa, 0x4ae1, 0x8d, 0x4a, 0xc6, 0xcf, 0x02, 0x6c, 0x76, 0x6f}\r | |
56 | \r | |
57 | #define FIRMWARE_ID_NAME L"FirmwareId"\r | |
58 | #define FIRMWARE_ID_NAME_WITH_PASSWORD FIRMWARE_ID_NAME L"H#8,^-!t"\r | |
59 | \r | |
60 | extern EFI_GUID gFirmwareIdGuid;\r | |
61 | extern CHAR16 gFirmwareIdName[];\r | |
62 | \r | |
63 | #pragma pack()\r | |
64 | \r | |
65 | #endif\r | |
66 | \r |