ReleaseMicrosoftMicrosoftpublished Aug 12, 2025seen 1d

microsoft/mu_feature_config v6.0.1

microsoft/mu_feature_config

Open original ↗

Captured source

source ↗
published Aug 12, 2025seen 1dcaptured 9hhttp 200method plain

v6.0.1

Repository: microsoft/mu_feature_config

Tag: v6.0.1

Published: 2025-08-12T20:09:48Z

Prerelease: no

Release notes:

What's Changed

Include PcdLib and BaseMemoryLib since in the autogen header since it invokes PcdGetPtr() and CopyMem() @v-yuanhengwu (#493)

Change Details

Description

In the autogen service header (e.g. ConfigServiceGenerated.h), PcdGetPtr() and CopyMem() are invoked, but it does not include corresponding PcdLib.h and BaseMemoryLib.h.

Currently when we include ConfigServiceGenerated.h in another .c file, we usually get build errors and realize that we also need to include PcdLib.h and BaseMemoryLib.h.

It would be better if we could have the right inclusion in the autogen header, as well as ConfigClientGenerated.h includes Uefi.h.

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

  • [ ] Impacts functionality?
  • [ ] Impacts security?
  • [ ] Breaking change?
  • [ ] Includes tests?
  • [ ] Includes documentation?

How This Was Tested

  • Built and Booted System UEFI with .c files which include ConfigServiceGenerated.h.
  • Built and Booted System UEFI with .c filfes which include ConfigServiceGenerated.h and also include PcdLib.h and BaseMemoryLib.h as before.
  • Compared and verified the AutoGen headers before and after this code diff

Before:

#ifndef CONFIGSERVICEGENERATED_H
#define CONFIGSERVICEGENERATED_H
// The config public header must be included prior to this file
// Generated Header

After:

#ifndef CONFIGSERVICEGENERATED_H
#define CONFIGSERVICEGENERATED_H
#include
#include
// The config public header must be included prior to this file
// Generated Header

Integration Instructions

N/A

VfrToXmlConverter Version 0.5: Support Multi-XML @v-yuanhengwu (#491)

Change Details

Description

VfrToXmlConverter Version 0.5: Support Multi-XML

  • Add --check_all to check all checkboxes
  • Add --cfg_xml argument to support loading Config XML from files
  • Add --merge_xml argument in CLI mode to merge multiple XML files
  • Add "File -> Open Config XML File(s)..." to load Config XML files in GUI
  • Avoid unnecessary empty lines generated by xml_root_to_string()
  • Wrap xml verification logic into a function xml_verify() for better maintenance
  • [ ] Impacts functionality?
  • [ ] Impacts security?
  • [ ] Breaking change?
  • [ ] Includes tests?
  • [ ] Includes documentation?

How This Was Tested

1. Run regular tests to generate Config XML files on several platforms 2. Try to split PlatformCfgData.xml by export function, and then:

  • Merge the xml files back by -cli --merge_xml
  • Load and merge xml files by selecting multiple XML files in GUI
  • Compare those XML files by --compare_xml function
  • Compare those XML files with Beyond Compare to check if they are identical
  • Check whether --verify_xml still works after merging in build plugins

Integration Instructions

N/A

Modified ConfApp reset mechanism from ResetCold() to ResetSystemWithSubtype() @v-bhavanisu (#488)

Change Details

Description

Modified ConfApp reset mechanism from ResetCold() to ResetSystemWithSubtype()

In some platform, silicon specific operation need to be triggered before system go for reset to avoid switching of bank. The silicon code base take care of calling the required APIs before triggering the reset. But any reset from MU code base need to be handled differently as silicon specific code can't be added in generic code.

For reset from ConfApp, pass a unique GUID in reset so that platform reset hook (registered using gEdkiiPlatformSpecificResetFilterProtocolGuid) can identify the reset from ConfApp and trigger the silicon specific APIs to prevent switching of bank.

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

  • [ ] Impacts functionality?
  • [ ] Impacts security?
  • [ ] Breaking change?
  • [ ] Includes tests?
  • [ ] Includes documentation?

How This Was Tested

Included this change on to a platform repo and tested that Cold Reset happens without issues

Integration Instructions

N/A

VfrToXmlConverter Version 0.4: Support creating output.xml from multiple INF files @v-yuanhengwu (#477)

Change Details

Description

VfrToXmlConverter Version 0.4: Support creating output.xml from multiple INF files

  • Handle --inf_file inputs as a list of files
  • Support multiple selections in GUI open_inf_file()
  • Update --help
  • Wrap xml verification code into a function xml_verify() for better maintenance
  • [ ] Impacts functionality?
  • [ ] Impacts security?
  • [ ] Breaking change?
  • [ ] Includes tests?
  • [ ] Includes documentation?

How This Was Tested

1. Tried to select one .inf file as usual and checked the output.xml works as well as before 2. Tried to select multiple .inf file in GUI and verify the content of output.xml with corresponding .vfr files 3. Tried to select multiple .inf file in CLI mode and compare the output.xml content with 2. above 4. Tested verify function (-cli -vx) and checked the diff count and output prints are the same as before

Integration Instructions

N/A

Full Changelog: https://github.com/microsoft/mu_feature_config/compare/v6.0.0...v6.0.1