aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-07-26 15:18:12 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2022-07-26 15:18:12 +0300
commitf984cbe2b41d2c771abcf923ebad3880c24ac292 (patch)
treee0d3737e54347fd79e89eb69838ecf3f2250afbd
parent98abf4cf239ba133979bfd4a929ed16c6021ef92 (diff)
downloadUEFI-Lessons-f984cbe2b41d2c771abcf923ebad3880c24ac292.tar.gz
UEFI-Lessons-f984cbe2b41d2c771abcf923ebad3880c24ac292.tar.bz2
UEFI-Lessons-f984cbe2b41d2c771abcf923ebad3880c24ac292.zip
Update binary modules lesson
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
-rw-r--r--Lessons_uncategorized/Lesson_FDF_FV_8/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/Lessons_uncategorized/Lesson_FDF_FV_8/README.md b/Lessons_uncategorized/Lesson_FDF_FV_8/README.md
index 756fc7c..2035938 100644
--- a/Lessons_uncategorized/Lesson_FDF_FV_8/README.md
+++ b/Lessons_uncategorized/Lesson_FDF_FV_8/README.md
@@ -430,3 +430,22 @@ File Type: 0x01 EFI_FV_FILETYPE_RAW
There are a total of 1 files in this FV
```
+# Override for binary modules
+
+In case you use override for a binary module:
+```
+INF RuleOverride=MyOverride UefiLessonsPkg/BinaryModule/BinaryModule.inf
+```
+You only need to provide one rule that matches override name, without the `BINARY` clause:
+```
+[Rule.Common.USER_APPLICATION.MyOverride]
+```
+
+# `USER_DEFINED` module type
+
+In the example above we've used `MODULE_TYPE = UEFI_APPLICATION` in our module. Often modules that should produce non-standard files in FFS use `MODULE_TYPE = USER_DEFINED` type.
+
+# Links
+
+- [https://edk2-docs.gitbook.io/edk-ii-inf-specification/3_edk_ii_inf_file_format/315_-binaries-_section](https://edk2-docs.gitbook.io/edk-ii-inf-specification/3_edk_ii_inf_file_format/315_-binaries-_section)
+