summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* pip: update edk2-pytool-library requirement from ~=0.21.9 to ~=0.22.4dependabot/pip/edk2-pytool-library-approx-eq-0.22.4dependabot[bot]2025-01-061-1/+1
| | | | | | | | | | | | | Updates the requirements on [edk2-pytool-library](https://github.com/tianocore/edk2-pytool-library) to permit the latest version. - [Release notes](https://github.com/tianocore/edk2-pytool-library/releases) - [Commits](https://github.com/tianocore/edk2-pytool-library/compare/v0.21.9...v0.22.4) --- updated-dependencies: - dependency-name: edk2-pytool-library dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* OvmfPkg/VirtioSerialDxe: respond CONSOLE_PORT with PORT_OPENPedro Tôrres2025-01-041-0/+1
| | | | | | | | | | | | | | | | | | | | The VirtIO spec states that "Upon receipt of a VIRTIO_CONSOLE_CONSOLE_PORT message, the driver SHOULD treat the port in a manner suitable for text console access and MUST respond with a VIRTIO_CONSOLE_PORT_OPEN message, which MUST have value set to 1". See https://docs.oasis-open.org/virtio/virtio/v1.3/virtio-v1.3.html#x1-3330002. The current driver implementation, however, does not comply with that and only sends PORT_OPEN messages upon receipt of PORT_OPEN messages. This causes a problem in platforms like Apple's Virtualization Framework, where PORT_OPEN messages are not sent back to the driver after CONSOLE_PORT messages are received by the device, a behaviour that is compliant with the VirtIO specification. This patch addresses this issue by always responding CONSOLE_PORT messages with PORT_OPEN messages. Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com>
* RedfishPkg/RedfishPlatformConfigDxe: check attribute max. and min. valueNickle Wang2025-01-031-4/+35
| | | | | | | | | - For integer attribute, check and see if its value is between maximum and minimum value defined by HII question. - For string attribute, check and see if its string length is between maximum string length and minimum string length defined by HII question. Signed-off-by: Nickle Wang <nicklew@nvidia.com>
* FatPkg: CI: Add PrEval entryJoey Vagedes2025-01-021-1/+4
| | | | | | | | | | | | | | Adds a PrEval entry to the package's ci.yaml file which is used to verify if the package uses a particular library instance when that library instance file (INF) is updated. When a library instance file (INF) is updated, PrEval will review each package's DSC as described in the ci.yaml file to determine if the package uses said library instance. If the package does use the library instance, it will be built and tested to ensure the package is not broken from the change. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
* CryptoPkg: Add sleep() function to BaseCryptLibMbedTlsKalavakolanu, Hema Anmisha2025-01-021-0/+9
| | | | | | | In BaseCryptLib sleep() function is defined, apply the same sleep function to BaseCryptLibMbedTls Signed-off-by: "Kalavakolanu, Hema Anmisha" <hema.anmisha.kalavakolanu@intel.com>
* NetworkPkg/UefiPxeBcDxe: Bugfix for pxe driverBing Luo2024-12-311-2/+6
| | | | | | Ensure the poniter is not null before free it Signed-off-by: Bing Luo <robin.luo@jaguarmicro.com>
* UefiPayloadpkg Add Missing part backLinus Liu2024-12-301-0/+8
| | | | | | Add back reg attribute of pcirootbridge Signed-off-by: Linus Liu <linus.liu@intel.com>
* UefiPayloadPkg :Update RetrieveMultiSegmentInfoFromHobLinus Liu2024-12-301-13/+66
| | | | | | | | | Merge the PCI root bridge with the same segment address within one. PciSegment element. UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.c Signed-off-by: Linus Liu <linus.liu@intel.com>
* OvmfPkg: Enable virtio keyboard driver for Ia32x64 OVMF platformPaweł Poławski2024-12-292-0/+2
| | | | Signed-off-by: Paweł Poławski <ppolawsk@redhat.com>
* OvmfPkg: Enable virtio keyboard driver for X64 OVMF platformPaweł Poławski2024-12-292-0/+2
| | | | Signed-off-by: Paweł Poławski <ppolawsk@redhat.com>
* ArmVirtPkg: Enable virtio keyboard driver for ARM OVMF platformPaweł Poławski2024-12-291-0/+1
| | | | Signed-off-by: Paweł Poławski <ppolawsk@redhat.com>
* OvmfPkg: Virtio based keyboard driver implementationPaweł Poławski2024-12-294-0/+2067
| | | | | | | | | | This is virtio based keyboard driver designed to be used on ARM platform. The driver implements basic and extended text input interface. UEFI shell requires only basic text input interface, but Grub needs extended text input to work on. Signed-off-by: Paweł Poławski <ppolawsk@redhat.com>
* OvmfPkg: Add virtio keyboard device hooksPaweł Poławski2024-12-292-0/+29
| | | | | | | | This commit adds: - missing virtio subsystem ID for input device - PrepareVirtioKeyboardDevicePath() handler to boot manager library Signed-off-by: Paweł Poławski <ppolawsk@redhat.com>
* Redfish/HiiUtilityLib Fix incorrect type assignmentIgor Kulchytskyy2024-12-271-3/+17
| | | | | | | | | Replaced direct assignment of 'Value = (EFI_HII_VALUE *)&Question->Value' with the correct usage of HiiStatementValueToHiiValue function. This resolves the issue where EFI_HII_VALUE and HII_STATEMENT_VALUE types are incompatible, ensuring proper handling of Question->Value. Signed-off-by: Igor Kulchytskyy <igork@ami.com>
* MdePkg: UefiDevicePathLib: Add Display Only format for Hard Drive.Huang Yuqi2024-12-251-4/+8
| | | | | | Ref: UEFI Specification Version 2.1 (Errata D) (released October 2008) Signed-off-by: Huang Yuqi <huangyq13@lenovo.com>
* UefiPayloadPkg: Align base address for ACPI regionAjan Zhong2024-12-251-1/+8
| | | | | | | | | | | | In platform which support ACPI 2.0 only, the base address of ACPI region is not page aligned. This unalinged base address leads to failure at BuildMemoryAllocationHob when parsing ACPI node in FdtParserLib, before building gUniversalPayloadAcpiTableGuid GUID HOB. Align base address of ACPI region down to EFI_PAGE_SIZE to make sure base address always aligned. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
* IntelFsp2WrapperPkg: Save FspHobListPtr right after FspMemoryInit exitsDu Lin2024-12-253-11/+42
| | | | | | | | | Save FspHobList pointer to HOB right after FspMemoryInit exits so that FspHobList pointer is available when performing platform related reset in CallFspWrapperResetSystem(). Some platforms may consume FSP HOBs prior to performing platform related reset. Signed-off-by: Du Lin <du.lin@intel.com>
* Remove dependancy on re.TAshraf Ali2024-12-241-1/+0
| | | | Signed-off-by: Ashraf Ali <ashraf.ali.s@intel.com>
* UefiPayloadPkg: Set PixelsPerScanLine property in GraphicInfo HOBAjan Zhong2024-12-241-0/+3
| | | | | | | | | | | | PixelsPerScanLine is required in some UEFI capable OS distribution. To align with simple-framebuffer definition in kernel Documentation: devicetree/bindings/display/simple-framebuffer.txt, no property node will be introduced for PixelsPerScanLine. Set value of PixelsPerScanLine to HorizontalResolution, as they are identical in most cases. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
* ArmPkg: Update Generic Watchdog PCD TypeAshish Singhal2024-12-232-10/+10
| | | | | | | Do not use the PCDs as only fixed when there is an option to use them as dynamic that can be set per SKU. Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
* OvmfPkg: add new shell runtime config option to documentation.Luigi Leonardi2024-12-231-1/+11
| | | | Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
* OvmfPkg/PlatformBootManagerLib: Optimize PlatformRegisterFvBootOptionLuigi Leonardi2024-12-231-0/+9
| | | | | | | | Add a FileIsInFv check to PlatformRegisterFvBootOption, this is to to avoid adding and then removing a boot option shortly after, because the file is no longer in the firmware volume. Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
* OvmfPkg/PlatformBootManagerLib: Introduce FileIsInFv function.Luigi Leonardi2024-12-231-54/+87
| | | | | | | | Move out file presence check from RemoveStaleFvFileOptions to a new helper function for reusability. No functional changes intended. Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
* OvmfPkg/PlatformBootManagerLib: Introduce support for fw_cfg for UEFI ShellLuigi Leonardi2024-12-233-1/+17
| | | | | | usage: qemu -fw_cfg name=opt/org.tianocore/EFIShellSupport,string=no Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
* OvmfPkg: Add a runtime switch for PlatformRegisterFvBootOptionLuigi Leonardi2024-12-231-4/+13
| | | | | | Add a new parameter to selectively enable or disable the BootOption. Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
* OvmfPkg/LoongArch: Enabling some base librariesChao Li2024-12-231-0/+12
| | | | | | | | | | BaseCryptLib, RngLib, IntrinsicLib and OpensslLib are enabled by default on LoongArch VM, since some APPs or OS require them. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Chao Li <lichao@loongson.cn>
* UefiCpuPkg: Add dump interrupt type on LoongArch64Chao Li2024-12-233-0/+61
| | | | | | | | | | | | | | If the exception type is INT, we need to know which interrupt could not be handled, so we added a method to dump them. Cc: Ray Ni <ray.ni@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Dun Tan <dun.tan@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn>
* UefiCpuPkg: Adjust the exception handler logic on LoongArch64Chao Li2024-12-233-16/+8
| | | | | | | | | | | | | | | There is a problem with LoongArch64 exception handler, it returns a unhandled value when we get an exception type, the correct value should be right shifted 16 bits, so fix it. Cc: Ray Ni <ray.ni@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Dun Tan <dun.tan@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn>
* MdeModulePkg/XhciDxe: Non-zero start/stop values in XhcGetElapsedTicksHenz, Patrick2024-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4578 The implementation of XhcGetElapsedTicks did not account for non-zero start and stop values for the performance counter timer, potentially resulting in an incorrect elapsed tick count getting returned to the caller. Account for non-zero start and stop values when calculating the elapsed tick count. Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Patrick Henz <patrick.henz@hpe.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Hao A Wu <hao.a.wu@intel.com> Message-ID: <c3038878c4d30c54e60cce7192cf1aa60c30ad2e.1698770394.git.patrick.henz@hpe.com> Resolve rebase conflict from commit ff4c49a5ee38 ("MdeModulePkg/Bus: Fix XhciDxe Linker Issues", 2023-12-06): rename "mPerformanceCounter*" to "mXhciPerformanceCounter*". Signed-off-by: Laszlo Ersek <laszlo.ersek@posteo.net>
* .github: Add issue automation workflowsMichael Kubacki2024-12-214-0/+280
| | | | | | | | | | | | | | | | | | | | | | REF: https://github.com/tianocore/edk2/discussions/5926 Adds workflows to manage labels on issues based on issue content. Workflows: - `issue-assignment` - Performs actions when an issue is assigned. - Currently, removed the `state:needs-owner` label. - `issue-triage` - Assigns initial labels to the issue based on data entered when the issue was created. - The policies for applying labels are defined in - `advanced-issue-labeler.yml` - Note: Based on https://github.com/marketplace/actions/advanced-issue-labeler - `scheduled-maintenance` - Runs every hour to perform clean up work need on issues. - Currently, closes issues that have had the `state:wont-fix` label applied. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
* BaseTools: Support custom library build for base tools on Linux ARMkuqin122024-12-207-8/+127
| | | | | | | | | | | | | | | | | | | This change added the build script to cross compile the base tool binaries for Linux ARM/AARCH64 systems. The needed libuuid system library is pulled from source file and rebuilt to support the corresponding library dependencies. Individual tools' makefiles are also updated to link the cross compiled library as well. The EDK2 base tool build script was also updated to support such change. This was tested functional on Linux ARM host system. Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Kun Qin <kun.qin@microsoft.com>
* BaseTools: Adding cross compilation of BaseTool for Windows ARM/ARM64Kun Qin2024-12-205-14/+135
| | | | | | | | | | | | | | | | | | This change adds the support of crossbuilding basetool for Windows ARM/ ARM64 systems, which will enable the generally available pipeline agents to build binary tools and make releases as they see fit. The EDK2 base tools build script is also updated to support cross compilation using this script. The crossbuilt binary output is tested on Windows ARM based hardware systems. Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Kun Qin <kun.qin@microsoft.com>
* BaseTools: Adding support of building BaseTool on Windows ARM/ARM64kuqin122024-12-207-0/+29
| | | | | | | | | | | | | | | | | | | This change focuses on the support of building basetool natively for Windows ARM/ARM64 host system, which will enable the ARM based platforms to build UEFI and unit tests. Note that the warnings due to integer conversions are suppressed for this specific target to avoid too much local changes carried in MU. The formal change should drop all these binaries and move to pythonic scripts. The binary output is tested on Windows ARM based hardware systems. Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Kun Qin <kun.qin@microsoft.com>
* StandaloneMmPkg/Core: Support to dispatch multiple standalone MM FVsWei6 Xu2024-12-204-39/+134
| | | | | | | Add support to dispatch multiple standalone MM FVs for StandaloneMmCore. Set the maximum supported FV count to 2. Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
* .github: Add GitHub issue templatesMichael Kubacki2024-12-204-5/+468
| | | | | | | | | | | | | | | | REF:https://github.com/tianocore/edk2/discussions/5926 Adds GitHub form isssue templates for bugs, documentation requests, and feature requests. These files define the form structure in YAML to be rendered by GitHub in the edk2 repo issues area. See the referenced RFC for additional details. Future changes will add automation tasks described in the RFC. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
* IntelFsp2Pkg : Add FSP-I arch config PPIHongbin1 Zhang2024-12-202-1/+59
| | | | | | | | | | | | | | | | Add FSP-I arch config PPI header file and GUID for supporting FSP-I to get Bootloader MM FV address and length, Bootloader MM FV context Data address and length under dispatch mode Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com> Cc: Ted Kuo <ted.kuo@intel.com> Cc: Ashraf Ali S <ashraf.ali.s@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
* IntelFsp2WrapperPkg/FspiWrapperPeim : Support FSP-I measurementHongbin1 Zhang2024-12-203-0/+96
| | | | | | | | | | | | | | | Add code to support FSP-I binary measurement. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com> Cc: Chen Gang C <gang.c.chen@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Ted Kuo <ted.kuo@intel.com> Cc: Ashraf Ali S <ashraf.ali.s@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com>
* IntelFsp2WrapperPkg/FspiWrapperPeim : Support API modeHongbin1 Zhang2024-12-2013-1/+285
| | | | | | | | | | | | | | Add fspsmm init interface for API mode. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com> Cc: Chen Gang C <gang.c.chen@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Ted Kuo <ted.kuo@intel.com> Cc: Ashraf Ali S <ashraf.ali.s@intel.com> Cc: Ray Ni <ray.ni@intel.com>
* IntelFsp2Pkg : Add fsp status code for fspsmm initHongbin1 Zhang2024-12-201-0/+1
| | | | | | | | | | | | | Add fsp status code for fspsmm init interface. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Ted Kuo <ted.kuo@intel.com> Cc: Ashraf Ali S <ashraf.ali.s@intel.com> Cc: Ray Ni <ray.ni@intel.com>
* IntelFsp2WrapperPkg/FspiWrapperPeim : Support dispatch modeHongbin1 Zhang2024-12-203-3/+43
| | | | | | | | | | | | | | Add FSP-SMM code for dispatch mode. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com> Cc: Chen Gang C <gang.c.chen@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Ted Kuo <ted.kuo@intel.com> Cc: Ashraf Ali S <ashraf.ali.s@intel.com> Cc: Ray Ni <ray.ni@intel.com>
* IntelFsp2WrapperPkg/FspiWrapperPeim : FSP-I wrapper PEIM entrypointHongbin1 Zhang2024-12-203-1/+82
| | | | | | | | | | | | | | | FSP-I wrapper PEIM entrypoint is for including FSP-SMM code for both dispatch and API mode. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com> Cc: Chen Gang C <gang.c.chen@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Ted Kuo <ted.kuo@intel.com> Cc: Ashraf Ali S <ashraf.ali.s@intel.com> Cc: Ray Ni <ray.ni@intel.com>
* StandaloneMmPkg/MmIpl : Add MM core fv location PPI supportHongbin1 Zhang2024-12-203-6/+43
| | | | | | | | | | | | | | | MmIpl should locate MM core FV location PPI to find current MM FV location. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Wei6 Xu <wei6.xu@intel.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
* StandaloneMmPkg : Add MM core fv location PPIHongbin1 Zhang2024-12-202-0/+37
| | | | | | | | | | | | | | | | Add MM core FV location PPI, it will include MM core FV location which could be in FSP-I or Bootloader MM FV. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Wei6 Xu <wei6.xu@intel.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
* StandaloneMmPkg/MmIpl : Check if MM FV HOB was builtHongbin1 Zhang2024-12-201-4/+52
| | | | | | | | | | | | | | | Skip MM FV HOB build if MM platform HOB list already has the HOB. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Wei6 Xu <wei6.xu@intel.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
* UefiPkg/PiSmmCpuDxeSmm: Set SmmProfile Variable only for DXE SMMZhao,Yanxin2024-12-201-6/+9
| | | | | | | | | | | | Some platforms plan to move the Standalone MM CPU driver into the FSP. However, there is no variable service support in FSP. Therefore, the SetVariable logic for the Standalone MM CPU will be removed. With this change, users can dump the SmmProfile data from the Memory Allocation HOB: gMmProfileDataHobGuid. This change does not impact the DXE SMM, which will still retrieve the SmmProfile data from the variable service. Signed-off-by: Yanxin Zhao <yanxin.zhao@intel.com>
* UefiPayloadPkg: Fix the issue detected by UncrustifyGuo Dong2024-12-191-44/+48
| | | | Signed-off-by: Guo Dong <guo.dong@intel.com>
* UefiPayloadPkg: Enhance universal payload buildGuo Dong2024-12-191-7/+8
| | | | | | | If there is no relocation in the payload it would build failure. This will fix the build failure. Signed-off-by: Guo Dong <guo.dong@intel.com>
* UefiPayloadPkg: Enhance Universal payload serial port nodeGuo Dong2024-12-191-33/+77
| | | | | | | | | | Current implementation only supports serial port sub-node under PCI root bridge node. This enhancement support serial port node regardless it is under root node or PCI root bridge node using a single FDT passing function. Signed-off-by: Guo Dong <guo.dong@intel.com>
* .pytool/EccCheck: Open files in utf-8Michael Kubacki2024-12-191-4/+4
| | | | | | | | | | | | The EccCheck plugin currently fails if a file contains characters outside the platform-dependent encoding returned from locale.getencoding(). This change updates the encoding to utf-8 so the plugin is more robust while continuing to support backward compatibility with the ASCII range. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
* .pytool/LicenseCheck: Open files in utf-8Michael Kubacki2024-12-191-1/+1
| | | | | | | | | | | | The LicenseCheck plugin currently fails if a file contains characters outside the platform-dependent encoding returned from locale.getencoding(). This change updates the encoding to utf-8 so the plugin is more robust while continuing to support backward compatibility with the ASCII range. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>