summaryrefslogtreecommitdiffstats
path: root/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2024-11-25 11:34:54 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-21 05:02:38 +0000
commite78fb8a366fcd39329f86ce5a095d88d9be8dcb6 (patch)
treedf22af1def059dc8e2ee74e4da2cdde8e33e970a /UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
parent5f97d5391eadc592548aa635b8b16e811df046fc (diff)
downloadedk2-e78fb8a366fcd39329f86ce5a095d88d9be8dcb6.tar.gz
UnitTestFrameworkPkg/MemoryAllocationLibPosix: Add allocate below address
Add HostMemoryAllocationBelowAddressLib class and implementation that uses OS specific services to perform pool and page allocations below a specified address in a host based unit test application execution environment. This library class is only required for mocking buffers that are assumed to be below a specific address by code under test. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec')
-rw-r--r--UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec5
1 files changed, 5 insertions, 0 deletions
diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
index ef0a148d48..0553af4edc 100644
--- a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
+++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
@@ -39,6 +39,11 @@
SubhookLib|Include/Library/SubhookLib.h
FunctionMockLib|Include/Library/FunctionMockLib.h
+ ## @libraryclass Host only memory allocation library that supports allocating
+ # buffers below a specified address.
+ #
+ HostMemoryAllocationBelowAddressLib|Include/Library/HostMemoryAllocationBelowAddressLib.h
+
[LibraryClasses.Common.Private]
## @libraryclass Provides a unit test result report
#