From adc5e8d00941485ddeb185869eb35dd2de08f711 Mon Sep 17 00:00:00 2001 From: Michael D Kinney Date: Tue, 5 May 2026 19:10:45 -0700 Subject: 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 --- BaseTools/Source/Python/CommonDataClass/FdfClass.py | 1 + 1 file changed, 1 insertion(+) (limited to 'BaseTools/Source/Python/CommonDataClass') 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 # -- cgit v1.2.3