// Sample Setup formset.\r
//\r
// Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
+// (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
// SPDX-License-Identifier: BSD-2-Clause-Patent\r
//\r
//**/\r
option text = STRING_TOKEN(STR_ONE_OF_TEXT3), value = 3, flags = 0;\r
endoneof;\r
\r
+ //\r
+ // This is an HII option which has REST_STYLE flag and x-UEFI namespace\r
+ // UNI string associated. This HII option could be configured by either in-band\r
+ // edk2 setup browser or the remote management in out-of-band such as Redfish\r
+ // service. This HII option is configured through EFI_KEYWORD_HANDLER_PROTOCOL.\r
+ //\r
+ oneof varid = MyIfrNVData.QuestionXUefiKeywordRestStyle,\r
+ prompt = STRING_TOKEN(STR_ONE_OF_PROMPT_X_UEFI),\r
+ help = STRING_TOKEN(STR_ONE_OF_PROMPT_X_UEFI_HELP),\r
+ flags = RESET_REQUIRED | REST_STYLE,\r
+ option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 0, flags = 0;\r
+ option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 1, flags = DEFAULT;\r
+ option text = STRING_TOKEN(STR_ONE_OF_TEXT3), value = 3, flags = 0;\r
+ endoneof;\r
+\r
+\r
+ //\r
+ // This is a HII option which has REST_STYLE flag but without the x-UEFI namespace\r
+ // UNI string associated. This HII option could be configured by either\r
+ // setup browser or the remote management in out-of-band such as Redfish\r
+ // service. This HII option is configured through EFI HII Configuration Routing\r
+ // Protocol becasue it doesn't have x-UEFI namespace UNI string.\r
+ //\r
+ numeric varid = MyIfrNVData.QuestionNonXUefiKeywordRestStyle,\r
+ prompt = STRING_TOKEN(STR_ONE_OF_PROMPT_NON_X_UEFI),\r
+ help = STRING_TOKEN(STR_ONE_OF_PROMPT_NON_X_UEFI_HELP),\r
+ flags = RESET_REQUIRED | REST_STYLE,\r
+ minimum = 0,\r
+ maximum = 0xf0,\r
+ step = 0, // Stepping of 0 equates to a manual entering\r
+ // of a value, otherwise it will be adjusted by "+"/"-"\r
+ default = 0, // defaultstore could be used to specify the default type\r
+ // If no defaultstore is specified, it implies Standard Default\r
+ endnumeric;\r
+\r
//\r
// Define a string (EFI_IFR_STRING)\r
//\r