<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c, 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>2025-06-10T17:54:56+00:00</updated>
<entry>
<title>OvmfPkg/PlatformBmPrintScLib: hint at Secure Boot verification</title>
<updated>2025-06-10T17:54:56+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>laszlo.ersek@posteo.net</email>
</author>
<published>2025-06-04T01:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0d472346dffdbe40aa2ebac9b84bbd6b3ac7889e'/>
<id>urn:sha1:0d472346dffdbe40aa2ebac9b84bbd6b3ac7889e</id>
<content type='text'>
The UEFI spec 2.11 documents EFI_SECURITY_VIOLATION for both
gBS-&gt;LoadImage() and gBS-&gt;StartImage() as

&gt; [Image was loaded and an ImageHandle was created with a valid
&gt; EFI_LOADED_IMAGE_PROTOCOL. However,] the current platform policy
&gt; specifies that the image should not be started.

Additionally, the spec documents EFI_ACCESS_DENIED for gBS-&gt;LoadImage() as

&gt; Image was not loaded because the platform policy prohibits the image
&gt; from being loaded. NULL is returned in ImageHandle.

When image loading/starting fails under the above conditions (according to
the status code being reported), print a hint about Secure Boot. This
should help users diagnose and fix their Secure Boot configuration.

Updates: 77874ceebb118cd58f518cbf6bcb63f47c993ec0
Fixes: https://github.com/tianocore/edk2/issues/10901
Signed-off-by: Laszlo Ersek &lt;laszlo.ersek@posteo.net&gt;
</content>
</entry>
<entry>
<title>OvmfPkg: Update code to be more C11 compliant by using __func__</title>
<updated>2023-04-10T14:19:57+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-04-06T19:49:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8ba392687b6f7fcb6e333756edd090003c57402e'/>
<id>urn:sha1:8ba392687b6f7fcb6e333756edd090003c57402e</id>
<content type='text'>
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.

Since it's more standard, replace __FUNCTION__ with __func__ throughout
OvmfPkg.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Sunil V L &lt;sunilvl@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>OvmfPkg: 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:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ac0a286f4d747a4c6c603a7b225917293cbe1e9f'/>
<id>urn:sha1:ac0a286f4d747a4c6c603a7b225917293cbe1e9f</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the OvmfPkg 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: Andrew Fish &lt;afish@apple.com&gt;
</content>
</entry>
<entry>
<title>OvmfPkg: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T17:58:19+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b26f0cf9ee09a180c91a4beeeb1b149e7f92afed'/>
<id>urn:sha1:b26f0cf9ee09a180c91a4beeeb1b149e7f92afed</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: Laszlo Ersek &lt;lersek@redhat.com&gt;
</content>
</entry>
<entry>
<title>OvmfPkg: add library to track boot option loading/starting on the console</title>
<updated>2019-02-25T10:51:22+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>lersek@redhat.com</email>
</author>
<published>2017-11-22T20:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=77874ceebb118cd58f518cbf6bcb63f47c993ec0'/>
<id>urn:sha1:77874ceebb118cd58f518cbf6bcb63f47c993ec0</id>
<content type='text'>
Introduce the Platform Boot Manager Print Status Code Library (for short,
PlatformBmPrintScLib) class for catching and printing the LoadImage() /
StartImage() preparations, and return statuses, that are reported by
UefiBootManagerLib.

In the primary library instance, catch only such status codes that
UefiBootManagerLib reports from the same module that contains
PlatformBmPrintScLib. The intent is to establish a reporting-printing
channel within BdsDxe, between UefiBootManagerLib and
PlatformBmPrintScLib. Ignore status codes originating elsewhence, e.g.
from UiApp's copy of UefiBootManagerLib.

Cc: Anthony Perard &lt;anthony.perard@citrix.com&gt;
Cc: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Cc: Jordan Justen &lt;jordan.l.justen@intel.com&gt;
Cc: Julien Grall &lt;julien.grall@linaro.org&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1515418
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
</content>
</entry>
</feed>
