summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/CommonDataClass/FdfClass.py
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-05-06 05:10:45 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-06-22 18:18:12 +0300
commitadc5e8d00941485ddeb185869eb35dd2de08f711 (patch)
tree6e4b59f8e3d233b431d527114e34e8882738ef67 /BaseTools/Source/Python/CommonDataClass/FdfClass.py
parentb9463ca6b6049be80b7d5751dca4a0972eda9b0f (diff)
downloadedk2-adc5e8d00941485ddeb185869eb35dd2de08f711.tar.xz
BaseTools/GenFds: Propagate Xip flag to FV INF via ,XIP suffix
Add Xip attribute to FDF Rule class and parse the Xip keyword in EFI section rules of FDF files. Add XipEnabled attribute to FfsInfStatement that is determined from the applicable FDF Rule's section Xip setting. When generating the FV INF file, append ",XIP" to EFI_FILE_NAME entries for modules whose Rule specifies Xip=TRUE. This enables per-file XIP rebase control in GenFv by communicating which files require XIP rebase directly in the FV INF file format. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/FdfClass.py')
-rw-r--r--BaseTools/Source/Python/CommonDataClass/FdfClass.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/CommonDataClass/FdfClass.py b/BaseTools/Source/Python/CommonDataClass/FdfClass.py
index c8cfdaae32..f765e0a42a 100644
--- a/BaseTools/Source/Python/CommonDataClass/FdfClass.py
+++ b/BaseTools/Source/Python/CommonDataClass/FdfClass.py
@@ -249,6 +249,7 @@ class RuleClassObject :
self.FvFileType = None # for Ffs File Type
self.KeyStringList = []
self.KeepReloc = None
+ self.Xip = False
## Complex rule data in FDF
#