]>
Commit | Line | Data |
---|---|---|
112dcbd9 HW |
1 | /** @file\r |
2 | Define the LockBox GUID for list of storage devices need to be initialized in\r | |
3 | S3.\r | |
4 | \r | |
5 | Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r | |
6 | \r | |
9d510e61 | 7 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
112dcbd9 HW |
8 | \r |
9 | **/\r | |
10 | \r | |
11 | #ifndef __S3_STORAGE_DEVICE_INIT_LIST_H__\r | |
12 | #define __S3_STORAGE_DEVICE_INIT_LIST_H__\r | |
13 | \r | |
14 | #define S3_STORAGE_DEVICE_INIT_LIST \\r | |
15 | { \\r | |
16 | 0x310e9b8c, 0xcf90, 0x421e, { 0x8e, 0x9b, 0x9e, 0xef, 0xb6, 0x17, 0xc8, 0xef } \\r | |
17 | }\r | |
18 | \r | |
19 | //\r | |
20 | // The LockBox will store a DevicePath structure that contains one or more\r | |
21 | // DevicePath instances. Each instance denotes a storage device that needs to\r | |
22 | // get initialized during the S3 resume.\r | |
23 | //\r | |
24 | // For example, if there is only one storage device stored in the list, the\r | |
25 | // content of this LockBox will be:\r | |
26 | //\r | |
27 | // +-------------------------------------------------------+\r | |
28 | // | DevPath Instance #1 |\r | |
29 | // | (Terminated by an End of Hardware Device Path node |\r | |
30 | // | with an End Entire Device Path sub-type) |\r | |
31 | // +-------------------------------------------------------+\r | |
32 | //\r | |
33 | // If there are n (n > 1) storage devices in the list, the content of this\r | |
34 | // LockBox will be:\r | |
35 | //\r | |
36 | // +-------------------------------------------------------+\r | |
37 | // | DevPath Instance #1 |\r | |
38 | // | (Terminated by an End of Hardware Device Path node |\r | |
39 | // | with an End This Instance of a Device Path sub-type) |\r | |
40 | // +-------------------------------------------------------+\r | |
41 | // | DevPath Instance #2 |\r | |
42 | // | (Terminated by an End of Hardware Device Path node |\r | |
43 | // | with an End This Instance of a Device Path sub-type) |\r | |
44 | // +-------------------------------------------------------+\r | |
45 | // | ... |\r | |
46 | // +-------------------------------------------------------+\r | |
47 | // | DevPath Instance #n |\r | |
48 | // | (Terminated by an End of Hardware Device Path node |\r | |
49 | // | with an End Entire Device Path sub-type) |\r | |
50 | // +-------------------------------------------------------+\r | |
51 | //\r | |
52 | // The attribute of the LockBox should be set to\r | |
53 | // 'LOCK_BOX_ATTRIBUTE_RESTORE_IN_S3_ONLY'.\r | |
54 | //\r | |
55 | extern EFI_GUID gS3StorageDeviceInitListGuid;\r | |
56 | \r | |
57 | #endif // __S3_STORAGE_DEVICE_INIT_LIST_H__\r |