aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2024-02-09 15:15:26 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2024-02-09 15:15:26 +0300
commitf06fa2232b871dde41da965eace6fb3702a8ddca (patch)
tree263c28090e0b1f138c90c3ab7259469e4131bccf
parent76aa7d295829a53409da3f0d76e373abb89a5eeb (diff)
downloadUEFI-Lessons-f06fa2232b871dde41da965eace6fb3702a8ddca.tar.gz
UEFI-Lessons-f06fa2232b871dde41da965eace6fb3702a8ddca.tar.bz2
UEFI-Lessons-f06fa2232b871dde41da965eace6fb3702a8ddca.zip
Add callback call graphHEADmaster
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
-rw-r--r--Lessons_uncategorized/Lesson_Varstore_5/README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/Lessons_uncategorized/Lesson_Varstore_5/README.md b/Lessons_uncategorized/Lesson_Varstore_5/README.md
index f3c9f23..5892635 100644
--- a/Lessons_uncategorized/Lesson_Varstore_5/README.md
+++ b/Lessons_uncategorized/Lesson_Varstore_5/README.md
@@ -444,3 +444,28 @@ Callback: Action=EFI_BROWSER_ACTION_FORM_CLOSE, QuestionId=0x0001, Type=EFI_IFR_
I hope all of these experiments have got you some understanding about when and how the `Callback()` function is executed.
+To finish this lesson here is a logic diagram for an individual numeric element with the current value of 8:
+```
+ Open form (even before the form is displayed)
+EFI_BROWSER_ACTION_FORM_OPEN (Value=0)
+EFI_BROWSER_ACTION_RETRIEVE (Value=8)
+ |
+ -------------------------------------------------
+ | |
+ Change value from 8 to 8 Close form
+EFI_BROWSER_ACTION_CHANGING (Value=8) EFI_BROWSER_ACTION_FORM_CLOSE (Value=8)
+ |
+ -------------------------------------------------
+ | |
+ Change value from 8 to 9 Close form
+EFI_BROWSER_ACTION_CHANGING (Value=9) EFI_BROWSER_ACTION_FORM_CLOSE (Value=8)
+EFI_BROWSER_ACTION_CHANGED (Value=9)
+ |
+ -------------------------------------------------------------------------------------------------
+ | | |
+ Submit Close form with sumbit Close form without submit
+EFI_BROWSER_ACTION_SUBMITTED (Value=9) EFI_BROWSER_ACTION_SUBMITTED (Value=9) EFI_BROWSER_ACTION_CHANGED (Value=8)
+ | EFI_BROWSER_ACTION_FORM_CLOSE (Value=9) EFI_BROWSER_ACTION_FORM_CLOSE (Value=8)
+ Close
+EFI_BROWSER_ACTION_FORM_CLOSE (Value=9)
+```