]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Add support for SUBTYPE_GUID section generation
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Wed, 20 Jul 2022 14:01:17 +0000 (22:01 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 19 Oct 2022 06:32:07 +0000 (06:32 +0000)
commit225810a18249de541840396c74d9a918c691aa9e
tree64f6bb219e81ca325ca0de4280a45bf2d5717e0c
parent81aeb9464821b59aa850c681abca3524d5164cc8
BaseTools: Add support for SUBTYPE_GUID section generation

EFI_SECTION_FREEFORM_SUBTYPE_GUID is a leaf section type that contains
a single EFI_GUID in the header to describe the raw data.
Currently is is not possible to generate such section.
This patch adds initial support for the generation of such sections.
The added syntax for this type of section corresponds to EDKII
"[FV] section" documentation from the FDF Specification:
```
SECTION SUBTYPE_GUID <GUID> = <File>
```

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/CommonDataClass/FdfClass.py
BaseTools/Source/Python/GenFds/FdfParser.py
BaseTools/Source/Python/GenFds/SubTypeGuidSection.py [new file with mode: 0644]