aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-07-15 20:52:24 +0300
committerGitHub <noreply@github.com>2022-07-15 20:52:24 +0300
commit82cdbf273c4c051f9b9de7f097f3c3ca0b637cd0 (patch)
treecf5565d4b478f81f46c8cb792b5c05e33aa3c8a3
parentdef2fe05b1e91084a30f280d778f73d4dc127da7 (diff)
downloadUEFI-Lessons-82cdbf273c4c051f9b9de7f097f3c3ca0b637cd0.tar.gz
UEFI-Lessons-82cdbf273c4c051f9b9de7f097f3c3ca0b637cd0.tar.bz2
UEFI-Lessons-82cdbf273c4c051f9b9de7f097f3c3ca0b637cd0.zip
Add information about FvBaseAddress attribute
-rw-r--r--Lessons_uncategorized/Lesson_FDF_FV/README.md19
1 files changed, 11 insertions, 8 deletions
diff --git a/Lessons_uncategorized/Lesson_FDF_FV/README.md b/Lessons_uncategorized/Lesson_FDF_FV/README.md
index d2469c7..00b78b2 100644
--- a/Lessons_uncategorized/Lesson_FDF_FV/README.md
+++ b/Lessons_uncategorized/Lesson_FDF_FV/README.md
@@ -410,7 +410,17 @@ If you look to `VolInfo` output, you'll see that out FV has two attributes set:
- `EFI_FVB2_ERASE_POLARITY` (set by default, means that uninitialized data bits in volume are set to 1)
- `EFI_FVB2_ALIGNMENT_16` (set by our `FvAlignment=16` setting)
-Other possible attribute fro FV that you can come across is `FvNameGuid`:
+Similar to FD, the FV has an attribute that defines an address at which flash volume would be mapped to the CPU memory:
+```
+FvBaseAddress = <...>
+```
+And the tokens that define flash block structure:
+```
+BlockSize = <...>
+NumBlocks = <...>
+```
+
+Other possible attribute for the FV that you can come across is `FvNameGuid`:
```
FvNameGuid = <GUID>
# Example:
@@ -418,13 +428,6 @@ FvNameGuid = <GUID>
```
This attribute would lead to the creation of a file of type `EFI_FV_FILETYPE_FFS_PAD` (padding file) with a GUID value in its data. This file would be placed first in the FV.
-And `BlockSize` attribute:
-```
-BlockSize = <...>
-```
-This token define flash chip attribute similar to the one in FD.
-
-
# Links
- [\[FV\] Sections](https://edk2-docs.gitbook.io/edk-ii-fdf-specification/2_fdf_design_discussion/25_-fv-_sections)