1 #ifndef _IPXE_EFI_HII_H 2 #define _IPXE_EFI_HII_H 16 #define EFI_HII_IBM_UCM_COMPLIANT_FORMSET_GUID \ 17 { 0x5c8e9746, 0xa5f7, 0x4593, \ 18 { 0xaf, 0x1f, 0x66, 0xa8, 0x2a, 0xa1, 0x9c, 0xb1 } } 49 memset ( ifr, 0,
sizeof ( *ifr ) );
53 const char *
fmt, ... );
57 unsigned int title_id );
60 unsigned int title_id,
unsigned int help_id,
63 unsigned int varstore_info,
unsigned int varstore_type );
67 unsigned int subclass );
69 unsigned int prompt_id,
70 unsigned int help_id,
unsigned int question_id,
71 unsigned int varstore_id,
72 unsigned int varstore_info,
73 unsigned int vflags,
unsigned long min_value,
74 unsigned long max_value,
unsigned int step,
77 unsigned int prompt_id,
unsigned int help_id,
78 unsigned int question_id,
79 unsigned int varstore_id,
80 unsigned int varstore_info,
unsigned int vflags,
81 unsigned int min_size,
unsigned int max_size,
85 unsigned int prompt_id,
unsigned int help_id,
86 unsigned int text_id );
94 const char *language,
unsigned int language_id );
EFI_HII_PACKAGE_LIST_HEADER * efi_ifr_package(struct efi_ifr_builder *ifr, const EFI_GUID *guid, const char *language, unsigned int language_id)
Construct package list from IFR builder.
static void efi_ifr_init(struct efi_ifr_builder *ifr)
Initialise IFR builder.
void efi_ifr_form_set_op(struct efi_ifr_builder *ifr, const EFI_GUID *guid, unsigned int title_id, unsigned int help_id,...)
Add formset opcode to IFR builder.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
128 bit buffer containing a unique identifier value.
unsigned int efi_ifr_varstore_name_value_op(struct efi_ifr_builder *ifr, const EFI_GUID *guid)
Add name/value store opcode to IFR builder.
void efi_ifr_text_op(struct efi_ifr_builder *ifr, unsigned int prompt_id, unsigned int help_id, unsigned int text_id)
Add text opcode to IFR builder.
EFI_HII_STRING_BLOCK * strings
Strings.
void efi_ifr_string_op(struct efi_ifr_builder *ifr, unsigned int prompt_id, unsigned int help_id, unsigned int question_id, unsigned int varstore_id, unsigned int varstore_info, unsigned int vflags, unsigned int min_size, unsigned int max_size, unsigned int flags)
Add string opcode to IFR builder.
void efi_ifr_suppress_if_op(struct efi_ifr_builder *ifr)
Add suppress-if opcode to IFR builder.
void efi_ifr_end_op(struct efi_ifr_builder *ifr)
Add end opcode to IFR builder.
unsigned int varstore_id
Current variable store identifier.
unsigned int string_id
Current string identifier.
void efi_ifr_free(struct efi_ifr_builder *ifr)
Free memory used by IFR builder.
size_t strings_len
Length of strings.
size_t ops_len
Length of IFR opcodes.
void efi_ifr_true_op(struct efi_ifr_builder *ifr)
Add true opcode to IFR builder.
int failed
An allocation has failed.
EFI_IFR_OP_HEADER * ops
IFR opcodes.
EDKII extented HII IFR guid opcodes.
void efi_ifr_guid_subclass_op(struct efi_ifr_builder *ifr, unsigned int subclass)
Add GUID subclass opcode to IFR builder.
void efi_ifr_guid_class_op(struct efi_ifr_builder *ifr, unsigned int class)
Add GUID class opcode to IFR builder.
unsigned int efi_ifr_form_op(struct efi_ifr_builder *ifr, unsigned int title_id)
Add form opcode to IFR builder.
void efi_ifr_false_op(struct efi_ifr_builder *ifr)
Add false opcode to IFR builder.
void step(void)
Single-step a single process.
unsigned int form_id
Current form identifier.
int ssize_t const char * fmt
void efi_ifr_numeric_op(struct efi_ifr_builder *ifr, unsigned int prompt_id, unsigned int help_id, unsigned int question_id, unsigned int varstore_id, unsigned int varstore_info, unsigned int vflags, unsigned long min_value, unsigned long max_value, unsigned int step, unsigned int flags)
Add numeric opcode to IFR builder.
void efi_ifr_get_op(struct efi_ifr_builder *ifr, unsigned int varstore_id, unsigned int varstore_info, unsigned int varstore_type)
Add get opcode to IFR builder.
unsigned int efi_ifr_string(struct efi_ifr_builder *ifr, const char *fmt,...)
Add string to IFR builder.
void * memset(void *dest, int character, size_t len) __nonnull