2 HddPassword HII data structure used by the driver.
4 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions
8 of the BSD License which accompanies this distribution. The
9 full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #ifndef _HDD_PASSWORD_HII_DATASTRUC_H_
18 #define _HDD_PASSWORD_HII_DATASTRUC_H_
20 #include <Guid/HiiPlatformSetupFormset.h>
22 #define HDD_PASSWORD_CONFIG_GUID \
24 0x737cded7, 0x448b, 0x4801, { 0xb5, 0x7d, 0xb1, 0x94, 0x83, 0xec, 0x60, 0x6f } \
27 #define FORMID_HDD_MAIN_FORM 1
28 #define FORMID_HDD_DEVICE_FORM 2
30 #define HDD_DEVICE_ENTRY_LABEL 0x1234
31 #define HDD_DEVICE_LABEL_END 0xffff
33 #define KEY_HDD_DEVICE_ENTRY_BASE 0x1000
35 #define KEY_HDD_USER_PASSWORD 0x101
36 #define KEY_HDD_MASTER_PASSWORD 0x102
45 UINT8 UserPasswordStatus
:1;
46 UINT8 MasterPasswordStatus
:1;
48 } HDD_PASSWORD_SECURITY_STATUS
;
52 UINT8 MasterPassword
:1;
54 } HDD_PASSWORD_REQUEST
;
56 typedef struct _HDD_PASSWORD_CONFIG
{
57 HDD_PASSWORD_SECURITY_STATUS SecurityStatus
;
58 HDD_PASSWORD_REQUEST Request
;
59 } HDD_PASSWORD_CONFIG
;