diff options
| author | Aaron Pop <aaronpop@microsoft.com> | 2026-07-29 02:23:14 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-23 02:28:02 +0300 |
| commit | ae61e3365614c3fbedf19741fbbf6c923a3a3df5 (patch) | |
| tree | edf07307ab6f93e13ca181ad067a5239f403320b /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h | |
| parent | bc048b5125e5e88d869793c83da4b4e552110a20 (diff) | |
| download | edk2-ae61e3365614c3fbedf19741fbbf6c923a3a3df5.tar.xz | |
MdeModulePkg/Core: Add EFI_HOB_RESOURCE_DESCRIPTOR2 support
Add IS_RESOURCE_DESCRIPTOR_HOB() and GET_RESOURCE_HOB_ATTRIBUTE()
macros to handle both EFI_HOB_TYPE_RESOURCE_DESCRIPTOR and
EFI_HOB_TYPE_RESOURCE_DESCRIPTOR2 HOB types. Resource Descriptor v2
HOBs use ResourceCapabilities instead of ResourceAttribute, so they
cannot be accessed through the same union member.
Update consumers of ResourceDescriptorHobs to understand both
EFI_HOB_TYPE_RESOURCE_DESCRIPTOR and EFI_HOB_TYPE_RESOURCE_DESCRIPTOR2.
Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions
