Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 7a3bcd6684c44928ae64d6c9fab8581cd131814c
https://github.com/tianocore/edk2/commit/7a3bcd6684c44928ae64d6c9fab8581cd131814c
Author: Michael D Kinney <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M BaseTools/Source/C/GenFw/Elf64Convert.c
Log Message:
-----------
BaseTools/Source/C/GenFw: Add no symbols check to --prm
When --prm is specified, a search for the symbol with the
name PRM_MODULE_EXPORT_DESCRIPTOR_NAME is performed. If
the symbol is not found, then GENFW generates an exception
due to a loop with a terminal count of -1.
Update logic to not search for PRM Handler symbols if the
PRM_MODULE_EXPORT_DESCRIPTOR_NAME was not found and add
an Error() message when --prm is specified and
PRM_MODULE_EXPORT_DESCRIPTOR_NAME was not found.
Signed-off-by: Michael D Kinney <[email protected]>
Commit: 47b0261613388d6ae34613bf505fe0ffb31678b9
https://github.com/tianocore/edk2/commit/47b0261613388d6ae34613bf505fe0ffb31678b9
Author: Michael D Kinney <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M BaseTools/Source/C/GenFw/GenFw.c
Log Message:
-----------
BaseTools/Source/C/GenFw: Add --image-version option
Add --image-version option that takes a version value
of the form MMMM.mmmm where MMMM and mmmm are decimal
values < 65536. The MMMM and mmmm values are used to
set the PE/COFF optional header fields MajorImageVersion
and MinorImageVersion.
If MMMM or mmmm are larger than 65535, then generate
Error() condition.
Signed-off-by: Michael D Kinney <[email protected]>
Commit: 3980808abf4599ce601fd39ea70bc1f4385172af
https://github.com/tianocore/edk2/commit/3980808abf4599ce601fd39ea70bc1f4385172af
Author: Michael D Kinney <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M BaseTools/Scripts/GccBase.lds
Log Message:
-----------
BaseTools/Scripts: KEEP .prmexportdescriptor data sections
Update GCC linker script to always keep .prmexportdescriptor
sections and merge them into the .data section.
The .prmexportdescriptor section is only used by PRM modules
for the PRM Export Descriptor Structure that must be kept
in the final image to support adding the PRM Export
Descriptor Structure and its associated PRM Handlers APIs
to a PE/COFF DLL Export section.
Signed-off-by: Michael D Kinney <[email protected]>
Commit: c16e88e301d659a962880a898d72b17c5010f2e0
https://github.com/tianocore/edk2/commit/c16e88e301d659a962880a898d72b17c5010f2e0
Author: Michael D Kinney <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M PrmPkg/Include/Prm.h
M PrmPkg/Include/PrmExportDescriptor.h
Log Message:
-----------
PrmPkg/Include: Fix GCC/CLANG PRM Module DLL Export issues
Use _MSC_EXTENSIONS instead of _MSC_VER when MSC specific
extensions are required such as __declspec(dllexport).
CLANGPDB builds do not set _MSC_VER but CLANGPDB builds
in Windows and Linux do support use of MSC specific
extensions.
Add PRM_EXPORT_DESCRIPTOR macro that provides attributes
required to make sure the PRM Export Descriptor Structure
is not optimized away by the compiler/linker.
PRM_EXPORT_API can not be used for this because the
attributes for code and data may be different with
different tool chains.
For GCC/CLANGDWARF tool chains, PRM_EXPORT_DESCRIPTOR
sets the 'used' and 'section(.prmexportdescriptor)'
attributes and depends on the GCC linker script
to make sure the `.prmexportdescriptor` section is
preserved.
Fix incorrect location of ; in PRM_MODULE_EXPORT()
macro that was found by CLANG.
Signed-off-by: Michael D Kinney <[email protected]>
Commit: 12a908e09c2e2999a8c988a53bb44f70a7862bc4
https://github.com/tianocore/edk2/commit/12a908e09c2e2999a8c988a53bb44f70a7862bc4
Author: Michael D Kinney <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M
PrmPkg/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf
M
PrmPkg/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf
M
PrmPkg/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf
Log Message:
-----------
PrmPkg/Samples: Update INF files for GCC/CLANG
* Remove redundant /DLL option from MSFT
* Use VERSION_STRING from [Defines] section to set
the PE/COFF optional header image version fields.
The use of the MSFT linker /VERSION option is
removed and replaced with the GenFw --image-version
option to use same method for all tool chains and
provide better error checking.
* Add CLANGPDB tool chain family support that matches
MSFT settings.
* Add GCC family tool chain support that overrides
OBJCOPY_STRIPFLAGS to nothing to prevent symbols
from being stripped from PRM Modules so the
PRM Export Descriptor Structure can be found by
GENFW when the --prm option is used.
* Remove all -Wl, options that are not compatible
across all support tool chains. This also removes
the need to list the PRM Export Descriptor Structure
and PRM Handler APIs in the INF file and instead
depend in GENFW with --prm option to find these
symbols and generate the PE/COFF DLL export section.
Signed-off-by: Michael D Kinney <[email protected]>
Commit: 3731699a63e5bc774507d225e812ae0f97701d4f
https://github.com/tianocore/edk2/commit/3731699a63e5bc774507d225e812ae0f97701d4f
Author: Michael D Kinney <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M PrmPkg/Readme.md
Log Message:
-----------
PrmPkg: Remove notes from Readme that do not apply
Signed-off-by: Michael D Kinney <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/b5bab75e58bf...3731699a63e5
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits