TianoCore EDK2 master
Loading...
Searching...
No Matches
OpalHiiFormValues.h File Reference

Go to the source code of this file.

Data Structures

struct  OPAL_REQUEST
 
struct  OPAL_HII_CONFIGURATION
 

Macros

#define FORMID_VALUE_MAIN_MENU   0x01
 
#define FORMID_VALUE_DISK_INFO_FORM_MAIN   0x02
 
#define HII_ACTION_NONE   0x0000
 
#define HII_ACTION_LOCK   0x0001
 
#define HII_ACTION_UNLOCK   0x0002
 
#define HII_ACTION_SET_ADMIN_PWD   0x0004
 
#define HII_ACTION_SET_USER_PWD   0x0008
 
#define HII_ACTION_SECURE_ERASE   0x0010
 
#define HII_ACTION_REVERT   0x0020
 
#define HII_ACTION_PSID_REVERT   0x0040
 
#define HII_ACTION_DISABLE_USER   0x0080
 
#define HII_ACTION_DISABLE_FEATURE   0x0100
 
#define HII_ACTION_ENABLE_FEATURE   0x0200
 
#define HII_KEY_ID_BITS   8
 
#define HII_KEY_INDEX_BITS   7
 
#define HII_KEY_FLAG_BITS   1
 
#define HII_KEY_FLAG   0x8000
 
#define HII_KEY_ID_GOTO_DISK_INFO   1
 
#define HII_KEY_ID_VAR_SUPPORTED_DISKS   2
 
#define HII_KEY_ID_VAR_SELECTED_DISK_AVAILABLE_ACTIONS   3
 
#define HII_KEY_ID_BLOCKSID   4
 
#define HII_KEY_ID_SET_ADMIN_PWD   5
 
#define HII_KEY_ID_SET_USER_PWD   6
 
#define HII_KEY_ID_SECURE_ERASE   7
 
#define HII_KEY_ID_REVERT   8
 
#define HII_KEY_ID_KEEP_USER_DATA   9
 
#define HII_KEY_ID_PSID_REVERT   0xA
 
#define HII_KEY_ID_DISABLE_USER   0xB
 
#define HII_KEY_ID_ENABLE_FEATURE   0xC
 
#define HII_KEY_ID_MAX   0xC
 
#define HII_KEY_WITH_INDEX(id, index)
 
#define HII_KEY(id)   HII_KEY_WITH_INDEX(id, 0)
 
#define OPAL_MAIN_MENU_LABEL_START   0x6100
 
#define OPAL_MAIN_MENU_LABEL_END   0x6101
 
#define OPAL_DISK_INFO_LABEL_START   0x6200
 
#define OPAL_DISK_INFO_LABEL_END   0x6201
 
#define PACKAGE_LIST_GUID   { 0xf0308176, 0x9058, 0x4153, { 0x93, 0x3d, 0xda, 0x2f, 0xdc, 0xc8, 0x3e, 0x44 } }
 
#define SETUP_FORMSET_GUID   { 0x410483cf, 0xf4f9, 0x4ece, { 0x84, 0x8a, 0x19, 0x58, 0xfd, 0x31, 0xce, 0xb7 } }
 
#define SETUP_VARIABLE_GUID   { 0xbbf1acd2, 0x28d8, 0x44ea, { 0xa2, 0x91, 0x58, 0xa2, 0x37, 0xfe, 0xdf, 0x1a } }
 

Detailed Description

Defines Opal HII form ids, structures and values.

Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file OpalHiiFormValues.h.

Macro Definition Documentation

◆ FORMID_VALUE_DISK_INFO_FORM_MAIN

#define FORMID_VALUE_DISK_INFO_FORM_MAIN   0x02

Definition at line 14 of file OpalHiiFormValues.h.

◆ FORMID_VALUE_MAIN_MENU

#define FORMID_VALUE_MAIN_MENU   0x01

Definition at line 13 of file OpalHiiFormValues.h.

◆ HII_ACTION_DISABLE_FEATURE

#define HII_ACTION_DISABLE_FEATURE   0x0100

Definition at line 54 of file OpalHiiFormValues.h.

◆ HII_ACTION_DISABLE_USER

#define HII_ACTION_DISABLE_USER   0x0080

Definition at line 53 of file OpalHiiFormValues.h.

◆ HII_ACTION_ENABLE_FEATURE

#define HII_ACTION_ENABLE_FEATURE   0x0200

Definition at line 55 of file OpalHiiFormValues.h.

◆ HII_ACTION_LOCK

#define HII_ACTION_LOCK   0x0001

Definition at line 46 of file OpalHiiFormValues.h.

◆ HII_ACTION_NONE

#define HII_ACTION_NONE   0x0000

Definition at line 45 of file OpalHiiFormValues.h.

◆ HII_ACTION_PSID_REVERT

#define HII_ACTION_PSID_REVERT   0x0040

Definition at line 52 of file OpalHiiFormValues.h.

◆ HII_ACTION_REVERT

#define HII_ACTION_REVERT   0x0020

Definition at line 51 of file OpalHiiFormValues.h.

◆ HII_ACTION_SECURE_ERASE

#define HII_ACTION_SECURE_ERASE   0x0010

Definition at line 50 of file OpalHiiFormValues.h.

◆ HII_ACTION_SET_ADMIN_PWD

#define HII_ACTION_SET_ADMIN_PWD   0x0004

Definition at line 48 of file OpalHiiFormValues.h.

◆ HII_ACTION_SET_USER_PWD

#define HII_ACTION_SET_USER_PWD   0x0008

Definition at line 49 of file OpalHiiFormValues.h.

◆ HII_ACTION_UNLOCK

#define HII_ACTION_UNLOCK   0x0002

Definition at line 47 of file OpalHiiFormValues.h.

◆ HII_KEY

#define HII_KEY (   id)    HII_KEY_WITH_INDEX(id, 0)

Definition at line 97 of file OpalHiiFormValues.h.

◆ HII_KEY_FLAG

#define HII_KEY_FLAG   0x8000

Definition at line 67 of file OpalHiiFormValues.h.

◆ HII_KEY_FLAG_BITS

#define HII_KEY_FLAG_BITS   1

Definition at line 65 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_BITS

#define HII_KEY_ID_BITS   8

Definition at line 63 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_BLOCKSID

#define HII_KEY_ID_BLOCKSID   4

Definition at line 78 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_DISABLE_USER

#define HII_KEY_ID_DISABLE_USER   0xB

Definition at line 85 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_ENABLE_FEATURE

#define HII_KEY_ID_ENABLE_FEATURE   0xC

Definition at line 86 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_GOTO_DISK_INFO

#define HII_KEY_ID_GOTO_DISK_INFO   1

Definition at line 73 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_KEEP_USER_DATA

#define HII_KEY_ID_KEEP_USER_DATA   9

Definition at line 83 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_MAX

#define HII_KEY_ID_MAX   0xC

Definition at line 88 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_PSID_REVERT

#define HII_KEY_ID_PSID_REVERT   0xA

Definition at line 84 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_REVERT

#define HII_KEY_ID_REVERT   8

Definition at line 82 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_SECURE_ERASE

#define HII_KEY_ID_SECURE_ERASE   7

Definition at line 81 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_SET_ADMIN_PWD

#define HII_KEY_ID_SET_ADMIN_PWD   5

Definition at line 79 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_SET_USER_PWD

#define HII_KEY_ID_SET_USER_PWD   6

Definition at line 80 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_VAR_SELECTED_DISK_AVAILABLE_ACTIONS

#define HII_KEY_ID_VAR_SELECTED_DISK_AVAILABLE_ACTIONS   3

Definition at line 76 of file OpalHiiFormValues.h.

◆ HII_KEY_ID_VAR_SUPPORTED_DISKS

#define HII_KEY_ID_VAR_SUPPORTED_DISKS   2

Definition at line 75 of file OpalHiiFormValues.h.

◆ HII_KEY_INDEX_BITS

#define HII_KEY_INDEX_BITS   7

Definition at line 64 of file OpalHiiFormValues.h.

◆ HII_KEY_WITH_INDEX

#define HII_KEY_WITH_INDEX (   id,
  index 
)
Value:
( \
HII_KEY_FLAG | \
(id) | \
((index) << HII_KEY_ID_BITS) \
)

Definition at line 90 of file OpalHiiFormValues.h.

◆ OPAL_DISK_INFO_LABEL_END

#define OPAL_DISK_INFO_LABEL_END   0x6201

Definition at line 103 of file OpalHiiFormValues.h.

◆ OPAL_DISK_INFO_LABEL_START

#define OPAL_DISK_INFO_LABEL_START   0x6200

Definition at line 102 of file OpalHiiFormValues.h.

◆ OPAL_MAIN_MENU_LABEL_END

#define OPAL_MAIN_MENU_LABEL_END   0x6101

Definition at line 101 of file OpalHiiFormValues.h.

◆ OPAL_MAIN_MENU_LABEL_START

#define OPAL_MAIN_MENU_LABEL_START   0x6100

Definition at line 100 of file OpalHiiFormValues.h.

◆ PACKAGE_LIST_GUID

#define PACKAGE_LIST_GUID   { 0xf0308176, 0x9058, 0x4153, { 0x93, 0x3d, 0xda, 0x2f, 0xdc, 0xc8, 0x3e, 0x44 } }

Definition at line 105 of file OpalHiiFormValues.h.

◆ SETUP_FORMSET_GUID

#define SETUP_FORMSET_GUID   { 0x410483cf, 0xf4f9, 0x4ece, { 0x84, 0x8a, 0x19, 0x58, 0xfd, 0x31, 0xce, 0xb7 } }

Definition at line 108 of file OpalHiiFormValues.h.

◆ SETUP_VARIABLE_GUID

#define SETUP_VARIABLE_GUID   { 0xbbf1acd2, 0x28d8, 0x44ea, { 0xa2, 0x91, 0x58, 0xa2, 0x37, 0xfe, 0xdf, 0x1a } }

Definition at line 111 of file OpalHiiFormValues.h.