<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/RedfishPkg/Include/Protocol, branch dependabot/github_actions/actions/github-script-9</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9'/>
<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>RedfishPkg: 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:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6181c85fa98fd1ea9e7292ad5390a2ec4f1da318'/>
<id>urn:sha1:6181c85fa98fd1ea9e7292ad5390a2ec4f1da318</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>RedfishPkg/RedfishPlatformConfig: Fix CLANGPDB build failure</title>
<updated>2026-01-22T01:27:21+00:00</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@amd.com</email>
</author>
<published>2026-01-17T01:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=60bfa52f6520bff0aa265c3e89ef9d6f6aeca5e7'/>
<id>urn:sha1:60bfa52f6520bff0aa265c3e89ef9d6f6aeca5e7</id>
<content type='text'>
CLANGPDB build fails because the intrinsic _memcpy is used by
the compiler for the value structure passed via a function.
Change the code to use the value reference.

This fixes the issue: #11882

Signed-off-by: Abner Chang &lt;abner.chang@amd.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg/Include: move protocol version definition to protocol header</title>
<updated>2024-09-16T08:35:55+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2024-09-09T03:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7843c8da060484cdb4239078544cab807377070d'/>
<id>urn:sha1:7843c8da060484cdb4239078544cab807377070d</id>
<content type='text'>
Move protocol interface version definition to public protocol header
file. So, driver can decide which version it is supported.

Signed-off-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: Allow deletion of the bootstrap account</title>
<updated>2024-08-07T03:40:52+00:00</updated>
<author>
<name>Igor Kulchytskyy</name>
<email>116655144+igorkulchytskyy@users.noreply.github.com</email>
</author>
<published>2024-07-22T23:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=976113774320e5f18bb5bd6f21dd062c1d74f3d4'/>
<id>urn:sha1:976113774320e5f18bb5bd6f21dd062c1d74f3d4</id>
<content type='text'>
Extending the Redfish Credential protocol to allow Redfish Clients
to be registered/unregistered for tracking their end of work
and delete a bootstrap account when all registered Redfish clients
finish their communication with Redfish service.
Redfish Http module also was updated to register/unregister clients
on Redfish Service creation/stop event.

Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Nickle Wang &lt;nicklew@nvidia.com&gt;
Signed-off-by: Igor Kulchytskyy &lt;igork@ami.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: Rename x-uefi-redfish to x-UEFI-redfish</title>
<updated>2024-05-04T04:03:13+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2024-05-03T01:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=24fa360857ce9e181cce0e5dad44cf0810119ff4'/>
<id>urn:sha1:24fa360857ce9e181cce0e5dad44cf0810119ff4</id>
<content type='text'>
Rename x-uefi-redfish to x-UEFI-redfish to match the format of
UEFI configuration namespace prefix.

RFC: https://edk2.groups.io/g/rfc/message/849

Signed-off-by: Jeff Brasen &lt;jbrasen@nvidia.com&gt;
Co-authored-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Nick Ramirez &lt;nramirez@nvidia.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@amd.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: introduce Redfish HTTP protocol</title>
<updated>2024-02-29T03:25:18+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2024-02-01T04:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1988f2df2960d558c0cde862e2082c45fe534098'/>
<id>urn:sha1:1988f2df2960d558c0cde862e2082c45fe534098</id>
<content type='text'>
Introduce Redfish HTTP protocol to improve Redfish performance
and communication stability between BIOS and Redfish service.
- Feature drivers often query same Redfish resource multiple
times for different purpose. Implement HTTP cache mechanism to
improve HTTP GET performance. "UseCache" parameter is provided
if application likes to send HTTP GET request to Redfish service
without using cache data.
- This driver will retire stale cache data automatically when
application modify Redfish resource at service side.
- PCD PcdHttpCacheDisabled is used to disable cache mechanism in
this driver for debugging purpose.
- PCD PcdRedfishServiceContentEncoding is used to enable content
encoding while sending data to Redfish service.
- Redfish HTTP protocol also implement retry mechanism to retry
HTTP request when BIOS receive unexpected response from Redfish service.
This function helps BIOS Redfish to finish its job as much as possible.
- PCDs are defined to control how many times BIOS will retry the
request and how many time BIOS will wait between retries.

Signed-off-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
Co-authored-by: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Nick Ramirez &lt;nramirez@nvidia.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@amd.com&gt;
Reviewed-by: Igor Kulchytskyy &lt;igork@ami.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: introduce EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL</title>
<updated>2023-04-28T12:21:38+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2023-04-10T13:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=78f088b5a71b26f75daa194c8a2d6a79ada5c4a2'/>
<id>urn:sha1:78f088b5a71b26f75daa194c8a2d6a79ada5c4a2</id>
<content type='text'>
EDKII Redfish Platform Config Protocol defines the protocol
interfaces that abstracts the platform configuration format
and storage from EDK2 Redfish Feature driver. This protocol
provides the interfaces to get and set platform configuration
with the format and configuration storage agnostic to the
Redfish feature driver.

Signed-off-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Nick Ramirez &lt;nramirez@nvidia.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@amd.com&gt;
Reviewed-by: Igor Kulchytskyy &lt;igork @ami.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: 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:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=39de741e2dcb8f11e9b4438e37224797643d8451'/>
<id>urn:sha1:39de741e2dcb8f11e9b4438e37224797643d8451</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the RedfishPkg 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: Abner Chang &lt;abner.chang@hpe.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/Include: EFI Redfish Discover protocol</title>
<updated>2021-03-26T02:56:22+00:00</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@hpe.com</email>
</author>
<published>2020-11-03T03:54:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fe66288873d055d9528f4bca6f299dc07967d626'/>
<id>urn:sha1:fe66288873d055d9528f4bca6f299dc07967d626</id>
<content type='text'>
Move GUID definition of EFI Redfish Discover protocol
to under MdePkg. With this we don't have dependency of
RedfishPkg in ShellPkg.

Signed-off-by: Abner Chang &lt;abner.chang@hpe.com&gt;

Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
Cc: Nickle Wang &lt;nickle.wang@hpe.com&gt;
Cc: Peter O'Hanley &lt;peter.ohanley@hpe.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>RedfishPkg/Include: EDKII Redfish Config Handler Protocol header file</title>
<updated>2021-02-24T10:23:42+00:00</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@hpe.com</email>
</author>
<published>2021-01-14T05:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=69637f91c70294d1969aec4556c31f603324c449'/>
<id>urn:sha1:69637f91c70294d1969aec4556c31f603324c449</id>
<content type='text'>
BZ:2911

This is the header file of EDKII Redfish config handler protocol,
which is used by EDKII Redfish feature driver in order to
manipulate Redfish properties based on the Redfish schema.

Signed-off-by: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Signed-off-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Signed-off-by: Fan Wang &lt;fan.wang@intel.com&gt;
Signed-off-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Cc: Nickle Wang &lt;nickle.wang@hpe.com&gt;
Reviewed-by: Nickle Wang &lt;nickle.wang@hpe.com&gt;
</content>
</entry>
</feed>
