aboutsummaryrefslogtreecommitdiffstats
path: root/Lessons_uncategorized/Lesson_Configuration_Language_5
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-09-23 17:47:15 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2022-09-23 17:47:15 +0300
commit7b373744d2d69c362a371533650c13fdb9f5cf82 (patch)
tree0434d97c445596c168bf53509cea2f2804439471 /Lessons_uncategorized/Lesson_Configuration_Language_5
parent08fcba0348b135260694b7f8b072d80e4fc6235d (diff)
downloadUEFI-Lessons-7b373744d2d69c362a371533650c13fdb9f5cf82.tar.gz
UEFI-Lessons-7b373744d2d69c362a371533650c13fdb9f5cf82.tar.bz2
UEFI-Lessons-7b373744d2d69c362a371533650c13fdb9f5cf82.zip
Add info that RouteConfig can bypass VFR checks
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Lessons_uncategorized/Lesson_Configuration_Language_5')
-rw-r--r--Lessons_uncategorized/Lesson_Configuration_Language_5/README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/Lessons_uncategorized/Lesson_Configuration_Language_5/README.md b/Lessons_uncategorized/Lesson_Configuration_Language_5/README.md
index 4e8943f..6165772 100644
--- a/Lessons_uncategorized/Lesson_Configuration_Language_5/README.md
+++ b/Lessons_uncategorized/Lesson_Configuration_Language_5/README.md
@@ -215,7 +215,18 @@ Variable NV+BS 'EF2ACC91-7B50-4AB9-AB67-2B04F8BC135E:CheckboxValue' DataSize = 0
```
-If you want to, you can issue route requests to our `HIIFormDataElements.efi` form storage, just remember two things:
+If you want to, you can issue route requests to our `HIIFormDataElements.efi` form storage, just remember these things:
- like with the `extract` case it is not mandatory for the OFFSET/WIDTH to be on element boundaries,
- don't forget to pay attention to the byte order in the `VALUE=` string and to the order of bytes in the actual form elemet. The order is reversed. So you will need to pass string element data backbards (i.e `VALUE=<o><l><l><e><H>`).
+- changing element via `RouteConfig()` call can bypass some VFR limitations. For example even if numeric element has `minimum` and `maximum` attributes set like this:
+```
+numeric
+ ...
+ minimum = 0,
+ maximum = 10,
+ ...
+endnumric
+```
+it would still possible to set a value outside of these limits.
+