<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/IntelFsp2WrapperPkg, branch dependabot/github_actions/github/codeql-action-4.39.3</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-10-28T17:56:36+00:00</updated>
<entry>
<title>IntelFsp2WrapperPkg: Measure the original FSP ImageBase</title>
<updated>2026-10-28T17:56:36+00:00</updated>
<author>
<name>Gaggery Tsai</name>
<email>gaggery.tsai@intel.com</email>
</author>
<published>2026-10-15T01:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7af9d049380a791f843458d0c85157e3f0d9f4f6'/>
<id>urn:sha1:7af9d049380a791f843458d0c85157e3f0d9f4f6</id>
<content type='text'>
An FSP wrapper that loads an FSP component to memory writes the load
address into FSP_INFO_HEADER.ImageBase. When that address depends on
the boot, for example when the PEI memory layout changes after the
MemoryTypeInformation variable is updated, the FSP digest and PCR0
change from boot to boot although the FSP binary is the same.

Add FSP_IMAGE_BASE_HOB. With BIT30 and BIT31 set, FspsWrapperPeim and
FspiWrapperPeim save ImageBase before writing the load address.
Name BIT30 FSP_MEASURE_ORIGINAL_IMAGEBASE. When the measured FSP
has ImageBase equal to its base address, BaseFspMeasurementLib
hashes the saved value in place of the four ImageBase bytes.
If all other measured bytes are unchanged, this reproduces the
original FSP code digest with the existing UPD exclusion.
Without a matching HOB, with conflicting HOBs, or with any other
ImageBase value, the library measures ImageBase as found in memory.
The default behavior, UPD measurement and event payloads are
unchanged.

A field left at the saved original value produces the same digest
as substitution. This does not validate the runtime ImageBase.
Only ImageBase is restored; changes made by RebaseFspFv are not
undone and can still make the digest depend on the load address.

Signed-off-by: Gaggery Tsai &lt;gaggery.tsai@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Add EFI_HOB_RESOURCE_DESCRIPTOR2 support</title>
<updated>2026-10-22T23:28:02+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-07-28T23:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=bd75f69286d93bb61749db7280a5d9d544590ccd'/>
<id>urn:sha1:bd75f69286d93bb61749db7280a5d9d544590ccd</id>
<content type='text'>
Update consumers of ResourceDescriptorHobs to understand both
EFI_HOB_TYPE_RESOURCE_DESCRIPTOR and EFI_HOB_TYPE_RESOURCE_DESCRIPTOR2.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Fix markdownlint errors</title>
<updated>2026-10-06T22:14:05+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-07-21T22:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1f31d1c44884a9ad91dd4fd66001fa50c2f4f87a'/>
<id>urn:sha1:1f31d1c44884a9ad91dd4fd66001fa50c2f4f87a</id>
<content type='text'>
Fixing all markdown lint errors found by running markdownlint-cli.

Verified that rendering still shows valid information.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>Global: Set MarkdownLintCheck plugin to AuditOnly</title>
<updated>2026-07-29T12:32:09+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-07-22T00:42:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=df9111c2d381546ff23cdf327546ad49f51ce779'/>
<id>urn:sha1:df9111c2d381546ff23cdf327546ad49f51ce779</id>
<content type='text'>
In preparation for the MarkdownLintCheck plugin being added to the
repo, this change defaults the plugin to `AuditOnly` mode in each
package. This allows package maintainers to enable the plugin as they
see fit.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Add Tpm2HelpLib</title>
<updated>2026-06-17T19:16:45+00:00</updated>
<author>
<name>rdiaz</name>
<email>raymonddiaz@microsoft.com</email>
</author>
<published>2025-10-23T01:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6b3272fd82c3917c6c4fef15109048db3550ca31'/>
<id>urn:sha1:6b3272fd82c3917c6c4fef15109048db3550ca31</id>
<content type='text'>
Add Tpm2HelpLib to IntelFsp2WrapperPkg.dsc

Signed-off-by: Raymond Diaz &lt;raymonddiaz@microsoft.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Remove duplicate library class in INF file</title>
<updated>2026-04-29T09:18:10+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-04-22T09:56:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=35102d932fef59eb9268c68eaab21df3ade0cb7a'/>
<id>urn:sha1:35102d932fef59eb9268c68eaab21df3ade0cb7a</id>
<content type='text'>
In FspWrapperMultiPhaseProcessLib driver, BaseMemoryLib appears twice
in [LibraryClasses] section, so remove the duplicate one.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T18:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=648ea00a192c35eb62108d93e7db909e3afd0ca1'/>
<id>urn:sha1:648ea00a192c35eb62108d93e7db909e3afd0ca1</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Rebase FSP-S and FSP-I if Image Base not match</title>
<updated>2025-10-30T08:13:29+00:00</updated>
<author>
<name>Zhiguang Liu</name>
<email>zhiguang.liu@intel.com</email>
</author>
<published>2025-09-25T08:45:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=426da7fb1a2d9155d2abf3a68b93ff37ed6898b1'/>
<id>urn:sha1:426da7fb1a2d9155d2abf3a68b93ff37ed6898b1</id>
<content type='text'>
FSP Spec says: "The FSP is not Position Independent Code (PIC) and
each FSP component has to be rebased if it is placed at a location
which is different from the preferred base address specified during
the FSP build."
Normally, the FSP location in flash is the same preferred base
address specified during the FSP build. To avoid FSP-S and FSP-I
running directly from flash, platform may copy the FSP binaries into
physical memory. This causes FSP location to be different from the
preferred base address.
To support this, this commit checks the Image Base from FSP header
and the FSP base address PCD. If these two are different, This commit
assumes the FSP is copied into physical memory and FSP location is
changed. In such scenario, the commit will rebase the FSP to the address
provided by the PCD.

Signed-off-by: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Bootloader need to recover fs and gs</title>
<updated>2025-03-05T18:21:49+00:00</updated>
<author>
<name>Hongbin1 Zhang</name>
<email>hongbin1.zhang@intel.com</email>
</author>
<published>2025-03-03T05:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=786ae7688414d58a14ef68b023af4b040f37323e'/>
<id>urn:sha1:786ae7688414d58a14ef68b023af4b040f37323e</id>
<content type='text'>
When enter FSP, bootloader need to save fs and gs, when back
to bootloader, bootloader need to restore fs and gs, so it
could avoid bootloader access wrong data segment when usging
fs and gs.

Signed-off-by: Hongbin1 Zhang &lt;hongbin1.zhang@intel.com&gt;
Cc: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
Cc: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Cc: Duggapu Chinni B &lt;chinni.b.duggapu@intel.com&gt;
Cc: Star Zeng &lt;star.zeng@intel.com&gt;
Cc: Ted Kuo &lt;ted.kuo@intel.com&gt;
Cc: Ashraf Ali S &lt;ashraf.ali.s@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Save FspHobListPtr right after FspMemoryInit exits</title>
<updated>2024-12-25T02:56:26+00:00</updated>
<author>
<name>Du Lin</name>
<email>du.lin@intel.com</email>
</author>
<published>2024-12-20T15:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=da6504e5ccaa233b0ec051762809905f20ca5859'/>
<id>urn:sha1:da6504e5ccaa233b0ec051762809905f20ca5859</id>
<content type='text'>
Save FspHobList pointer to HOB right after FspMemoryInit exits so that
FspHobList pointer is available when performing platform related reset
in CallFspWrapperResetSystem(). Some platforms may consume FSP HOBs
prior to performing platform related reset.

Signed-off-by: Du Lin &lt;du.lin@intel.com&gt;
</content>
</entry>
</feed>
