<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf, 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>2026-09-06T10:12:38+00:00</updated>
<entry>
<title>MdePkg: UnitTestHostBaseLib: Support reading CNTPCT_EL0, ID_AA64ISAR0_EL1</title>
<updated>2026-09-06T10:12:38+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-07-30T00:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f3118dd3f7fa6fd352143cca025775f5d4a9da95'/>
<id>urn:sha1:f3118dd3f7fa6fd352143cca025775f5d4a9da95</id>
<content type='text'>
This change adds the support of reading CNTPCT_EL0 and ID_AA64ISAR0_EL1
through current BaseLib definition.

This paves way to allow the linkage of these functions needed on other
host based unit tests.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: UnitTestHostBaseLib: Clean up source entries</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-05-01T20:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=668b5d7bb7f9bf90412110fae420dc15fd580b58'/>
<id>urn:sha1:668b5d7bb7f9bf90412110fae420dc15fd580b58</id>
<content type='text'>
The existing UnitTestHostBaseLib has some source entries that are either
redundant or for unsupported architectures.

This change consolidated the redundant entries and removed the entries
for unsupported architectures.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: UnitTestHostBaseLib: Added preprocessor for AArch64 instances</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-01-20T20:50:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=94d9804c32d62d6d51885f5019aaa53ac5e85a8c'/>
<id>urn:sha1:94d9804c32d62d6d51885f5019aaa53ac5e85a8c</id>
<content type='text'>
This change adds a few preprocessors to build AArch64 host based unit
tests properly.

An AArch64 specific instance of `gUnitTestHostBaseLib` is created to
abstract the reference of arch specific special instructions.

Signed-off-by: Kun Qin &lt;kuqin12@gmail.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/Library/BaseLib: Use PcdControlFlowEnforcementPropertyMask as fixed</title>
<updated>2025-12-24T05:43:01+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2025-12-21T18:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1e1edf4d6cd41f6539808c85cc5220f211a4206f'/>
<id>urn:sha1:1e1edf4d6cd41f6539808c85cc5220f211a4206f</id>
<content type='text'>
Always access PcdControlFlowEnforcementPropertyMask using
FixedPcdGet() in NASM source files and update INFs to correctly
declare that PcdControlFlowEnforcementPropertyMask is always
accessed as a Fixed PCD.

PcdControlFlowEnforcementPropertyMask is declared in MdePkg.dec
in the [PcdsFixedAtBuild] section, so this PCD does not support
any other PCD access types.

This change resolves ld warnings from GCC and CLANGDWARF builds
for relocations in read-only text sections because use of PcdGet()
in NASM source files reads the value into eax from the memory
location of a const global variable that requires a relocation
fixup.

By changing PcdGet() to FixedPcdGet(), eax is loaded with an
immediate value known at build time and no relocation fixups for
PcdControlFlowEnforcementPropertyMask are required.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: Add code to detect running as an SEV guest</title>
<updated>2025-11-04T06:51:50+00:00</updated>
<author>
<name>RARelph</name>
<email>44270374+RARelph@users.noreply.github.com</email>
</author>
<published>2025-10-30T22:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b98ccecdecec0bb768e6e5bd4df1694de87ad42f'/>
<id>urn:sha1:b98ccecdecec0bb768e6e5bd4df1694de87ad42f</id>
<content type='text'>
Similar to Intel's Tdx, we need a mechanism to detect running as
an AMD SEV guest that will work in all phases everywhere. This
will be immediately used to prevent usage of MTRRs with SEV guests.

Signed-off-by: Richard Relph &lt;richard.relph@amd.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: Remove ARM32 Support from BaseLib</title>
<updated>2025-09-25T22:04:10+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2025-09-15T21:08:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=49b3eb5907f1a1c17b202cb2195da6fff59ca7dc'/>
<id>urn:sha1:49b3eb5907f1a1c17b202cb2195da6fff59ca7dc</id>
<content type='text'>
edk2 is dropping support for the ARM32 architecture. This
commit removes ARM32 code from BaseLib.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/Library/BaseLib: Remove __chkstk() from BaseLib</title>
<updated>2025-09-19T07:14:26+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2025-09-16T20:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d87583e720ae816c6f81617e54f28b1366301296'/>
<id>urn:sha1:d87583e720ae816c6f81617e54f28b1366301296</id>
<content type='text'>
Remove workaround for GCC compilers that is no longer
required. Keeping this implementation of __chkstk() generates
duplicate symbol build failures with Windows/CLANGPDB builds
host-based unit test builds.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/Library/BaseLib: HOST_APPLICATION IA32/X64 only</title>
<updated>2023-04-10T05:59:02+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2023-03-24T22:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=eb20c21fcc12f1a2565259211a199ae4eb5b0356'/>
<id>urn:sha1:eb20c21fcc12f1a2565259211a199ae4eb5b0356</id>
<content type='text'>
Update BaseLib host-based unit test INF file to only list
VALID_ARCHITECTURES of IA32 and X64 to align with all other
host-based unit test INF files. The UnitTestFrameworkPkg only
provides build support of host-based unit tests to OS applications
for IA32 and X64.

Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Reviewed-by: Oliver Smith-Denny &lt;osde@linux.microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/UnitTestHostBaseLib: Remove HOST_APPLICATION limitation</title>
<updated>2022-12-14T13:34:33+00:00</updated>
<author>
<name>Liu, Zhiguang</name>
<email>Zhiguang.Liu@intel.com</email>
</author>
<published>2022-12-07T01:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d103840cfb559c28831c2635b916d60118f671cc'/>
<id>urn:sha1:d103840cfb559c28831c2635b916d60118f671cc</id>
<content type='text'>
Remove HOST_APPLICATION limitation for UnitTestHostBaseLib, so that
this library can be used as BaseLib by Emulator.
Also, add some missing files

Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Signed-off-by: Ray Ni &lt;ray.ni@intel.com&gt;
Signed-off-by: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: Remove RVCT support</title>
<updated>2022-05-13T14:58:54+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>quic_rcran@quicinc.com</email>
</author>
<published>2022-05-03T18:48:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=48b919cb141de527d5689c42132d2b42a72102cc'/>
<id>urn:sha1:48b919cb141de527d5689c42132d2b42a72102cc</id>
<content type='text'>
RVCT is obsolete and no longer used.
Remove support for it.

Signed-off-by: Rebecca Cran &lt;quic_rcran@quicinc.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
</feed>
