Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 4e92a6a9d473ce71a87648538958c59e5b1af24d
      
https://github.com/tianocore/edk2/commit/4e92a6a9d473ce71a87648538958c59e5b1af24d
  Author: Qihang Gao <[email protected]>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c

  Log Message:
  -----------
  MdeModulePkg: Fix issue that French package is unexpectedly cleaned

The DriverHealthManagerStrings.uni file defines both English and French
languages, resulting in the generation of two Unicode string packages: the
first for English and the second for French. When cleaning the dynamic
strings from the HII package list, the pointer which should point to
dynamic string package incorrectly points to the static French package,
causing it to be unexpectedly cleaned.

This patch fixes the pointer of EFI_HII_PACKAGE_END type PackageHeader.
This way, there is no need for concern regarding the number of language
packages available.

Signed-off-by: Qihang Gao <[email protected]>


  Commit: a3c1ea0d0ce0a19cc33a0f9cdbc55a5010f3cda5
      
https://github.com/tianocore/edk2/commit/a3c1ea0d0ce0a19cc33a0f9cdbc55a5010f3cda5
  Author: Qihang Gao <[email protected]>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c

  Log Message:
  -----------
  MdeModulePkg: Optimize the process while cleaning dynamic string

In the current code, the HiiPackageList will be created and destroyed
each time the form is closed, which is unneccessary. This patch makes a
function that produces the origin HiiPackageList. The function will only
be called when the driver is initialized and the HiiPackageList will be
directly updated in DriverHealthManagerCleanDynamicString function. This
approach can avoid the unneccessary creation and destruction of the
HiiPackageList.

Signed-off-by: Qihang Gao <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/7ccc418c23be...a3c1ea0d0ce0

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

Reply via email to