This project is mirrored from https://github.com/tianocore/edk2.git.
Pull mirroring updated .
- 11 May, 2022 3 commits
-
-
Yi Li authored
Recommend from Gerd: (2) Keep the EC config option, but update process_files.pl to automatically add the PcdEcEnabled config option handling to the files it generates. When remove 'no-ec' from openssl configure list, will automatically remove 'OPENSSL_NO_EC', 'OPENSSL_NO_ECDH', 'OPENSSL_NO_ECDSA', 'OPENSSL_NO_TLS1_3', form header, and add '/ec/.', '/sm2/.' files to INF files. Signed-off-by:
Yi Li <yi1.li@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com>
-
Yi Li authored
Move auto-generated openssl config to openssl/opensslconf_generated, And openssl/opensslconf.h will contain both edk2 conditional openssl feature and openssl/opensslconf_generated. Will make two part more clear. New conditional feture code in opensslconf.h will look like: /* Autogenerated conditional openssl feature list starts here */ [.....] /* Autogenerated conditional openssl feature list ends here */ Signed-off-by:
Yi Li <yi1.li@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com>
-
Yi Li authored
PcdOpensslXXXEnabled is a more appropriate choice. Signed-off-by:
Yi Li <yi1.li@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com>
-
- 09 May, 2022 5 commits
-
-
Chao Li authored
Fix misspelling of word "Prerequisites". In the step 5 of the Prerequisites section, the python command was missing the "-r" option, what the command really meant was to install from the given requirements file, so fix that. Cc: sean.brogan@microsoft.com Cc: Bret.Barkelew@microsoft.com Cc: michael.d.kinney@intel.com Cc: gaoliming@byosoft.com.cn Signed-off-by:
Chao Li <lichao@loongson.cn> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
Gua Guo authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3917 When PlatformPkg.dsc has multiple SKU IDs but didn't exist delta PCD, System will hang on BuildPcdDxeDataBase. Ideally, if didn't exist delta PCD by different SKU ID, UpdatePcdDatabase () shouldn't return EFI_NOT_FOUND. Signed-off-by:
Gua Guo <gua.guo@intel.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
Chao, Zhuoran authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3913 The original flow of PcRtcInit() is like: 1. Guarantee atomic accesses to the RTC time registers and read out the value. 2. Program RTC register B. (adopt 12h mode or 24h mode. Current bios code sets RTC to 24h mode by default). 3. Then function ConvertRtcTimeToEfiTime converts the RTC time value to their 24h mode by checking the hour format bit (1:24h mode,0:12h mode). And here lies the problem: Step3 will fail to adjust the value if Step2 already sets RTC to 24h mode. The hour value in 12h mode will not be converted to its 24h mode. The solution is to program RTC register B a little later when all the original RTC registers' value is retrieved, adjusted and validated. ConvertRtcTimeToEfiTime is modified to be more robust. Reviewed-by:
Ray Ni <ray.ni@intel.com> Signed-off-by:
Zhuoran Chao <zhuoran.chao@intel.com>
-
Tan, Dun authored
Add double quotes to LlvmObjcopyPath. Blank space in LlvmObjcopyPath will cause build failure. This build failure is introduced by 2306555b ( "UefiPayloadPkg: Fix IA32 entry build failure"). Signed-off-by:
Dun Tan <dun.tan@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Reviewed-by:
Guo Dong <guo.dong@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Sean Rhodes <sean@starlabs.systems>
-
Li, Zhihao authored
REF? https://bugzilla.tianocore.org/show_bug.cgi?id=3912 UefiCpuPkg define a new Protocol with the new services SmmWaitForAllProcessor(), which can be used by SMI handler to optionally wait for other APs to complete SMM rendezvous in relaxed AP mode. VariableSmm and VariableStandaloneMM driver in MdeModulePkg need to use this services but MdeModulePkg can't depend on UefiCpuPkg. Thus, the solution is moving SmmCpuRendezvouslib.h from UefiCpuPkg to MdePkg and creating SmmCpuRendezvousLib NullLib version implementation in MdePkg as dependency for the pkg that can't depend on UefiCpuPkg. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Michael Kubacki <mikuback@linux.microsoft.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Signed-off-by:
Zhihao Li <zhihao.li@intel.com> Acked-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
- 06 May, 2022 9 commits
-
-
Min Xu authored
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3249 Add README for TDVF. Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Erdem Aktas <erdemaktas@google.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by:
Min Xu <min.m.xu@intel.com> Acked-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com>
-
Yu Pu authored
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Guo Dong <guo.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Signed-off-by:
Yu Pu <yu.pu@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
Yu Pu authored
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Signed-off-by:
Yu Pu <yu.pu@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
Yu Pu authored
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Yu Pu <yu.pu@intel.com> Reviewed-by:
Gerd Hoffmann <kraxel@redhat.com>
-
Yu Pu authored
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by:
Yu Pu <yu.pu@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com>
-
Yu Pu authored
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by:
Yu Pu <yu.pu@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com>
-
Yu Pu authored
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by:
Yu Pu <yu.pu@intel.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
duntan authored
Add definition for UNIVERSAL_PAYLOAD_COMMAND_LINE Hob. This Hob is used to pass command Line to Payload. Signed-off-by:
Dun Tan <dun.tan@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Reviewed-by:
Guo Dong <guo.dong@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
-
Chen, Christine authored
The FMMT python tool is used for firmware files operation, which has the Fv/FFs-based 'View'&'Add'&'Delete'&'Replace' operation function: 1.Parse a FD(Firmware Device) / FV(Firmware Volume) / FFS(Firmware Files) 2.Add a new FFS into a FV file (both included in a FD file or not) 3.Replace an FFS in a FV file with a new FFS file 4.Delete an FFS in a FV file (both included in a FD file or not) 5.Extract the FFS from a FV file (both included in a FD file or not) This version of FMMT Python tool does not support PEIM rebase feature, this feature will be added in future update. Currently the FMMT C tool is saved in edk2-staging repo, but its quality and coding style can't meet the Edk2 quality, which is hard to maintain (Hard/Duplicate Code; Regression bugs; Restrict usage). The new Python version keeps same functions with origin C version. It has higher quality and better coding style, and it is much easier to extend new functions and to maintain. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1847 RFC Link: https://edk2.groups.io/g/devel/message/82877 Staging Link: https://github.com/tianocore/edk2-staging/tree/PyFMMT Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by:
Yuwei Chen <yuwei.chen@intel.com> Reviewed-by:
Bob Feng <bob.c.feng@intel.com> Acked-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
- 03 May, 2022 3 commits
-
-
Rebecca Cran authored
With GNU Make 4.2.1, ifeq ($(EDK2_DSC),"") doesn't catch the case where EDK2_DSC isn't defined. So, switch to using ifndef. Signed-off-by:
Rebecca Cran <rebecca@bsdio.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Rebecca Cran authored
The debugger in Arm Development Studio 2021.2 doesn't work with "ec = debugger.getExecutionContext(0)" because it's subsequently unable to access memory. Fix it by switching to "ec = debugger.getCurrentExecutionContext()". The documentation for waitForStop() says: "It is not needed after a call to stop() because stop() is blocking." So, remove the call to waitForStop. Signed-off-by:
Rebecca Cran <rebecca@bsdio.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Rebecca Cran authored
An error message in Scripts/Ds5/edk2_debugger.py was missing the word 'not'. Signed-off-by:
Rebecca Cran <rebecca@bsdio.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
- 02 May, 2022 1 commit
-
-
Corvin Köhne authored
QemuFwCfg is much more powerful than BhyveFwCtl. Sadly, BhyveFwCtl decided to use the same IO ports as QemuFwCfg. It's not possible to use both interfaces simultaneously. So, prefer QemuFwCfg over BhyveFwCtl. Signed-off-by:
Corvin Köhne <c.koehne@beckhoff.com> Reviewed-by:
Rebecca Cran <rebecca@bsdio.com> Acked-by:
Gerd Hoffmann <kraxel@redhat.com> Acked-by:
Peter Grehan <grehan@freebsd.org> Acked-by:
Jiewen Yao <jiewen.yao@intel.com>
-
- 30 Apr, 2022 1 commit
-
-
Gerd Hoffmann authored
Was dropped by accident. Fixes: b4757580 ("OvmfPkg: move tcg configuration to dsc and fdf include files") Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com>
-
- 28 Apr, 2022 1 commit
-
-
Jake Garver via groups.io authored
In the Dynamic-Library-File template, add missing output file declarations. These files are generated by the template and other rules explicitly depend on them. This change resolves missing dependency issues we encountered while running a recursive make with job control. Signed-off-by:
Jake Garver <jake@nvidia.com> Reviewed-by:
Bob Feng <bob.c.feng@intel.com>
-
- 25 Apr, 2022 7 commits
-
-
Gerd Hoffmann authored
Try query native display resolution from the host. When successful, setup PcdVideoHorizontalResolution and PcdVideoVerticalResolution accordingly and add the video mode to the GOP mode list if needed. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Gerd Hoffmann authored
Add new function to initialize the GOP, move over setup code. Handle initialization first, specifically before calling GopQueryMode(), so GopQueryMode is never called before GopInitialize() did complete. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Gerd Hoffmann authored
Call GopQueryMode() in GopSetMode(), use the ModeInfo returned when setting the mode. This is needed to properly handle modes which are not on the static mGopResolutions list. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Gerd Hoffmann authored
Add support for sending a GetDisplayInfo command. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Gerd Hoffmann authored
Add GetDisplayInfo command, reply and data struct to the virtio-gpu specification header file. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Gerd Hoffmann authored
Extend VirtioGpuSendCommand() to support commands which return data, rename the function to VirtioGpuSendCommandWithReply() to indicate that. Add a new VirtioGpuSendCommand() function which is just a thin wrapper around VirtioGpuSendCommandWithReply() so existing code continues to work without changes. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Bo Chang Ke authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3906 update smbiosview type 0 related fileds. Signed-off-by:
Bo Chang Ke <bo-changx.ke@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by:
Zhichao Gao <zhichao.gao@intel.com>
-
- 22 Apr, 2022 9 commits
-
-
Gerd Hoffmann authored
ConSplitterDxe will pick the highest available resolution then, thereby making better use of the available display space. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Gerd Hoffmann authored
ConSplitterDxe will pick the highest available resolution then, thereby making better use of the available display space. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Gerd Hoffmann authored
Add modes for a few common display resolutions higher than 800x600, specifically 1024x768, 1280x800 and 1920x1080, so ConSplitterDxe has more options available. The mode list is not use as-is, InitializeGraphicsConsoleTextMode() will check the list and filter out any modes which don't fit to the screen, so this will also work fine for small displays. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Michael Kubacki authored
Adds a link to the log output that contains instructions on how find detailed file formatting errors in the Azure DevOps UI. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Signed-off-by:
Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by:
Sean Brogan <sean.brogan@microsoft.com>
-
Michael Kubacki authored
The NOOPT build target is used for host-based unit tests. This change adds the NOOPT target for all packages to ensure that tests are executed if present. If the host-based DSC is not specified in the packages CI YAML file, the host-based compiler plugin will be reported as a skipped test. Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by:
Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by:
Sean Brogan <sean.brogan@microsoft.com>
-
Li, Yi1 authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3828 This is a bugfix of bf9230a9 . 1.In the current code, gPlatformFinalPcd will save all PCDs used at whole compile process, which wastes runtime memory and is unnecessary. This patch makes gPlatformFinalPcd save only the PCDes which are assigned in the DSC file, and the PCD that has not been assigned will use the default value in DEC. 2.During the compilation process, gPlatformFinalPcd may be lost, and the current code cannot selectively assign PCD in DSC by specifying ARCH. This patch moves gPlatformFinalPcd into datapipe and modifies the assignment logicto fix this. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by:
yi1 li <yi1.li@intel.com> Reviewed-by:
Bob Feng <bob.c.feng@intel.com>
-
Tan, Dun authored
The ObjCopyFlag and EntryOutputDir need to be modified when building IA32 UniversalPayload Entry Signed-off-by:
Dun Tan <dun.tan@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Guo Dong <guo.dong@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by:
Guo Dong <guo.dong@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
Bo Chang Ke authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3896 update smbiosview type 9 related fileds. Signed-off-by:
Bo Chang Ke <bo-changx.ke@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by:
Zhichao Gao <zhichao.gao@intel.com>
-
Bo Chang Ke authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3896 update smbiosview type 9 related fileds. Signed-off-by:
Bo Chang Ke <bo-changx.ke@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Star Zeng <star.zeng@intel.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
- 21 Apr, 2022 1 commit
-
-
Yi Li authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828 Tls/Base/Pei/Smm/RuntimeCryptLib.inf will use OpensslLib, and the opensslconf.h in openssllib will use PcdEcEnabled, but it is not declared in the inf file now, it will cause warnings in some compilers. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Signed-off-by:
Yi Li <yi1.li@intel.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com>
-