<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Core, branch dependabot/github_actions/github/codeql-action-4.39.1</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.1</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.1'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-10-23T03:44:49+00:00</updated>
<entry>
<title>MdeModulePkg: Use DUMP_HEX Macro</title>
<updated>2026-10-23T03:44:49+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2026-10-01T19:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=bbbb761e370379aed5d548cd5c044377fee4daaa'/>
<id>urn:sha1:bbbb761e370379aed5d548cd5c044377fee4daaa</id>
<content type='text'>
Several places in MdeModulePkg were implementing their
own versions of hex dumping logic; use the DebugLib.h
macro instead.

Prints change slightly, they are now standardized with
uppercase hex, prefixes on every row instead of in the
header only, and VarCheckHiiLib no longer indents rows
with *ASCII*.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Core: Add resource and GCD verification</title>
<updated>2026-10-22T23:28:02+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-10-09T19:58:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2b92c6d499de9127239b5c1da94c2dcccdd73f0f'/>
<id>urn:sha1:2b92c6d499de9127239b5c1da94c2dcccdd73f0f</id>
<content type='text'>
Add debug verification for Resource Descriptor HOBs. Parse both v1
and v2 Resource Descriptor HOBs, and warn about overlapping ranges.
Check I/O resources separately from memory and MMIO resources.

Print the complete GCD memory space map starting at address zero and
represent any gaps as non-existent memory with

These changes are for debug purposes only. Examining the debug output
will enable a platform owner to view overlapping resource hobs, and
show gaps in the memory map based upon input from the PEI phase.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Core: Add EFI_HOB_RESOURCE_DESCRIPTOR2 support</title>
<updated>2026-10-22T23:28:02+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-07-28T23:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ae61e3365614c3fbedf19741fbbf6c923a3a3df5'/>
<id>urn:sha1:ae61e3365614c3fbedf19741fbbf6c923a3a3df5</id>
<content type='text'>
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 &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Core/Dxe/Event: limit signal queue to event groups</title>
<updated>2026-10-13T15:50:00+00:00</updated>
<author>
<name>Sureshkumar Ponnusamy</name>
<email>sponnusamy@microsoft.com</email>
</author>
<published>2026-10-09T22:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e95045e3905fe8242cd6cadb278a67f4febe1218'/>
<id>urn:sha1:e95045e3905fe8242cd6cadb278a67f4febe1218</id>
<content type='text'>
Add only grouped notify events to gEventSignalQueue so event group signaling does not scan unrelated events.

Ungrouped EVT_NOTIFY_SIGNAL events are dispatched directly by CoreSignalEvent() and do not need to be visited by CoreNotifySignalList().

Signed-off-by: Sureshkumar Ponnusamy &lt;sponnusamy@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Use OpenProtocol() for protocol presence check</title>
<updated>2026-10-11T06:58:28+00:00</updated>
<author>
<name>Khalid Ali</name>
<email>khaliidcaliy@gmail.com</email>
</author>
<published>2026-10-08T07:11:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1a44fc33295d32653fb114e1f1b9b91a81d47239'/>
<id>urn:sha1:1a44fc33295d32653fb114e1f1b9b91a81d47239</id>
<content type='text'>
The function CoreInstallProtocolInterfaceNotify() checks if the protocol
already installed on handle by using HandleProtocol(). And later
HandleProtocol() calls OpenProtocol(). If it is determined that protocol
is present on handle, the protocol is being left open which could leak
internal resources.

This change replaces HandleProtocol() with OpenProtocol() with test
attribute, thus no CloseProtocol() is required.

Signed-off-by: Khalid Ali &lt;khaliidcaliy@gmail.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: DxeIpl: Don't Duplicate Mem Alloc Hob for Stack</title>
<updated>2026-09-03T09:00:37+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2026-09-02T19:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ee655c4d815231bd0916fbdde7a59f4dfdf0ee9f'/>
<id>urn:sha1:ee655c4d815231bd0916fbdde7a59f4dfdf0ee9f</id>
<content type='text'>
Currently, DxeIpl will allocate memory for the new DXE stack,
which creates a memory allocation HOB for that region. It will
then call UpdateStackHob() to find the stack HOB with the old
stack info and update the memory address/length to correspond
to the new stack. It then creates a new memory allocation HOB
for the old stack region as it needs to remain mapped.

This ends up creating two memory allocation HOBs for the new
stack: a regular memory allocation HOB for the AllocatePages()
call and then the stack HOB (which is a memory allocation HOB
with a special name).

When DXE Core ingests these, it will ignore one of the two HOBs
when it goes to allocate memory. However, this is incorrectly
describing handoff state. There never should be overlapping
memory allocation HOBs.

This commit updates DxeIpl behavior to instead find the old
stack HOB, convert it to a regular memory allocation HOB,
then find the memory allocation HOB for the new stack range
and convert it into the stack HOB.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Core/Dxe: Add interrupt-enable nesting guard</title>
<updated>2026-08-25T23:36:26+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-07-11T16:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ef437b30ad574cd760d1db8a9577e3a7d8f50163'/>
<id>urn:sha1:ef437b30ad574cd760d1db8a9577e3a7d8f50163</id>
<content type='text'>
Add interrupt-enable recursion depth tracking using
mInterruptEnableNestDepth and a bounded assertion in
CoreSetInterruptState().

This provides early detection for unintended recursive
interrupt-enable loops.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;</content>
</entry>
<entry>
<title>MdeModulePkg/Core/Dxe: Refactor CoreSetInterruptState enable path</title>
<updated>2026-08-25T23:36:26+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-07-11T16:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1d2e73c4af62cf7fe55a873558057e30249f4f4f'/>
<id>urn:sha1:1d2e73c4af62cf7fe55a873558057e30249f4f4f</id>
<content type='text'>
Refactor the CoreSetInterruptState(TRUE) flow so EnableInterrupt() is
invoked through a single call site.

Behavior is unchanged: interrupts remain disabled in SMM and are enabled
outside SMM.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: MemoryBins: make GoogleTest page-granularity aware</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Jeff Brasen</name>
<email>jbrasen@nvidia.com</email>
</author>
<published>2026-07-20T20:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ca8de19382c668cf8770ee788478edcd8a22d0e7'/>
<id>urn:sha1:ca8de19382c668cf8770ee788478edcd8a22d0e7</id>
<content type='text'>
MemoryBinGoogleTest.PopulatesFromValidHob asserted fixed page counts for
each memory type.  PopulateMemoryTypeInformation, however, rounds the
runtime memory types (EfiReservedMemoryType, EfiACPIMemoryNVS,
EfiRuntimeServicesCode, EfiRuntimeServicesData) up to
RUNTIME_PAGE_ALLOCATION_GRANULARITY.  That granularity equals EFI_PAGE_SIZE
on IA32/X64, so the hard-coded values happened to match, but it is 64 KiB
on AArch64, where the same inputs round up to different page counts and the
test failed.

Compute the expected page counts with the same granularity rounding the
production code uses, so the test passes on all host architectures instead
of only x86.

Signed-off-by: Jeff Brasen &lt;jbrasen@nvidia.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Dxe Core: Correct gMemoryTypeInformation Definition</title>
<updated>2026-07-09T12:46:51+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2026-06-22T14:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c38340a0c198e8e5c07a3820796c624109060b96'/>
<id>urn:sha1:c38340a0c198e8e5c07a3820796c624109060b96</id>
<content type='text'>
Commit 43e306806e3c1ed3ad7e9913492732e893cafa0f added support
to DXE Core for EfiUnacceptedMemoryType. However, it incorrectly
added EFI_GCD_MEMORY_TYPE_UNACCEPTED to gMemoryTypeInformation,
which is the GCD memory type that is associated with
EfiUnacceptedMemoryType. All other changes from that PR
appear correct.

This is corrected to the EFI memory type.

The Memory Bin Google Test copied this incorrect definition,
so it is updated as well.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
</feed>
