<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/IntelFsp2Pkg/Library/BaseCacheLib, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-02-23T21:01:28+00:00</updated>
<entry>
<title>IntelFsp2Pkg: 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:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=86047d47423134a74cad7da53c8dbc06fccb0f20'/>
<id>urn:sha1:86047d47423134a74cad7da53c8dbc06fccb0f20</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>IntelFsp2Pkg/CacheLib: Make integer width consistent in loop condition</title>
<updated>2025-05-24T01:06:53+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-04-30T15:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ee6a2bfc2c9cfadc05ca0ecaaf17734521bb7aa0'/>
<id>urn:sha1:ee6a2bfc2c9cfadc05ca0ecaaf17734521bb7aa0</id>
<content type='text'>
Explicitly casts `mFixedMtrrTable[MsrNum].Length` to resolve a
`comparison-with-wider-type` CodeQL error.

https://codeql.github.com/codeql-query-help/cpp/cpp-comparison-with-wider-type/

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2Pkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=111f2228ddf487b0ac3491e416bb3dcdcfa4f979'/>
<id>urn:sha1:111f2228ddf487b0ac3491e416bb3dcdcfa4f979</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the IntelFsp2Pkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2Pkg: BaseCacheLib EfiProgramMtrr MtrrNumber Should be UINT32</title>
<updated>2021-07-14T03:54:44+00:00</updated>
<author>
<name>S, Ashraf Ali</name>
<email>ashraf.ali.s@intel.com</email>
</author>
<published>2021-07-09T07:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=91f5d3b41043b8a0c8a5ed00e1c88bca4a777067'/>
<id>urn:sha1:91f5d3b41043b8a0c8a5ed00e1c88bca4a777067</id>
<content type='text'>
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3485

CacheLib EfiProgramMtrr Function takes MTRR number as a input parameter,
in the function the parameter is defined as UINTN were as the caller
calling MTTR number in UINT32.

Signed-off-by: Ashraf Ali S &lt;ashraf.ali.s@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
Cc: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Cc: Star Zeng &lt;star.zeng@intel.com&gt;
Cc: Digant H Solanki &lt;digant.h.solanki@intel.com&gt;
Cc: Sangeetha V &lt;sangeetha.v@intel.com&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2Pkg: Fix various typos</title>
<updated>2019-07-11T13:07:17+00:00</updated>
<author>
<name>Antoine Cœur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2019-07-11T08:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=91cc60bafc7d6e49b7bc85990f895d6228f51364'/>
<id>urn:sha1:91cc60bafc7d6e49b7bc85990f895d6228f51364</id>
<content type='text'>
Fix various typos in IntelFsp2Pkg.

Signed-off-by: Cœur &lt;coeur@gmx.fr&gt;
Reviewed-by: Star Zeng &lt;star.zeng@intel.com&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "FmpDevicePkg: Fix various typos"</title>
<updated>2019-07-11T13:07:16+00:00</updated>
<author>
<name>Antoine Cœur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2019-07-11T08:31:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=efa12a3f029bd6ff4d2ada406c285f001b252907'/>
<id>urn:sha1:efa12a3f029bd6ff4d2ada406c285f001b252907</id>
<content type='text'>
This reverts commit f527942e6bdd9f198db90f2de99a0482e9be5b1b.
Commit message was incorrect.

Signed-off-by: Cœur &lt;coeur@gmx.fr&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
<entry>
<title>FmpDevicePkg: Fix various typos</title>
<updated>2019-07-09T13:40:00+00:00</updated>
<author>
<name>Antoine Cœur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2019-07-09T09:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f527942e6bdd9f198db90f2de99a0482e9be5b1b'/>
<id>urn:sha1:f527942e6bdd9f198db90f2de99a0482e9be5b1b</id>
<content type='text'>
Fix one typo in FmpDevicePkg.

Signed-off-by: Cœur &lt;coeur@gmx.fr&gt;
Reviewed-by: Star Zeng &lt;star.zeng@intel.com&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2Pkg: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T17:58:03+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9672cd30563b22331bb2491377b77b57b71c52e4'/>
<id>urn:sha1:9672cd30563b22331bb2491377b77b57b71c52e4</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2Pkg: Update Section Name in INF files</title>
<updated>2017-10-10T10:10:23+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2017-09-25T11:06:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=034b941894c74cf4e7d22f897ad583eced999638'/>
<id>urn:sha1:034b941894c74cf4e7d22f897ad583eced999638</id>
<content type='text'>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
</content>
</entry>
<entry>
<title>Add IntelFsp2Pkg and IntelFsp2WrapperPkg.</title>
<updated>2016-05-13T05:00:53+00:00</updated>
<author>
<name>Jiewen Yao</name>
<email>jiewen.yao@intel.com</email>
</author>
<published>2016-05-13T05:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=cf1d454983fb4fd3b580a92bd242310467a5eaef'/>
<id>urn:sha1:cf1d454983fb4fd3b580a92bd242310467a5eaef</id>
<content type='text'>
Add FSP2.0 support.
This series of patch is to support FSP2.0 specification at
https://firmware.intel.com/sites/default/files/FSP_EAS_v2.0_Draft%20External.pdf

Some major updates include:
1) One FSP binary is separated to multiple components:
FSP-T, FSP-M, FSP-S, and optional FSP-O.
Each component has its own configuration data region.
2) All FSP-APIs use same UPD format - FSP_UPD_HEADER.
3) Add EnumInitPhaseEndOfFirmware notifyphase.
4) FSP1.1/FSP1.0 compatibility is NOT maintained.
5) We also add rename Fsp* to FspWrapper* in IntelFsp2WrapperPkg,
to indicate that it is for FspWrapper only.

IntelFspPkg and IntelFspWrapperPkg will be deprecated.
The new Intel platform will follow FSP2.0 and use IntelFsp2Pkg
and IntelFsp2WrapperPkg.
The old platform can still use IntelFspPkg and IntelFspWrapperPkg
for compatibility consideration.

Cc: Giri P Mudusuru &lt;giri.p.mudusuru@intel.com&gt;
Cc: Maurice Ma &lt;maurice.ma@intel.com&gt;
Cc: Ravi P Rangarajan &lt;ravi.p.rangarajan@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Reviewed-by: Giri P Mudusuru &lt;giri.p.mudusuru@intel.com&gt;
Reviewed-by: Maurice Ma &lt;maurice.ma@intel.com&gt;
Reviewed-by: Ravi P Rangarajan &lt;ravi.p.rangarajan@intel.com&gt;
</content>
</entry>
</feed>
