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
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
33typedef 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;
42
43typedef struct {
44 UINT8 UserPassword : 1;
45 UINT8 MasterPassword : 1;
46 UINT8 Reserved : 6;
48
49typedef struct _HDD_PASSWORD_CONFIG {
50 HDD_PASSWORD_SECURITY_STATUS SecurityStatus;
53
54#pragma pack()
55
56#endif