TianoCore EDK2
master
Loading...
Searching...
No Matches
HddPasswordHiiDataStruc.h
Go to the documentation of this file.
1
10
#ifndef _HDD_PASSWORD_HII_DATASTRUC_H_
11
#define _HDD_PASSWORD_HII_DATASTRUC_H_
12
13
#include <
Guid/HiiPlatformSetupFormset.h
>
14
15
#define HDD_PASSWORD_CONFIG_GUID \
16
{ \
17
0x737cded7, 0x448b, 0x4801, { 0xb5, 0x7d, 0xb1, 0x94, 0x83, 0xec, 0x60, 0x6f } \
18
}
19
20
#define FORMID_HDD_MAIN_FORM 1
21
#define FORMID_HDD_DEVICE_FORM 2
22
23
#define HDD_DEVICE_ENTRY_LABEL 0x1234
24
#define HDD_DEVICE_LABEL_END 0xffff
25
26
#define KEY_HDD_DEVICE_ENTRY_BASE 0x1000
27
28
#define KEY_HDD_USER_PASSWORD 0x101
29
#define KEY_HDD_MASTER_PASSWORD 0x102
30
31
#pragma pack(1)
32
33
typedef
struct
{
34
UINT8 Supported : 1;
35
UINT8 Enabled : 1;
36
UINT8 Locked : 1;
37
UINT8 Frozen : 1;
38
UINT8 UserPasswordStatus : 1;
39
UINT8 MasterPasswordStatus : 1;
40
UINT8 Reserved : 2;
41
}
HDD_PASSWORD_SECURITY_STATUS
;
42
43
typedef
struct
{
44
UINT8 UserPassword : 1;
45
UINT8 MasterPassword : 1;
46
UINT8 Reserved : 6;
47
}
HDD_PASSWORD_REQUEST
;
48
49
typedef
struct
_HDD_PASSWORD_CONFIG
{
50
HDD_PASSWORD_SECURITY_STATUS
SecurityStatus;
51
HDD_PASSWORD_REQUEST
Request;
52
}
HDD_PASSWORD_CONFIG
;
53
54
#pragma pack()
55
56
#endif
HiiPlatformSetupFormset.h
_HDD_PASSWORD_CONFIG
Definition:
HddPasswordHiiDataStruc.h:49
HDD_PASSWORD_REQUEST
Definition:
HddPasswordHiiDataStruc.h:43
HDD_PASSWORD_SECURITY_STATUS
Definition:
HddPasswordHiiDataStruc.h:33
SecurityPkg
HddPassword
HddPasswordHiiDataStruc.h
Generated on Fri Nov 15 2024 18:01:23 for TianoCore EDK2 by
1.9.6