Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 3872c38049f35d41c79b41ebe3bd59f09812ad5f
https://github.com/tianocore/edk2/commit/3872c38049f35d41c79b41ebe3bd59f09812ad5f
Author: Dun Tan <[email protected]>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M MdePkg/Include/Library/HobLib.h
Log Message:
-----------
MdePkg/Include: Add two new APIs in HobLib.h
This commit is to add two new APIs in HobLib.h:
GetNextMemoryAllocationGuidHob ()
TagMemoryAllocationHobWithGuid ()
The UEFI_PI_SPEC defines the EFI_GUID Name in the
EFI_HOB_MEMORY_ALLOCATION_HEADER as:
A GUID that defines the memory allocation region’s type
and purpose, as well as other fields within the memory
allocation HOB.
Currently there is no API in HobLib to handle this Name
GUID in EFI_HOB_MEMORY_ALLOCATION_HEADER, and the code
logic is common. So the following 2 APIs are added to:
1.The GetNextMemoryAllocationGuidHob () returns the next
instance of the Memory Allocation HOB with the matched
GUID from a starting HOB pointer.
2.The TagMemoryAllocationHobWithGuid () searchs the HOB
list for the Memory Allocation HOB with a matching base
address and set the Name GUID. Then the instance of the
tagged Memory Allocation HOB with matched base address is
returned.
Signed-off-by: Dun Tan <[email protected]>
Commit: 161fa22bef368880b8f7159f79b5268531393a88
https://github.com/tianocore/edk2/commit/161fa22bef368880b8f7159f79b5268531393a88
Author: Dun Tan <[email protected]>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M MdePkg/Library/DxeCoreHobLib/HobLib.c
M MdePkg/Library/DxeHobLib/HobLib.c
M MdePkg/Library/PeiHobLib/HobLib.c
M MdePkg/Test/Mock/Include/GoogleTest/Library/MockHobLib.h
M MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobLib.cpp
Log Message:
-----------
MdePkg: Add two new APIs in HobLib
This commit is to add two new APIs in MdePkg PeiHobLib,
DxeHobLib, DxeCoreHobLib and MockHobLib:
1.The GetNextMemoryAllocationGuidHob () returns the next
instance of the Memory Allocation HOB with the matched
GUID from a starting HOB pointer.
2.The TagMemoryAllocationHobWithGuid () searchs the HOB
list for the Memory Allocation HOB with a matching base
address and set the Name GUID. Then the instance of the
tagged Memory Allocation HOB with matched base address is
returned.
Signed-off-by: Dun Tan <[email protected]>
Commit: a9cf419ed93650dd1c498740606c974c1352ca60
https://github.com/tianocore/edk2/commit/a9cf419ed93650dd1c498740606c974c1352ca60
Author: Dun Tan <[email protected]>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M MdeModulePkg/Library/BaseHobLibNull/BaseHobLibNull.c
Log Message:
-----------
MdeModulePkg: Add two new APIs in BaseHobLibNull
This commit is to add two new APIs in MdeModulePkg
BaseHobLibNull:
1.The GetNextMemoryAllocationGuidHob () returns the next
instance of the Memory Allocation HOB with the matched
GUID from a starting HOB pointer.
2.The TagMemoryAllocationHobWithGuid () searchs the HOB
list for the Memory Allocation HOB with a matching base
address and set the Name GUID. Then the instance of the
tagged Memory Allocation HOB with matched base address is
returned.
Signed-off-by: Dun Tan <[email protected]>
Commit: cdd31b64600e5c747a74fd355cf85ad090019946
https://github.com/tianocore/edk2/commit/cdd31b64600e5c747a74fd355cf85ad090019946
Author: Dun Tan <[email protected]>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M UefiPayloadPkg/Library/DxeHobLib/HobLib.c
M UefiPayloadPkg/Library/PayloadEntryHobLib/Hob.c
Log Message:
-----------
UefiPayloadPkg: Add two new APIs in HobLib
This commit is to add two new APIs in UefiPayloadPkg
DxeHobLib and PayloadEntryHobLib:
1.The GetNextMemoryAllocationGuidHob () returns the next
instance of the Memory Allocation HOB with the matched
GUID from a starting HOB pointer.
2.The TagMemoryAllocationHobWithGuid () searchs the HOB
list for the Memory Allocation HOB with a matching base
address and set the Name GUID. Then the instance of the
tagged Memory Allocation HOB with matched base address is
returned.
Signed-off-by: Dun Tan <[email protected]>
Commit: 6b48cdc917afec9f1cc5fb2f5e926c8459aeca9d
https://github.com/tianocore/edk2/commit/6b48cdc917afec9f1cc5fb2f5e926c8459aeca9d
Author: Dun Tan <[email protected]>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.c
M StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.c
Log Message:
-----------
StandaloneMmPkg: Add two new APIs in HobLib
This commit is to add two new APIs in StandaloneMmPkg
StandaloneMmHobLib and StandaloneMmCoreHobLib:
1.The GetNextMemoryAllocationGuidHob () returns the next
instance of the Memory Allocation HOB with the matched
GUID from a starting HOB pointer.
2.The TagMemoryAllocationHobWithGuid () searchs the HOB
list for the Memory Allocation HOB with a matching base
address and set the Name GUID. Then the instance of the
tagged Memory Allocation HOB with matched base address is
returned.
Signed-off-by: Dun Tan <[email protected]>
Commit: 9ae1c8d4257c87c38bbcebfc6b461aeb57edcfc1
https://github.com/tianocore/edk2/commit/9ae1c8d4257c87c38bbcebfc6b461aeb57edcfc1
Author: Dun Tan <[email protected]>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M ArmVirtPkg/Library/ArmVirtDxeHobLib/HobLib.c
Log Message:
-----------
ArmVirtPkg: Add two new APIs in ArmVirtDxeHobLib
This commit is to add two new APIs in ArmVirtDxeHobLib:
1.The GetNextMemoryAllocationGuidHob () returns the next
instance of the Memory Allocation HOB with the matched
GUID from a starting HOB pointer.
2.The TagMemoryAllocationHobWithGuid () searchs the HOB
list for the Memory Allocation HOB with a matching base
address and set the Name GUID. Then the instance of the
tagged Memory Allocation HOB with matched base address is
returned.
Signed-off-by: Dun Tan <[email protected]>
Commit: be720b8d6cc01383b4eba6174c390798e4194491
https://github.com/tianocore/edk2/commit/be720b8d6cc01383b4eba6174c390798e4194491
Author: Dun Tan <[email protected]>
Date: 2025-04-18 (Fri, 18 Apr 2025)
Changed paths:
M EmbeddedPkg/Library/PrePiHobLib/Hob.c
Log Message:
-----------
EmbeddedPkg: Add two new APIs in PrePiHobLib
This commit is to add two new APIs in EmbeddedPkg
PrePiHobLib:
1.The GetNextMemoryAllocationGuidHob () returns the next
instance of the Memory Allocation HOB with the matched
GUID from a starting HOB pointer.
2.The TagMemoryAllocationHobWithGuid () searchs the HOB
list for the Memory Allocation HOB with a matching base
address and set the Name GUID. Then the instance of the
tagged Memory Allocation HOB with matched base address is
returned.
Signed-off-by: Dun Tan <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/cd76265f1af6...be720b8d6cc0
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits