From fa475827c119bad8a4bda093c102721fcf548cf9 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Thu, 24 Feb 2022 17:01:26 +0300 Subject: Temporary rename draft for HII checkbox lesson Signed-off-by: Konstantin Aladyshev --- .../UefiLessonsPkg/HIIFormCheckbox/Form.vfr | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Lessons/Lesson_Checkbox/UefiLessonsPkg/HIIFormCheckbox/Form.vfr (limited to 'Lessons/Lesson_Checkbox/UefiLessonsPkg/HIIFormCheckbox/Form.vfr') diff --git a/Lessons/Lesson_Checkbox/UefiLessonsPkg/HIIFormCheckbox/Form.vfr b/Lessons/Lesson_Checkbox/UefiLessonsPkg/HIIFormCheckbox/Form.vfr new file mode 100644 index 0000000..780790e --- /dev/null +++ b/Lessons/Lesson_Checkbox/UefiLessonsPkg/HIIFormCheckbox/Form.vfr @@ -0,0 +1,25 @@ +#include + +#define FORMSET_GUID {0xef2acc91, 0x7b50, 0x4ab9, {0xab, 0x67, 0x2b, 0x4, 0xf8, 0xbc, 0x13, 0x5e}} + +formset + guid = FORMSET_GUID, + title = STRING_TOKEN(FORMSET_TITLE), + help = STRING_TOKEN(FORMSET_HELP), + + efivarstore UINT8, + attribute = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, + name = HIIFormCheckboxEfiVarstore, + guid = FORMSET_GUID; + + form + formid = 1, + title = STRING_TOKEN(FORMID1_TITLE); + + checkbox + varid = HIIFormCheckboxEfiVarstore, + prompt = STRING_TOKEN(CHECKBOX_PROMPT), + help = STRING_TOKEN(CHECKBOX_HELP), + endcheckbox; + endform; +endformset; -- cgit v1.2.3-18-g5258