-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing pipeline for Host Unittest #193
base: edk2-ci
Are you sure you want to change the base?
Commits on Nov 22, 2019
-
Mostly through documentation. Progress checkpoint.
Bret Barkelew committedNov 22, 2019 Configuration menu - View commit details
-
Copy full SHA for d24b066 - Browse repository at this point
Copy the full SHA d24b066View commit details -
Bret Barkelew committed
Nov 22, 2019 Configuration menu - View commit details
-
Copy full SHA for 19fbb7b - Browse repository at this point
Copy the full SHA 19fbb7bView commit details -
TEMP: Workaround edk2toolext problem.
Bret Barkelew committedNov 22, 2019 Configuration menu - View commit details
-
Copy full SHA for 9749008 - Browse repository at this point
Copy the full SHA 9749008View commit details
Commits on Nov 25, 2019
-
BaseTools:fix regression issue for platform .map file
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2363 This patch is to fix a build tool regression issue which was introduced by commit b8ac0b7.This issue caused map file lost the line of IMAGE=***. For example,in Ovmf.map, there is no line of (IMAGE=<path to efi> ) under each of modules item. The path to the efi file generated by each module is written on this line The purpose of this line is add the debug image full path. there is no information about the module in the map file other than FVName, it allows us to quickly know which module this part corresponds to. In commit b8ac0b7,add a line ("self.BuildModules = []") in function, but it's used to calculate the variable ModuleList in the following code. Signed-off-by: Zhiju.Fan <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0f8261 - Browse repository at this point
Copy the full SHA e0f8261View commit details -
StandaloneMmPkg: Fix build failure - Bug 2253
The StandaloneMmPkg currently has code for supporting Arm architecture only. Support for X64 and IA32 is currently under development on a separate branch. However, StandaloneMmPkg/StandaloneMmPkg.dsc is indicating that support for X64 and IA32 is available which is causing build failures. This has been reported in https://bugzilla.tianocore.org/show_bug.cgi?id=2253 This issue has been discussed earlier on the list: (1) https://edk2.groups.io/g/devel/message/47276 (2) https://edk2.groups.io/g/devel/message/47283 In light of the above, this patch removes IA32 and X64 from SUPPORTED_ARCHITECTURES, until support for the respective architectures is merged into StandaloneMmPkg. Cc: Achin Gupta <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Supreeth Venkatesh <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Sami Mujawar <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Reviewed-by: Jiewen Yao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 290a485 - Browse repository at this point
Copy the full SHA 290a485View commit details -
MdeModulePkg/Variable: Initialize local variable "Variable"
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2364 Fixes a new build warning in VS2012 introduced in f8ff4cc. This patch initializes the local variable "Variable" in VariableServiceGetNextVariableInternal (). This ensures the pointers in the structure are initialized in the case no variable stores exist in the list of variable stores. Cc: Liming Gao <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Signed-off-by: Michael Kubacki <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bbb5b0d - Browse repository at this point
Copy the full SHA bbb5b0dView commit details -
MdeModulePkg/Variable: Initialize local variable "RtPtrTrack"
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2364 Fixes a new build warning in VS2012 introduced in f8ff4cc. This patch initializes the local variable "RtPtrTrack" in FindVariableInRuntimeCache (). This ensures the pointers in the structure are initialized in the case no variable stores exist in the list of variable stores. Cc: Liming Gao <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Signed-off-by: Michael Kubacki <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd85bf5 - Browse repository at this point
Copy the full SHA bd85bf5View commit details
Commits on Dec 2, 2019
-
MdeModulePkg/VariableSmmRuntimeDxe.inf: list local header "Variable.h"
Commit aab3b9b ("MdeModulePkg/Variable: Add RT GetVariable() cache support", 2019-11-05) added "VariableParsing.h" to "VariableSmmRuntimeDxe.inf". "VariableParsing.h" includes "Variable.h", so the "build" utility is right to warn us that "Variable.h" should be listed in [Sources] too. Cc: Hao A Wu <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Leif Lindholm <[email protected]> Cc: Liming Gao <[email protected]> Cc: Michael Kubacki <[email protected]> Fixes: aab3b9b Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Jian J Wang <[email protected]> Reviewed-by: Leif Lindholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe6142f - Browse repository at this point
Copy the full SHA fe6142fView commit details -
CryptoPkg/OpensslLib: improve INF file consistency
When diffing "OpensslLib.inf" against "OpensslLibCrypto.inf", the *only* differences should be: - BASE_NAME, MODULE_UNI_FILE, and FILE_GUID are expected to differ, in [Defines]; - "OpensslLib.inf" is expected to list "$(OPENSSL_PATH)/ssl/..." source files in the auto-generated part of the [Sources] section. Commit 8906f07 ("CryptoPkg/OpensslLib: Add missing header files in INF file", 2019-08-16) broke that invariant, by adding "buildinf.h" and "rand_pool_noise.h" in different order to both INF files. Fix that order in "OpensslLib.inf" now. (Note that this does not re-establish full consistency between both INF files -- it just highlights another problem, which we'll fix in the next patch.) Cc: Jian J Wang <[email protected]> Cc: Leif Lindholm <[email protected]> Cc: Shenglei Zhang <[email protected]> Cc: Xiaoyu Lu <[email protected]> Fixes: 8906f07 Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Jian J Wang <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Leif Lindholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b49a6c8 - Browse repository at this point
Copy the full SHA b49a6c8View commit details -
CryptoPkg/OpensslLib.inf: list OpenSSL local header "ms/uplink.h"
Commit 8906f07 ("CryptoPkg/OpensslLib: Add missing header files in INF file", 2019-08-16) incorrectly placed "ms/uplink.h" in the auto-generated part of [Sources], in "OpensslLib.inf". ("ms/uplink.h" was added in the right spot in "OpensslLibCrypto.inf".) Subsequently, when commit 9f4fbd5 ("CryptoPkg/OpensslLib: Update process_files.pl to generate .h files", 2019-10-30) re-generated that part of "OpensslLib.inf", the "ms/uplink.h" file reference was lost. This triggers a warning from the "build" utility now. Name the header file in the right spot in [Sources]. This change makes "OpensslLib.inf" consistent with "OpensslLibCrypto.inf". Cc: Jian J Wang <[email protected]> Cc: Leif Lindholm <[email protected]> Cc: Shenglei Zhang <[email protected]> Cc: Xiaoyu Lu <[email protected]> Fixes: 8906f07 Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Jian J Wang <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Leif Lindholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d613fe - Browse repository at this point
Copy the full SHA 4d613feView commit details
Commits on Dec 4, 2019
-
NetworkPkg: Fixes to static code analysis hits
Introducing fixes to memory leak issues identified by static code analysis tool. Cc: Jiaxin Wu <[email protected]> Cc: Siyuan Fu <[email protected]> Signed-off-by: Maciej Rabeda <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Siyuan Fu <[email protected]> Reviewed-by: Jiaxin Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f47eaf - Browse repository at this point
Copy the full SHA 4f47eafView commit details -
MdeModulePkg/MdeModulePkg.uni: Add missing strings for PCD
Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Signed-off-by: Shenglei Zhang <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46f6752 - Browse repository at this point
Copy the full SHA 46f6752View commit details -
NetworkPkg/NetworkPkg.uni: Add missing strings for PCD
Cc: Jiaxin Wu <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Maciej Rabeda <[email protected]> Signed-off-by: Shenglei Zhang <[email protected]> Reviewed-by: Jiaxin Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0844a16 - Browse repository at this point
Copy the full SHA 0844a16View commit details -
UefiCpuPkg/UefiCpuPkg.uni: Add missing strings for PCD
Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Shenglei Zhang <[email protected]> Reviewed-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a58c9a - Browse repository at this point
Copy the full SHA 0a58c9aView commit details -
UefiCpuPkg: Update the coding styles
In MpLib.c, remove the white space on a new line. In PageTbl.c and PiSmmCpuDxeSmm.h, update the comment style. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Shenglei Zhang <[email protected]> Reviewed-by: Eric Dong <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c33f16 - Browse repository at this point
Copy the full SHA 9c33f16View commit details -
BaseTools:Enhance the way to handling included dsc file
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2400 In Dsc Parser, included dsc file is parsed always no matter if its condition is False gUefiOvmfPkgTokenSpaceGuid.test1|FALSE !if gUefiOvmfPkgTokenSpaceGuid.test1 == FALSE !include OvmfPkg/test1.dsc !else !include OvmfPkg/test2.dsc !endif The patch avoids processing redundant dsc files and improves the way Tool handles them. In the above case, since the conditional result is FALSE, "test2.dsc" is not parsed. Signed-off-by: Zhiju.Fan <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8ff8e0 - Browse repository at this point
Copy the full SHA c8ff8e0View commit details
Commits on Dec 5, 2019
-
MdeModulePkg: LzmaCustomDecompressLib.inf don't support EBC anymore
After unifying the definition of size_t, EBC compiler has failure. So don't compile this inf file for EBC REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2398 Cc: Liming Gao <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Leif Lindholm <[email protected]> Cc: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Signed-off-by: Zhiguang Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6cc63ae - Browse repository at this point
Copy the full SHA 6cc63aeView commit details -
MdeModulePkg: Add ARM/Aarch64 support which were missing
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2382 Add ARM/Aarch64 which were missing to VALID_ARCHITECTURES in LzmaCustomDecompressLib.inf Cc: Liming Gao <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Leif Lindholm <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Signed-off-by: Zhiguang Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9416ef - Browse repository at this point
Copy the full SHA c9416efView commit details -
ShellPkg: acpiview: Add support for parsing FACS
Add support for parsing the ACPI FACS table. The FADT parser has also been updated as it links the FACS table using the FIRMWARE_CTRL or X_FIRMWARE_CTRL fields. Since the FACS table does not follow the standard ACPI header, the FADT parser extracts the FACS signature, length and version fields before invoking the FACS parser. Cc: Ray Ni <[email protected]> Cc: Zhichao Gao <[email protected]> Reviewed-by: Zhichao Gao <[email protected]> Signed-off-by: Sami Mujawar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5cf0fb - Browse repository at this point
Copy the full SHA d5cf0fbView commit details -
ShellPkg: acpiview: IORT Spec Rev D updates
Updated IORT parser to conform to the IO Remapping Table, Platform Design Document, Revision D, March 2018. The following structure parsers have been updated: 1. SMMUv3 - added proximity domain and device Id mapping index. 2. RootComplex - added memory address size limit. 2. PMCG - added page 1 support. Cc: Ray Ni <[email protected]> Cc: Zhichao Gao <[email protected]> Reviewed-by: Zhichao Gao <[email protected]> Signed-off-by: Sami Mujawar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 965dbf9 - Browse repository at this point
Copy the full SHA 965dbf9View commit details -
ShellPkg/edit: typo "%d Lines Wrote"
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2379 When a file is saved in the edit command a status message L"%d Lines Wrote" is displayed. The hexedit command suffers from the same typo. Change the message to L"%d Lines Written". Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Zhichao Gao <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2926498 - Browse repository at this point
Copy the full SHA 2926498View commit details -
ShellPkg/UefiHandleParsingLib: Fix error allocate pool
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1965 For function InsertNewGuidNameMapping, it rellocate the mGuidList with new size "mGuidListCount+1 * sizeof(GUID_INFO_BLOCK)". That isn't its purpose and would cause a overflow operation in "mGuidList[mGuidListCount - 1].xxx = xxx". Its purpose is to increase 1 block size of mGuidList. Change it to "(mGuidListCount + 1) * sizeof (GUID_INFO_BLOCK)". Adjust the coding style of this function. Cc: Jaben Carsey <[email protected]> Cc: Ray Ni <[email protected]> Cc: Andrew Fish <[email protected]> Reviewed-by: Ray Ni <[email protected]> Signed-off-by: Zhichao Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94d4efb - Browse repository at this point
Copy the full SHA 94d4efbView commit details -
ArmPkg: Dispatch deferred images after EndOfDxe
Third party driver images loaded from Option ROM get queued for execution after EndOfDxe. These queued images need to be dispatched from the PlatformBootManagerLib. Since the queued images were not dispatched, the PCI Option ROM drivers were not getting loaded on Juno. Therefore, add call to EfiBootManagerDispatchDeferredImages() for dispatching deferred images from PlatformBootManagerLib. Signed-off-by: Sami Mujawar <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f9395d - Browse repository at this point
Copy the full SHA 0f9395dView commit details
Commits on Dec 6, 2019
-
.pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2304 To avoid SyntaxWarning with Python 3.8, change the 'is' operator by the conventional '==' comparator. Cc: Sean Brogan <[email protected]> Cc: Bret Barkelew <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8b9296 - Browse repository at this point
Copy the full SHA e8b9296View commit details -
BaseTools: Avoid "is" with a literal Python 3.8 warnings
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2304 The following statement produces a SyntaxWarning with Python 3.8: if str(FdRegion.RegionType) is 'FILE' and self.Platform.VpdToolGuid in \ str(FdRegion.RegionDataList): BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py:168: SyntaxWarning: \ "is" with a literal. Did you mean "=="? Change the 'is' operator by the conventional '==' comparator. Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 490a62b - Browse repository at this point
Copy the full SHA 490a62bView commit details -
UefiCpuPkg/PiSmmCpuDxeSmm: Avoid allocate Token every time
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2388 Token is new introduced by MM MP Protocol. Current logic allocate Token every time when need to use it. The logic caused SMI latency raised to very high. Update logic to allocate Token buffer at driver's entry point. Later use the token from the allocated token buffer. Only when all the buffer have been used, then need to allocate new buffer. Reviewed-by: Ray Ni <[email protected]> Signed-off-by: Eric Dong <[email protected]> Acked-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9caaa79 - Browse repository at this point
Copy the full SHA 9caaa79View commit details -
EmbeddedPkg/NonCoherentDmaLib: implement support for DMA range limits
Implement support for driving peripherals with limited DMA ranges to NonCoherentDmaLib, by adding a device address limit, and taking it, along with the device offset, into account when allocating or mapping DMA buffers. Signed-off-by: Ard Biesheuvel <[email protected]> Tested-by: Pete Batard <[email protected]> Acked-by: Philippe Mathieu-Daude <[email protected]> Acked-by: Leif Lindholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62a7565 - Browse repository at this point
Copy the full SHA 62a7565View commit details -
EmbeddedPkg: implement EDK2 IoMmu protocol wrapping DmaLib
Implement a version of the EDK2 IoMmu protocol that is a simple wrapper around DmaLib. This is intended to be used to wrap NonCoherentDmaLib so that the generic PCI infrastructure can be used to implement support for non cache-coherent DMA. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Leif Lindholm <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Tested-by: Pete Batard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49054b6 - Browse repository at this point
Copy the full SHA 49054b6View commit details
Commits on Dec 9, 2019
-
Maintainers: assume co-maintainership of StandaloneMmPkg
Achin has indicated that he no longer has the bandwidth available to co-maintain StandaloneMmPkg, and has asked Sami and me to step in. Reviewed-by: Laszlo Ersek <[email protected]> Reviewed-by: Leif Lindholm <[email protected]> Reviewed-by: Sami Mujawar <[email protected]> Reviewed-by: Jiewen Yao <[email protected]> Reviewed-by: Achin Gupta <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 804666c - Browse repository at this point
Copy the full SHA 804666cView commit details
Commits on Dec 10, 2019
-
BaseTools: Add build option for dependency file generation
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2311 Add /showIncludes for msvc and -MMD -MF [email protected] for GCC and CLANG Remove /MP for msvc since /MP does not work with /showIncludes Signed-off-by: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Steven Shi <[email protected]> Cc: Michael D Kinney <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13c5e34 - Browse repository at this point
Copy the full SHA 13c5e34View commit details -
BaseTools: Generate dependent files for ASL and ASM files
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2311 Implement the function in Trim tool to get the included file list for ASL and ASM file. Signed-off-by: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Steven Shi <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6edbe3 - Browse repository at this point
Copy the full SHA e6edbe3View commit details -
BaseTools: Update build_rule.txt to generate dependent files.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2311 Enable the dependent files generation function for compilers and Trim tool. Signed-off-by: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Steven Shi <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb27781 - Browse repository at this point
Copy the full SHA cb27781View commit details -
BaseTools: Enhance Basetool for incremental build
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2311 Include dependency file in Makefile to enhance incremental build Signed-off-by: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Steven Shi <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c3e8e9 - Browse repository at this point
Copy the full SHA 0c3e8e9View commit details -
BaseTools: store more complete output files in binary cache
Binary cache use the OutputFile method to return the module built output files needed to store in cache, but current OutputFile implementation doesn't return complete output files. Enhance the OutputFile method to return more complete output files. Signed-off-by: Steven Shi <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91f6c53 - Browse repository at this point
Copy the full SHA 91f6c53View commit details -
BaseTools: enhance the CacheCopyFile method arg names
Enhance the CacheCopyFile method arg names to be more clear and readable Signed-off-by: Steven Shi <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bfbc91 - Browse repository at this point
Copy the full SHA 3bfbc91View commit details -
BaseTools: Leverage compiler output to optimize binary cache
Redesign the binary cache and bases on the compiler to output the dependency header files info for every module. The binary cache will directly consume the dependency header files info and doesn't parse the C source code by iteself. Also redesign the dependency files list format for module and try to share the common lib hash result as more as possible in local process. Remove the unnecessary share data access across multiprocessing. Signed-off-by: Steven Shi <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc8b8de - Browse repository at this point
Copy the full SHA fc8b8deView commit details -
BaseTools: Remove redundant binary cache file
Redesign the binary cache and not need to save the cache intermediate result and state in memory as a ModuleBuildCacheIR class instance. So remove the CacheIR.py which define the ModuleBuildCacheIR class. Signed-off-by: Steven Shi <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a80032d - Browse repository at this point
Copy the full SHA a80032dView commit details -
SecurityPkg/Tcg2Smm: Measure the table before patch.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1940 According to TCG PFP specification: the ACPI table must be measured prior to any modification, and the measurement must be same cross every boot cycle. There is a fix 3a63c17 for the HID data. However that is not enough. The LAML/LASA and PCD configuration change may also cause similar problem. We need measure the table before any update. Cc: Jian J Wang <[email protected]> Cc: Chao Zhang <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Chao Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e55cf6 - Browse repository at this point
Copy the full SHA 7e55cf6View commit details
Commits on Dec 11, 2019
-
IntelFsp2WrapperPkg: Fix various typos
Fix various typos in comments and documentation. Cc: Chasel Chiu <[email protected]> Cc: Nate DeSimone <[email protected]> Cc: Star Zeng <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Nate DeSimone <[email protected]> Reviewed-by: Chasel Chiu <[email protected]> Reviewed-by: Star Zeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97eedf5 - Browse repository at this point
Copy the full SHA 97eedf5View commit details -
MdeModulePkg PeiCore: Fix typos
Cc: Dandan Bi <[email protected]> Cc: Liming Gao <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Signed-off-by: Michael Kubacki <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d39d126 - Browse repository at this point
Copy the full SHA d39d126View commit details -
MdeModulePkg PeiCore: Improve comment semantics
This patch clarifies wording in several PeiCore comments to improve reading comprehension. Cc: Dandan Bi <[email protected]> Cc: Liming Gao <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Signed-off-by: Michael Kubacki <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3add11 - Browse repository at this point
Copy the full SHA d3add11View commit details -
ArmPkg/MmCommunicationDxe: relay architected PI events to MM context
PI defines a few architected events that have significance in the MM context as well as in the non-secure DXE context. So register notify handlers for these events, and relay them into the standalone MM world. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Jiewen Yao <[email protected]> Reviewed-by: Achin Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fe25a7 - Browse repository at this point
Copy the full SHA 2fe25a7View commit details
Commits on Dec 12, 2019
-
MdePkg/Include: Add DCC and BCM2835 SPCR UART types
As per the Microsoft Debug Port Table 2 (DBG2) documentation, that can be found online, we are missing 2 serial interface types for Arm DCC and Bcm2835 (the latter being used with the Raspberry Pi). These same types are present in DebugPort2Table.h so add them to SerialPortConsoleRedirectionTable.h too. Note that we followed the same idiosyncrasies as DebugPort2Table for naming these new macros. Signed-off-by: Pete Batard <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfb141c - Browse repository at this point
Copy the full SHA bfb141cView commit details -
Convert all strings from Unicode to ASCII.
Bret Barkelew committedDec 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 8af0e76 - Browse repository at this point
Copy the full SHA 8af0e76View commit details
Commits on Dec 13, 2019
-
Swap MD5 for CRC32. Hopefully good enough for a fingerprint.
Bret Barkelew committedDec 13, 2019 Configuration menu - View commit details
-
Copy full SHA for d706274 - Browse repository at this point
Copy the full SHA d706274View commit details -
Bret Barkelew committed
Dec 13, 2019 Configuration menu - View commit details
-
Copy full SHA for f88bd23 - Browse repository at this point
Copy the full SHA f88bd23View commit details -
Move the UnitTestPkg dependency to HOST-APPLICATION only.
Bret Barkelew committedDec 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 150b758 - Browse repository at this point
Copy the full SHA 150b758View commit details -
Move all HostLibrary files into the Test directory.
Bret Barkelew committedDec 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 58297b6 - Browse repository at this point
Copy the full SHA 58297b6View commit details -
Move the Test DSC into the Test directory.
Bret Barkelew committedDec 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 74913ff - Browse repository at this point
Copy the full SHA 74913ffView commit details -
Drop extraneous package name strings. Can be assembled in the report …
…lib, if wanted.
Bret Barkelew committedDec 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 40bf9d3 - Browse repository at this point
Copy the full SHA 40bf9d3View commit details
Commits on Dec 14, 2019
-
Change all Fws into Frameworks.
Bret Barkelew committedDec 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 66aac12 - Browse repository at this point
Copy the full SHA 66aac12View commit details -
Bret Barkelew committed
Dec 14, 2019 Configuration menu - View commit details
-
Copy full SHA for b4a8a27 - Browse repository at this point
Copy the full SHA b4a8a27View commit details -
Drop an accidental change that should have never made it in.
Bret Barkelew committedDec 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 7f752fc - Browse repository at this point
Copy the full SHA 7f752fcView commit details
Commits on Dec 18, 2019
-
BaseTools: Fix build failure when multiple build targets given
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2371 This patch is to fix a regression issue that build fails if multiple build targets given. Two changes cause this regression issue. One is AutoGen object __hash__ function only hash file path and arch, missing ToolChain and build target. The other is changing the multiple-thread-genfds function as default build behavior. To generate the genffs command to Makefile, there is a global data set is used, GenFdsGlobalVariable, which cause build tool use the data of first build-target build in the second build-target build. Signed-off-by: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Steven Shi <[email protected]> Cc: Ard Biesheuvel <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78fb6b0 - Browse repository at this point
Copy the full SHA 78fb6b0View commit details -
BaseTools:replaces the two offending quotes by ascii quotes
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2423 That commit 13c5e34 introduces the first two UTF-8 characters (the quote ') in an otherwise all-ascii file. In Conf\tools_def.template There is tow lines of Notes: Since this tool chain is obsolete, it doesn't enable the compiler option for included header file list generation, we replaces the two offending quotes by proper ascii quotes The patch is going to fix this issue Signed-off-by: Zhiju.Fan <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69ebe82 - Browse repository at this point
Copy the full SHA 69ebe82View commit details -
Maintainers.txt: Update email address and role
Created new email account that will not append legal disclaimers to my responses/patches. Switching to NetworkPkg maintainer. Cc: Jiaxin Wu <[email protected]> Cc: Siyuan Fu <[email protected]> Signed-off-by: Maciej Rabeda <[email protected]> Reviewed-by: Jiaxin Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5d6a57 - Browse repository at this point
Copy the full SHA c5d6a57View commit details -
BaseTools: Resolve a issue of Incremental build
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2311 In patch set 13c5e34 - 0c3e8e9, we implemented incremental build with using compiler/pre-processor generate dependent header file function. A issue is found for MSVC compiler, that the cl.exe /showIncludes build option generate header file list to either stdout or stderr. For .c file, the header file list is print out to stdout while for .vfr, .aslc and .nasm file, the file list is print out to stderr. The build tool use two threads to process the message from stdout and stderr, but to generate correct *.deps file, build tool need to combine the header file list from stderr and other messages from stdout together with correct time sequence order. So this patch is trying to combine the stdout and stderr together for the process which is for calling make program. The impact of this patch is that the output message of build with -q will be changed. The compiler error message will not print out. The build behavior of other log level setting will not be impacted. Signed-off-by: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Steven Shi <[email protected]> Cc: Michael D Kinney <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01b6090 - Browse repository at this point
Copy the full SHA 01b6090View commit details -
Change the name of the UnitTestPkg to UnitTestFrameworkPkg.
Bret Barkelew committedDec 18, 2019 Configuration menu - View commit details
-
Copy full SHA for d2e70c3 - Browse repository at this point
Copy the full SHA d2e70c3View commit details -
Bret Barkelew committed
Dec 18, 2019 Configuration menu - View commit details
-
Copy full SHA for 233bf98 - Browse repository at this point
Copy the full SHA 233bf98View commit details -
Bret Barkelew committed
Dec 18, 2019 Configuration menu - View commit details
-
Copy full SHA for 1c70c99 - Browse repository at this point
Copy the full SHA 1c70c99View commit details -
Drop EDK2_TEST as a CI dependency.
Bret Barkelew committedDec 18, 2019 Configuration menu - View commit details
-
Copy full SHA for b7e4054 - Browse repository at this point
Copy the full SHA b7e4054View commit details -
Add Cmocka as a RequiredSubmodule.
Bret Barkelew committedDec 18, 2019 Configuration menu - View commit details
-
Copy full SHA for 459ed82 - Browse repository at this point
Copy the full SHA 459ed82View commit details -
Settle on an idea for the TerminationLib.
Bret Barkelew committedDec 18, 2019 Configuration menu - View commit details
-
Copy full SHA for 163e40e - Browse repository at this point
Copy the full SHA 163e40eView commit details
Commits on Dec 19, 2019
-
Shuffle some more things around. Need to do some build testing.
Bret Barkelew committedDec 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 764386d - Browse repository at this point
Copy the full SHA 764386dView commit details -
MdePkg/Spdm: fix Nonce structure error.
Align to SPDM 1.0.0 specification. Fix Nonce data structure error. Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7a0aca - Browse repository at this point
Copy the full SHA c7a0acaView commit details -
ShellPkg/ShellProtocol: Return error code while fail parsing cmd-line
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2395 Errors happened in the arguments parsing is not a critical error. And it would miss the error status code in the release version of shell. So replace the ASSERT with returning error status code while fail parsing command-line in UpdateArgcArgv. Cc: Ray Ni <[email protected]> Cc: Linson Augustine <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Ray Ni <[email protected]> Signed-off-by: Zhichao Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95bb203 - Browse repository at this point
Copy the full SHA 95bb203View commit details -
TestBaseSafeIntLib builds again.
Bret Barkelew committedDec 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 09816e2 - Browse repository at this point
Copy the full SHA 09816e2View commit details -
Clean up a few more interfaces.
Bret Barkelew committedDec 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 42cabb6 - Browse repository at this point
Copy the full SHA 42cabb6View commit details -
DSC and DEC issues are resolved. Need to get build working.
Bret Barkelew committedDec 19, 2019 Configuration menu - View commit details
-
Copy full SHA for af9d862 - Browse repository at this point
Copy the full SHA af9d862View commit details -
MdePkg PciExpress21: PCI_REG_PCIE_DEVICE_CONTROL2 struct has 17 bits
Device Control 2 Structure have an issue. LtrMechanism - there is 2 bits instead of 1. Signed-off-by: Daniel Pawel Banaszek <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 665afcc - Browse repository at this point
Copy the full SHA 665afccView commit details
Commits on Dec 20, 2019
-
Everything builds again! Only a few things left to check.
Bret Barkelew committedDec 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 16acc61 - Browse repository at this point
Copy the full SHA 16acc61View commit details -
Clarify sizes and update the way the dynamic structure elements are d…
…one.
Bret Barkelew committedDec 20, 2019 Configuration menu - View commit details
-
Copy full SHA for ec4bd55 - Browse repository at this point
Copy the full SHA ec4bd55View commit details -
MdePkg: Use __builtin_offset with CLANGPDB toolchain
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2393 CLANGPDB does not define __GNUC__, but it does define __clang__. Check for the __clang__ preprocessor definition to use __builtin_offsetof to implement the OFFSET_OF macro. Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Alex James <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 796b380 - Browse repository at this point
Copy the full SHA 796b380View commit details -
MdePkg/Tcg: Add new definition in TCG PFP spec.
The latest TCG PFP specification (TCG PC Client Platform Firmware Profile Specification, Revision 1.05) added new data structure. For example, the SPDM device measurement. This patch adds the new content. Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec8c74e - Browse repository at this point
Copy the full SHA ec8c74eView commit details -
Move the public files into the public.
Bret Barkelew committedDec 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 33daa3c - Browse repository at this point
Copy the full SHA 33daa3cView commit details -
Bret Barkelew committed
Dec 20, 2019 Configuration menu - View commit details
-
Copy full SHA for c315c52 - Browse repository at this point
Copy the full SHA c315c52View commit details -
Bret Barkelew committed
Dec 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 09cf334 - Browse repository at this point
Copy the full SHA 09cf334View commit details -
Clean up one last thing about how the Size works.
Bret Barkelew committedDec 20, 2019 Configuration menu - View commit details
-
Copy full SHA for bf92129 - Browse repository at this point
Copy the full SHA bf92129View commit details -
Add documentation for building a single test.
Bret Barkelew committedDec 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 6e9c3b0 - Browse repository at this point
Copy the full SHA 6e9c3b0View commit details
Commits on Dec 23, 2019
-
edksetup.bat stuck on unicode locale Windows
This issue happens under two conditions. 1. Unicode language environment in Windows 2. Python2 (Not reproducible with Python3) Step to reproduce C:\edk2>edksetup.bat forcerebuild The edksetup.bat stuck at 'nmake cleanall'. Signed-off-by: Aiden Park <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for caa9174 - Browse repository at this point
Copy the full SHA caa9174View commit details
Commits on Dec 24, 2019
-
UefiCpuPkg/PiSmmCpuDxeSmm: Remove dependence between APs
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2268 In current implementation, when check whether APs called by StartUpAllAPs or StartUpThisAp, it checks the Tokens value used by other APs. Also the AP will update the Token value for itself if its task finished. In this case, the potential race condition issues happens for the tokens. Because of this, system may trig ASSERT during cycling test. This change enhance the code logic, add new attributes for the token to remove the reference for the tokens belongs to other APs. Reviewed-by: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a457823 - Browse repository at this point
Copy the full SHA a457823View commit details -
UefiCpuPkg/PiSmmCpuDxeSmm: Fix buffer overflow issue.
The size for the array of mSmmMpSyncData->CpuData[] is 0 ~ mMaxNumberOfCpus -1. But current code may use mSmmMpSyncData->CpuData[mMaxNumberOfCpus]. This patch fixed this issue. Reviewed-by: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 123b720 - Browse repository at this point
Copy the full SHA 123b720View commit details -
BaseTools/Scripts: Add sendemail.transferEncoding to SetupGit.py
If git finds a '\r' character in the message, then it converts the entire message content into Quoted-Printable encoding. It appears that when groups.io converts the QP encoding back to text format, the '\r' characters somehow become '\n'. To workaround this, the SetupGit.py script will now explicitly set the sendemail.transferEncoding git config option to '8bit' Signed-off-by: Nate DeSimone <[email protected]> Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Leif Lindholm <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5abd9c - Browse repository at this point
Copy the full SHA a5abd9cView commit details
Commits on Dec 31, 2019
-
Move the Cmocka implementations of UnitTestLib and UnitTestAssertLib …
…to the public folder.
Bret Barkelew committedDec 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 0d6df2c - Browse repository at this point
Copy the full SHA 0d6df2cView commit details -
Bret Barkelew committed
Dec 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 3e3b28b - Browse repository at this point
Copy the full SHA 3e3b28bView commit details
Commits on Jan 2, 2020
-
UefiCpuPkg/MpInitLib: Collect processors' CPUID & Platform ID info
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2429 This commit will collect the CPUID and Platform ID information for each processor within system. They will be stored in the CPU_AP_DATA structure. These information will be used in the next commit to decide whether a microcode patch will be loaded into memory. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Star Zeng <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Michael D Kinney <[email protected]> Signed-off-by: Hao A Wu <[email protected]> Reviewed-by: Ray Ni <[email protected]> Reviewed-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 999463c - Browse repository at this point
Copy the full SHA 999463cView commit details -
UefiCpuPkg/MpInitLib: Reduce the size when loading microcode patches
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2429 This commit will attempt to reduce the copy size when loading the microcode patches data from flash into memory. Such optimization is done by a pre-process of the microcode patch headers (on flash). A microcode patch will be loaded into memory only when the below 3 criteria are met: A. With a microcode patch header (which means the data is not padding data between microcode patches); B. The 'ProcessorSignature' & 'ProcessorFlags' fields in the header match at least one processor within system; C. If the Extended Signature Table exists in a microcode patch, the 'ProcessorSignature' & 'ProcessorFlag' fields in the table entries match at least one processor within system. Criterion B and C will require all the processors to be woken up once to collect their CPUID and Platform ID information. Hence, this commit will move the copy, detect and apply of microcode patch on BSP and APs after all the processors have been woken up. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Star Zeng <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Michael D Kinney <[email protected]> Signed-off-by: Hao A Wu <[email protected]> Reviewed-by: Eric Dong <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d786a17 - Browse repository at this point
Copy the full SHA d786a17View commit details -
UefiCpuPkg: Add definitions for EDKII microcode patch HOB
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2430 This commit will add the definitions for EDKII microcode patch HOB. The intention of adding this HOB is to provide a scheme to store the below information: A. The base address and size of the microcode patches that are being loaded (from flash) into memory; B. The information of detected microcode patch for each processor within the system. The producer of the HOB will be the UefiCpuPkg/MpInitLib (where the load, detect and apply of the microcode happen). The consumer of the HOB can be modules that want to detect/apply the microcode patch by themselves again later during the boot flow. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Star Zeng <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Michael D Kinney <[email protected]> Signed-off-by: Hao A Wu <[email protected]> Reviewed-by: Ray Ni <[email protected]> Reviewed-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2539099 - Browse repository at this point
Copy the full SHA 2539099View commit details -
UefiCpuPkg/MpInitLib: Produce EDKII microcode patch HOB
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2430 This commit will update the MpInitLib to: A. Collect the base address and size information after microcode patches being loaded into memory; B. Collect the detected microcode patch for each processor within system; C. Based on the collected information, produce the EDKII microcode patch HOB. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Star Zeng <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Michael D Kinney <[email protected]> Signed-off-by: Hao A Wu <[email protected]> Reviewed-by: Eric Dong <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1ed557 - Browse repository at this point
Copy the full SHA e1ed557View commit details -
UefiCpuPkg/MpInitLib: Relocate microcode patch fields in CPU_MP_DATA
The below 2 microcode patch related fields in structure CPU_MP_DATA: UINT64 MicrocodePatchAddress; UINT64 MicrocodePatchRegionSize; They will be passed from PEI phase and be reused DXE phase. Previously, these 2 fields were placed after some fields with type 'UINTN', this will lead to different field offset in different architecture for them. This commit will move them before the fields with different size in different architecture to ensure they can be properly used in DXE phase. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Star Zeng <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Michael D Kinney <[email protected]> Signed-off-by: Hao A Wu <[email protected]> Reviewed-by: Ray Ni <[email protected]> Reviewed-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88bd066 - Browse repository at this point
Copy the full SHA 88bd066View commit details -
UefiCpuPkg/MpInitLib: Remove redundant microcode fields in CPU_MP_DATA
Previous commits have introduced below fields in structure CPU_AP_DATA: UINT32 ProcessorSignature; UINT8 PlatformId; UINT64 MicrocodeEntryAddr; which store the information of: A. CPUID B. Platform ID C. Detected microcode patch entry address (including the microcode patch header) for each processor within system. Therefore, the below fields in structure CPU_MP_DATA: UINT32 ProcessorSignature; UINT32 ProcessorFlags; UINT64 MicrocodeDataAddress; UINT32 MicrocodeRevision; which store the BSP's information of: A. CPUID B. Platform ID C. The address and revision of detected microcode patch are redundant and can be removed. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Star Zeng <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Michael D Kinney <[email protected]> Signed-off-by: Hao A Wu <[email protected]> Reviewed-by: Eric Dong <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd30b00 - Browse repository at this point
Copy the full SHA fd30b00View commit details -
UefiPayloadPkg/BootManager: Add PS2 keyboard support
Add PS2 keyboard support. REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2316 This patch adds PS2 keyboard support in boot manager, and add a build flag PS2_KEYBOARD_ENABLE for PS2 keyboard to build PS2 keyboard driver and SIO driver. Be default the build flag is not enabled since PS2 keyboard is not common used. could use -DPS2_KEYBOARD_ENABLE to enable build it if need this feature. Signed-off-by: Guo Dong <[email protected]> Reviewed-by: Maurice Ma <[email protected]> Reviewed-by: Benjamin You <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33a3293 - Browse repository at this point
Copy the full SHA 33a3293View commit details -
UefiCpuPkg/PiSmmCpuDxeSmm: Pre-allocate PROCEDURE_TOKEN buffer
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2388 Token is new introduced by MM MP Protocol. Current logic allocate Token every time when need to use it. The logic caused SMI latency raised to very high. Update logic to allocate Token buffer at driver's entry point. Later use the token from the allocated token buffer. Only when all the buffer have been used, then need to allocate new buffer. Former change (9caaa79) missed PROCEDURE_TOKEN part, this change covers it. Reviewed-by: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b948a49 - Browse repository at this point
Copy the full SHA b948a49View commit details -
Combine all external headers into a single UnitTestLib.h header.
Bret Barkelew committedJan 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 1014f94 - Browse repository at this point
Copy the full SHA 1014f94View commit details -
Drop the Cmocka submodule to prepare for library moving.
Bret Barkelew committedJan 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 1f66b17 - Browse repository at this point
Copy the full SHA 1f66b17View commit details -
Combine FrameworkLibrary and Library directories.
Bret Barkelew committedJan 2, 2020 Configuration menu - View commit details
-
Copy full SHA for cbcd135 - Browse repository at this point
Copy the full SHA cbcd135View commit details -
Consolidate and reorganize Framework Libraries.
Bret Barkelew committedJan 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 0739585 - Browse repository at this point
Copy the full SHA 0739585View commit details -
UnitTestFrameworkPkg/UnitTestAssertLibcomcka: Use snprintf()
Replace sprintf() with Use snprintf() that is considered safe for both VS20xx and GCCx tool chains. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 571a88c - Browse repository at this point
Copy the full SHA 571a88cView commit details -
UnitTestFrameworkPkg/OsServiceLibHost: Fix GCC build issue
Add missing include for getpagesize(). Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1525c7d - Browse repository at this point
Copy the full SHA 1525c7dView commit details -
UnitTestFrameworkPkg/UniTestLib: Fix GCC build issue
Use correct parameter type for FreeUnitTestFramework() Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2275128 - Browse repository at this point
Copy the full SHA 2275128View commit details -
UnitTestFrameworkPkg/UniTestLibcmocha: Fix GCC build issue
* Use correct parameter type for FreeUnitTestFramework() * Disable use of assembly trampoline logic that breaks GCC X64. * Remove *ParentFramework local variable that is set but not used. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc5f1d2 - Browse repository at this point
Copy the full SHA dc5f1d2View commit details -
UnitTestFrameworkPkg/UnitTestAssertLibcmocha: Remove [BuildOptions]
With the change to use snprintf() instead of sprintf(), the [BuildOptions] that override the MSFT specific CC_FLAGS are no longer required. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cccd10a - Browse repository at this point
Copy the full SHA cccd10aView commit details -
MdePkg/Test: Improve MdePkgTest.dsc compiler compatibility
Add compatibility with VS2015, VS2015x86, VS2017, GCC5, CLANG9, XCODE. NOTE: VS2015, CLANG9, XCODE not tested yet. Cleanup lib mappings for all components and reduce use of host specific libraries. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52f3558 - Browse repository at this point
Copy the full SHA 52f3558View commit details
Commits on Jan 3, 2020
-
Remove OsServiceLib class and instance
Also remove assembly trampline code. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8de68b - Browse repository at this point
Copy the full SHA c8de68bView commit details -
MdePkg/Test: Remove BaseLibHost and BaseMemoryLibHost
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76b4fae - Browse repository at this point
Copy the full SHA 76b4faeView commit details -
UnitTestFrameworkPkg/Library: Add Posix libs
Move DebugLib for Posix host evncironments to UnitTestFrameworkPkg Move BaseMemoryLib for Posix host evncironments to UnitTestFrameworkPkg Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76cba4b - Browse repository at this point
Copy the full SHA 76cba4bView commit details -
UnitTestFrameworkPkg: Rename FrameworkInclude to PrivateInclude
Rename private include directory to match other packages. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 218299f - Browse repository at this point
Copy the full SHA 218299fView commit details -
UnitTestFrameworkPkg/Library: Rename UEFI to Uefi
Rename UnitTestFrameworkPkg/Library/UEFI to UnitTestFrameworkPkg/Library/Uefi to follow EFK II C Coding Style. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eecfd41 - Browse repository at this point
Copy the full SHA eecfd41View commit details -
UnitTestFrameworkPkg: Make case of 'Cmocka' consistent
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd77e86 - Browse repository at this point
Copy the full SHA bd77e86View commit details -
UnitTestFrameworkPkg: Fix trailing whitespace and line endings
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a414332 - Browse repository at this point
Copy the full SHA a414332View commit details -
MdePkg/Test: Fix trailing whitespace and line endings
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 110af9c - Browse repository at this point
Copy the full SHA 110af9cView commit details
Commits on Jan 4, 2020
-
MdePkg/Test: Fix code style issues
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d62b6f - Browse repository at this point
Copy the full SHA 8d62b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c885c6 - Browse repository at this point
Copy the full SHA 8c885c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dea978 - Browse repository at this point
Copy the full SHA 9dea978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5794bf7 - Browse repository at this point
Copy the full SHA 5794bf7View commit details -
UnitTestFrameworkPkg: Tem disable build of Posix libs
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 584632e - Browse repository at this point
Copy the full SHA 584632eView commit details
Commits on Jan 6, 2020
-
MdeModulePkg/SdMmcPciHcDxe: Hook SwitchClockFreq after SD clock start
For eMMC modules we used to notify the platform about frequency change only after sending CMD13 which meant that platform might not get a chance to apply required post frequency change fixes to get the clock stable. To fix this notification has been moved to SdMmcHcClockSupply function just after we start the SD clock. During first time setup the notification won't be sent to avoid changing old behavior. Cc: Hao A Wu <[email protected]> Cc: Marcin Wojtas <[email protected]> Cc: Zhichao Gao <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Mateusz Albecki <[email protected]> Tested-by: Marcin Wojtas <[email protected]> Tested-by: Hao A Wu <[email protected]> Reviewed-by: Hao A Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49accde - Browse repository at this point
Copy the full SHA 49accdeView commit details -
MdeModulePkg/SdMmcPciHcDxe: Add function to start SD clock
In SD card voltage switch flow we used to redo the entire internal clock setup after voltage switch. Since internal clock has already been setup this is wasting time on polling the internal clock stable. This commit changes it to only start the SD clock. Cc: Hao A Wu <[email protected]> Cc: Marcin Wojtas <[email protected]> Cc: Zhichao Gao <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Mateusz Albecki <[email protected]> Tested-by: Marcin Wojtas <[email protected]> Tested-by: Hao A Wu <[email protected]> Reviewed-by: Hao A Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f68cb23 - Browse repository at this point
Copy the full SHA f68cb23View commit details -
SecurityPkg/Guid: Add TCG 800-155 event GUID definition.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 The PEIM can produce the 800-155 event and the event will be recorded to TCG event log by the TCG2 DXE. Cc: Jian J Wang <[email protected]> Cc: Chao Zhang <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df73a69 - Browse repository at this point
Copy the full SHA df73a69View commit details -
SecurityPkg/Tcg2Dxe: Add Tcg2Dxe to support 800-155 event.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 The TCG2 DXE supports to parse the 800-155 event GUID from PEI and puts to the beginning of the TCG2 event. The TCG2 DXE also supports a DXE driver produces 800-155 event and let TCG2 DXE driver record. The 800-155 is a NO-ACTION event which does not need extend anything to TPM2. The TCG2 DXE also supports that. Multiple 800-155 events are supported. All of them will be put to the beginning of the TCG2 event, just after the SpecId event. Cc: Jian J Wang <[email protected]> Cc: Chao Zhang <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fa2585 - Browse repository at this point
Copy the full SHA 4fa2585View commit details -
MdeModulePkg/Smbios: Done measure Smbios multiple times.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 In current implementation, the SMBIOS table is measured multiple time in every readytoboot event. This causes Smbios Table record appears multiple time in the TCG event log and confuses people. This issue makes it hard to implement 800-155 reference measurement. This patch closes the event to make sure Smbios is measured only once. Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Dandan Bi <[email protected]> Cc: Star Zeng <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Star Zeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f273905 - Browse repository at this point
Copy the full SHA f273905View commit details -
MdeModulePkg/dec: add PcdTcgPfpMeasurementRevision PCD
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 This PCD is to control the TCG PFP spec revision. The PFP 105 added new event type to support NIST SP800-155, and deprecated old event type. Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Chao Zhang <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 166830d - Browse repository at this point
Copy the full SHA 166830dView commit details -
MdeModulePkg/Smbios: Add TCG PFP rev 105 support.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 Report EV_EFI_HANDOFF_TABLES2 if the platform chooses PFP >= 105. Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Dandan Bi <[email protected]> Cc: Star Zeng <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Star Zeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40801ac - Browse repository at this point
Copy the full SHA 40801acView commit details -
SecurityPkg/Tcg2Pei: Add TCG PFP 105 support.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 Use EV_EFI_PLATFORM_FIRMWARE_BLOB2 if the TCG PFP revision is >= 105. Use FvName as the description for the FV. Cc: Jian J Wang <[email protected]> Cc: Chao Zhang <[email protected]> Signed-off-by: Jiewen Yao <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0286fe8 - Browse repository at this point
Copy the full SHA 0286fe8View commit details -
MdeModulePkg/Usb/EfiKey: Fix endpoint selection
The endpoint selected by the driver needs to not only be an interrupt type, but have direction IN as required to set up an asynchronous interrupt transfer. Currently, the driver assumes that the first INT endpoint will be of type IN, but that is not true of all devices, and will silently fail on devices which have the OUT endpoint before the IN. Adjust the endpoint selection loop to explictly check for direction IN. Test: detachable keyboard on Google Pixel Slate now works. Signed-off-by: Matt DeVillier <[email protected]> Reviewed-by: GuoMinJ <[email protected]> Reviewed-by: Hao A Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9c2c71 - Browse repository at this point
Copy the full SHA f9c2c71View commit details -
MdeModulePkg/Usb/UsbMouse: Fix endpoint selection
The endpoint selected by the driver needs to not only be an interrupt type, but have direction IN as required to set up an asynchronous interrupt transfer. Currently, the driver assumes that the first INT endpoint will be of type IN, but that is not true of all devices, and will silently fail on devices which have the OUT endpoint before the IN. Adjust the endpoint selection loop to explictly check for direction IN. Signed-off-by: Matt DeVillier <[email protected]> Reviewed-by: GuoMinJ <[email protected]> Reviewed-by: Hao A Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0d38ce - Browse repository at this point
Copy the full SHA d0d38ceView commit details -
MdeModulePkg/UsbMouseAbsolutePointer: Fix endpoint selection
The endpoint selected by the driver needs to not only be an interrupt type, but have direction IN as required to set up an asynchronous interrupt transfer. Currently, the driver assumes that the first INT endpoint will be of type IN, but that is not true of all devices, and will silently fail on devices which have the OUT endpoint before the IN. Adjust the endpoint selection loop to explictly check for direction IN. Signed-off-by: Matt DeVillier <[email protected]> Reviewed-by: Hao A Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6cfb6da - Browse repository at this point
Copy the full SHA 6cfb6daView commit details -
.mailmap: Add a stub with documentation
The .mailmap git feature helps fixing commit mistakes (in name/email). The easiest way to use it is with the --use-mailmap flag: $ git log --use-mailmap See: * https://git-scm.com/docs/git-shortlog#_mapping_authors * https://git-scm.com/docs/git-check-mailmap#_mapping_authors Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a1aeca - Browse repository at this point
Copy the full SHA 4a1aecaView commit details -
.mailmap: Add an entry for Aaron Li
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Aaron Li to have his/her name and email address displayed properly in the git history. Cc: Aaron Li <[email protected]> Cc: Songpeng Li <[email protected]> Reviewed-by: Aaron Li <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba54103 - Browse repository at this point
Copy the full SHA ba54103View commit details -
.mailmap: Add an entry for Antoine Coeur
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Antoine Cœur to have his/her name and email address displayed properly in the git history. Cc: Antoine Cœur <[email protected]> Reviewed-by: Antoine Cœur <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]> [[email protected]: fix up valid PatchCheck.py error in Reviewed-by] [[email protected]: translit subject to ASCII to suppress PatchCheck.py]
Configuration menu - View commit details
-
Copy full SHA for 0ce7f25 - Browse repository at this point
Copy the full SHA 0ce7f25View commit details -
.mailmap: Add an entry for Ard Biesheuvel
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Ard Biesheuvel to have his/her name and email address displayed properly in the git history. Cc: Ard Biesheuvel <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83e78fe - Browse repository at this point
Copy the full SHA 83e78feView commit details -
.mailmap: Add an entry for Ashley DeSimone
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Ashley DeSimone to have his/her name and email address displayed properly in the git history. Cc: Ashley DeSimone <[email protected]> Reviewed-by: Ashley DeSimone <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for caa6584 - Browse repository at this point
Copy the full SHA caa6584View commit details -
.mailmap: Add an entry for Baraneedharan Anbazhagan
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Baraneedharan Anbazhagan to have his/her name and email address displayed properly in the git history. Cc: Baraneedharan Anbazhagan <[email protected]> Reviewed-by: Baraneedharan Anbazhagan <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d42046e - Browse repository at this point
Copy the full SHA d42046eView commit details -
.mailmap: Add an entry for Chasel Chiu
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Chasel Chiu to have his/her name and email address displayed properly in the git history. Cc: Chasel Chiu <[email protected]> Reviewed-by: Chasel Chiu <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31d60b9 - Browse repository at this point
Copy the full SHA 31d60b9View commit details -
.mailmap: Add an entry for Christopher J Zurcher
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Christopher J Zurcher to have his/her name and email address displayed properly in the git history. Cc: Christopher J Zurcher <[email protected]> Reviewed-by: Christopher J Zurcher <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d141df - Browse repository at this point
Copy the full SHA 0d141dfView commit details -
.mailmap: Add an entry for Eric Dong
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Eric Dong to have his/her name and email address displayed properly in the git history. Cc: Eric Dong <[email protected]> Reviewed-by: Eric Dong <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52b6a7c - Browse repository at this point
Copy the full SHA 52b6a7cView commit details -
.mailmap: Add an entry for Erik Bjorge
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Erik Bjorge to have his/her name and email address displayed properly in the git history. Cc: Erik Bjorge <[email protected]> Reviewed-by: Erik Bjorge <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2a8eae - Browse repository at this point
Copy the full SHA e2a8eaeView commit details -
.mailmap: Add an entry for Hao Wu
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Hao Wu to have his/her name and email address displayed properly in the git history. Cc: Hao Wu <[email protected]> Reviewed-by: Hao A Wu <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 082208a - Browse repository at this point
Copy the full SHA 082208aView commit details -
.mailmap: Add an entry for Hot Tian
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Hot Tian to have his/her name and email address displayed properly in the git history. Cc: Hot Tian <[email protected]> Reviewed-by: Hot Tian <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59bbab3 - Browse repository at this point
Copy the full SHA 59bbab3View commit details -
.mailmap: Add an entry for Jiewen Yao
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Jiewen Yao to have his/her name and email address displayed properly in the git history. Cc: Jiewen Yao <[email protected]> Reviewed-by: Jiewen Yao <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bbbd6a - Browse repository at this point
Copy the full SHA 1bbbd6aView commit details -
.mailmap: Add an entry for Jim Dailey
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Jim Dailey to have his/her name and email address displayed properly in the git history. Cc: Jim Dailey <[email protected]> Reviewed-by: Jim Dailey <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5556529 - Browse repository at this point
Copy the full SHA 5556529View commit details -
.mailmap: Add an entry for Laszlo Ersek
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Laszlo Ersek to have his/her name and email address displayed properly in the git history. Cc: Laszlo Ersek <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f235838 - Browse repository at this point
Copy the full SHA f235838View commit details -
.mailmap: Add an entry for Liming Gao
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Liming Gao to have his/her name and email address displayed properly in the git history. Cc: Liming Gao <[email protected]> Reviewed-by: Liming Gao <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44c9a93 - Browse repository at this point
Copy the full SHA 44c9a93View commit details -
.mailmap: Add an entry for Maciej Rabeda
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Maciej Rabeda to have his/her name and email address displayed properly in the git history. Cc: Maciej Rabeda <[email protected]> Reviewed-by: Maciej Rabeda <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a85cdb9 - Browse repository at this point
Copy the full SHA a85cdb9View commit details -
.mailmap: Add an entry for Marc-Andre Lureau
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Marc-André Lureau to have his/her name and email address displayed properly in the git history. Cc: Marc-André Lureau <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]> [[email protected]: translit subject to ASCII to suppress PatchCheck.py]
Configuration menu - View commit details
-
Copy full SHA for 9b2e99e - Browse repository at this point
Copy the full SHA 9b2e99eView commit details -
.mailmap: Add an entry for Marvin Haeuser
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Marvin Häuser to have his/her name and email address displayed properly in the git history (in particular, commit 62ec4a5). Cc: Marvin Häuser <[email protected]> Cc: Marvin Häuser <[email protected]> Reviewed-by: Marvin Häuser <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]> [[email protected]: translit subject to ASCII to suppress PatchCheck.py]
Configuration menu - View commit details
-
Copy full SHA for 76fc038 - Browse repository at this point
Copy the full SHA 76fc038View commit details -
.mailmap: Add an entry for Maurice Ma
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Maurice Ma to have his/her name and email address displayed properly in the git history. Cc: Maurice Ma <[email protected]> Reviewed-by: Maurice Ma <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ef8175 - Browse repository at this point
Copy the full SHA 8ef8175View commit details -
.mailmap: Add an entry for Michael Kubacki
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Michael Kubacki to have his/her name and email address displayed properly in the git history. Cc: Michael Kubacki <[email protected]> Reviewed-by: Michael Kubacki <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43f2c9f - Browse repository at this point
Copy the full SHA 43f2c9fView commit details -
.mailmap: Add an entry for Ming Tan
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Ming Tan to have his/her name and email address displayed properly in the git history. Cc: Ming Tan <[email protected]> Reviewed-by: Ming Tan <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 266efa6 - Browse repository at this point
Copy the full SHA 266efa6View commit details -
.mailmap: Add an entry for Nikolai Saoukh
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Nikolai Saoukh to have his/her name and email address displayed properly in the git history. Cc: Nikolai Saoukh <[email protected]> Reviewed-by: Nikolai Saoukh <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21429c1 - Browse repository at this point
Copy the full SHA 21429c1View commit details -
.mailmap: Add an entry for Philippe Mathieu-Daude
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Philippe Mathieu-Daudé to have his/her name and email address displayed properly in the git history. Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]> [[email protected]: translit subject to ASCII to suppress PatchCheck.py]
Configuration menu - View commit details
-
Copy full SHA for a292d6c - Browse repository at this point
Copy the full SHA a292d6cView commit details -
.mailmap: Add an entry for Ray Ni
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Ray Ni to have his/her name and email address displayed properly in the git history. Cc: Ray Ni <[email protected]> Reviewed-by: Ray Ni <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80f7c1b - Browse repository at this point
Copy the full SHA 80f7c1bView commit details -
.mailmap: Add an entry for Samer El-Haj-Mahmoud
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Samer El-Haj-Mahmoud to have his/her name and email address displayed properly in the git history. Cc: Samer El-Haj-Mahmoud <[email protected]> Cc: Samer El-Haj-Mahmoud <[email protected]> Reviewed-by: Samer El-Haj-Mahmoud <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad12178 - Browse repository at this point
Copy the full SHA ad12178View commit details -
.mailmap: Add an entry for Shenglei Zhang
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Shenglei Zhang to have his/her name and email address displayed properly in the git history. Cc: Shenglei Zhang <[email protected]> Reviewed-by: Shenglei Zhang <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 088573c - Browse repository at this point
Copy the full SHA 088573cView commit details -
.mailmap: Add an entry for Star Zeng
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Star Zeng to have his/her name and email address displayed properly in the git history. Cc: Star Zeng <[email protected]> Reviewed-by: Star Zeng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e660ee - Browse repository at this point
Copy the full SHA 0e660eeView commit details -
.mailmap: Add an entry for Vitaly Cheptsov
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Vitaly Cheptsov to have his/her name and email address displayed properly in the git history. Cc: Vitaly Cheptsov <[email protected]> Reviewed-by: Vitaly Cheptsov <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76b5158 - Browse repository at this point
Copy the full SHA 76b5158View commit details -
.mailmap: Add an entry for Vladimir Olovyannikov
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Vladimir Olovyannikov to have his/her name and email address displayed properly in the git history. Cc: Vladimir Olovyannikov <[email protected]> Reviewed-by: Vladimir Olovyannikov <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c751368 - Browse repository at this point
Copy the full SHA c751368View commit details -
.mailmap: Add an entry for Yonghong Zhu
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Yonghong Zhu to have his/her name and email address displayed properly in the git history. Cc: Yonghong Zhu <[email protected]> Reviewed-by: Yonghong Zhu <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d96c7be - Browse repository at this point
Copy the full SHA d96c7beView commit details -
.mailmap: Add an entry for Yu-Chen Lin
We use .mailmap to display contributors email addresses in an uniform format. Add an entry for Yu-Chen Lin to have his/her name and email address displayed properly in the git history. Cc: Yu-Chen Lin <[email protected]> Reviewed-by: Yu-Chen Lin <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]> Message-Id: <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ef6fbb - Browse repository at this point
Copy the full SHA 0ef6fbbView commit details
Commits on Jan 7, 2020
-
edksetup.bat: Simplify the step to use CLANGPDB
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2404 Set the below two environment variables in edksetup.bat: set CLANG_HOST_BIN=n set CLANG_BIN=C:\Program Files\LLVM\bin\ In Windows, set CLANG_HOST_BIN=n to use nmake command The CLANG_BIN is only be set if it is not defined. Cc: Liming Gao <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Zhiguang Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc617b6 - Browse repository at this point
Copy the full SHA cc617b6View commit details
Commits on Jan 8, 2020
-
Revert "UefiCpuPkg/PiSmmCpuDxeSmm: Fix buffer overflow issue."
This reverts commit 123b720. The commit message for commit 123b720 is not correct. Cc: Ray Ni <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bb34b6 - Browse repository at this point
Copy the full SHA 4bb34b6View commit details -
UefiCpuPkg/PiSmmCpuDxeSmm: improve the coding style
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2434 Current code use below loops to enumerate the CPUs: for (Index = mMaxNumberOfCpus; Index-- > 0;) { it has no issue but not easy for the developers to read the code. Update above code to below style, for (Index = 0; Index < mMaxNumberOfCpus; Index++) { It make the developers easy to read and consistent with other similar cases in this driver. Reviewed-by: Laszlo Ersek <[email protected]> Cc: Ray Ni <[email protected]> Signed-off-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70911f1 - Browse repository at this point
Copy the full SHA 70911f1View commit details -
UefiCpuPkg: Remove alignment check when calculate microcode size.
This patch removes the unnecessary alignment check on microcode patch TotalSize introduced by commit d786a17. The TotalSize has already been checked with 1K alignment and MAX_ADDRESS in previous code as below: if ( (UINTN)MicrocodeEntryPoint > (MAX_ADDRESS - TotalSize) || ((UINTN)MicrocodeEntryPoint + TotalSize) > MicrocodeEnd || (DataSize & 0x3) != 0 || (TotalSize & (SIZE_1KB - 1)) != 0 || TotalSize < DataSize ) { Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Hao A Wu <[email protected]> Signed-off-by: Siyuan Fu <[email protected]> Reviewed-by: Ray Ni <[email protected]> Reviewed-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08a475d - Browse repository at this point
Copy the full SHA 08a475dView commit details -
UefiCpuPkg: Always load microcode patch on AP processor.
This patch updates the microcode loader to always perform a microcode detect and load on both BSP and AP processor. This is to fix a potential microcode revision mismatch issue in below situation: 1. Assume there are two microcode co-exists in flash: one production version and one debug version microcode. 2. FIT loads production microcode to BSP and all AP. 3. UefiCpuPkg loader loads debug microcode to BSP, and skip the loading on AP. As a result, different microcode patches are loaded to BSP and AP, and trigger microcode mismatch error during OS boot. BZ link: https://bugzilla.tianocore.org/show_bug.cgi?id=2431 Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Signed-off-by: Siyuan Fu <[email protected]> Reviewed-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 396e791 - Browse repository at this point
Copy the full SHA 396e791View commit details -
CryptoPkg: Support for SHA384 & SHA512 RSA signing schemes
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2389 Currently RSA signing scheme support is available for MD5, SHA-1 or SHA-256 algorithms.The fix is to extend this support for SHA384 and SHA512. Cc: Liming Gao <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Bob Feng <[email protected]> Signed-off-by: Pavana.K <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9d7262 - Browse repository at this point
Copy the full SHA c9d7262View commit details -
MdeModulePkg: Add EDK2 Platform Boot Manager Protocol
Add edk2 platform boot manager protocol which would have platform specific refreshes to the auto enumerated as well as NV boot options for the platform. Signed-off-by: Ashish Singhal <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 972d887 - Browse repository at this point
Copy the full SHA 972d887View commit details
Commits on Jan 9, 2020
-
UnitTestFrameworkPkg/Library/HostCmocha: Simplify build options
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb8e74b - Browse repository at this point
Copy the full SHA fb8e74bView commit details -
UnitTestFrameworkPkg: Clean ups
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6cd657 - Browse repository at this point
Copy the full SHA b6cd657View commit details -
BaseTools/PatchCheck.py: Ignore CR and LF characters in subject length
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=113 Strip the trailing characters before checking the subject line is less than 72 characters. Fixes: e614067 Cc: Liming Gao <[email protected]> Cc: Jordan Justen <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2649a73 - Browse repository at this point
Copy the full SHA 2649a73View commit details -
OvmfPkg: reorganize TPM2 support in DSC/FDF files
Put the TPM2 related DXE modules together in the DSC, and add a TPM2 support header comment while at it. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf3ad97 - Browse repository at this point
Copy the full SHA cf3ad97View commit details -
OvmfPkg: use HII type PCDs for TPM2 config related variables
The HII pages that are part of Tcg2ConfigDxe expect the following PCDs to be of dynamic HII type, so declare them as such. gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev Currently, the TPM2 ACPI table is not produced, since we do not incorporate the Tcg2Smm module, which implements the SMI based physical presence interface exposed to the OS. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f55477f - Browse repository at this point
Copy the full SHA f55477fView commit details -
Merge remote-tracking branch 'edk2/master' into edk2-host-test_v2
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 04bee6d - Browse repository at this point
Copy the full SHA 04bee6dView commit details -
Standardize all copyrights and headers.
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 49a1aab - Browse repository at this point
Copy the full SHA 49a1aabView commit details -
Remove an unnecessary package dependency.
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 5897511 - Browse repository at this point
Copy the full SHA 5897511View commit details -
Bret Barkelew committed
Jan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 3c1f52e - Browse repository at this point
Copy the full SHA 3c1f52eView commit details -
Comment on all of UnitTestLib.h
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for a09d24a - Browse repository at this point
Copy the full SHA a09d24aView commit details -
Revert the ignore for the new Test examples and drop into the main pa…
…ckage DSC.
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 4633143 - Browse repository at this point
Copy the full SHA 4633143View commit details -
Clean up the UnitTestFrameworkPkg.dsc file and move the Samples into …
…the Test directory.
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for d7f039f - Browse repository at this point
Copy the full SHA d7f039fView commit details -
Combine all existing samples into a single source file.
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 324c255 - Browse repository at this point
Copy the full SHA 324c255View commit details -
Add a DXE instance of the SampleTest.
Bret Barkelew committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 089f090 - Browse repository at this point
Copy the full SHA 089f090View commit details
Commits on Jan 10, 2020
-
UefiCpuPkg/PiSmmCpuDxeSmm: Add missed comments for parameter.
This issue caused by below change: SHA-1: b948a49 * UefiCpuPkg/PiSmmCpuDxeSmm: Pre-allocate PROCEDURE_TOKEN buffer REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2388 Reviewed-by: Ray Ni <[email protected]> Acked-by: Laszlo Ersek <[email protected]> Signed-off-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e187925 - Browse repository at this point
Copy the full SHA e187925View commit details -
MdePkg: Do not use CreateEventEx unless required
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2446 There are many firmwares in the wild not supporting CreateEventEx, including devices less than 5 years old. Signed-off-by: Vitaly Cheptsov <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df851da - Browse repository at this point
Copy the full SHA df851daView commit details -
MdePkg BaseLib.h: Update IA32_CR4 strut to include all public fields
Based on Intel Software Develeper's Manual, add all fields in IA32_CR4. Signed-off-by: Jason Voelz <[email protected]> Cc: Liming Gao <[email protected]> Cc: Ray Ni <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 859046e - Browse repository at this point
Copy the full SHA 859046eView commit details -
UefiCpuPkg/CpuCommonFeaturesLib: SMXE bit of CR4 should set
Add code to set SMXE in CR4 in the SmxInitialize flow when SMX is enabled. Signed-off-by: Jason Voelz <[email protected]> Cc: Ray Ni <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f0d809 - Browse repository at this point
Copy the full SHA 1f0d809View commit details -
BaseTools/PatchCheck.py: Extract email check code to EmailAddressCheck
As we are going to reuse this code out of the CommitMessageCheck class, extract it in a new class: EmailAddressCheck. Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ffa47f - Browse repository at this point
Copy the full SHA 8ffa47fView commit details -
BaseTools/PatchCheck.py: Check the committer email address
To avoid patches committed with incorrect email address, use the EmailAddressCheck class on the committer email too. Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f38b08 - Browse repository at this point
Copy the full SHA 8f38b08View commit details -
BaseTools/PatchCheck.py: Let EmailAddressCheck describe email checked
We are checking different emails from the signature list. We are going to check more. To be able to differency, add a description field, so the error reported is clearer. Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8120390 - Browse repository at this point
Copy the full SHA 8120390View commit details -
BaseTools/PatchCheck.py: Check the patch author email address
To avoid patches committed with incorrect email address, use the EmailAddressCheck class on the author email too. Example: $ python BaseTools/Scripts/PatchCheck.py 1a04951 Checking git commit: 1a04951 The 'Author' email address is not valid: * The email address cannot contain a space: /o=Intel/ou=External \ (FYDIBOHF25SPDLT)/cn=Recipients/cn=fe425ca7e5f4401abed22b904fe5d964 Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0328cf - Browse repository at this point
Copy the full SHA c0328cfView commit details -
Add a host-based test DSC for UnitTestFrameworkPkg.
Bret Barkelew committedJan 10, 2020 Configuration menu - View commit details
-
Copy full SHA for e3ccf1c - Browse repository at this point
Copy the full SHA e3ccf1cView commit details -
MdePkg: Add header file for Firmware Interface Table specification.
This patch add FirmwareInterfaceTable.h for the Firmware Interface Table BIOS specification. This is to remove future edk2 dependency on edk2-platforms repo. The file content comes from edk2-platforms\Silicon\Intel\IntelSiliconPkg\Include\IndustryStandard BZ link: https://tianocore.acgmultimedia.com/show_bug.cgi?id=2449 Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Siyuan Fu <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7c964b - Browse repository at this point
Copy the full SHA c7c964bView commit details -
UefiCpuPkg: Shadow microcode patch according to FIT microcode entry.
The existing MpInitLib will shadow the microcode update patches from flash to memory and this is done by searching microcode region specified by PCD PcdCpuMicrocodePatchAddress and PcdCpuMicrocodePatchRegionSize. This brings a limition to platform FW that all the microcode patches must be placed in one continuous flash space. This patch shadows microcode update according to FIT microcode entries if it's present, otherwise it will fallback to original logic (by PCD). A new featured PCD gUefiCpuPkgTokenSpaceGuid.PcdCpuShadowMicrocodeByFit is added for enabling/disabling this support. TEST: Tested on FIT enabled platform. BZ: https://tianocore.acgmultimedia.com/show_bug.cgi?id=2449 Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Siyuan Fu <[email protected]> Reviewed-by: Eric Dong <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd01704 - Browse repository at this point
Copy the full SHA dd01704View commit details -
MdeModulePkg: remove EnterS3WithImmediateWake () from ResetSystemLib
EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d3d87e - Browse repository at this point
Copy the full SHA 7d3d87eView commit details -
PcAtChipsetPkg: remove EnterS3WithImmediateWake () from ResetSystemLib
EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6eacb85 - Browse repository at this point
Copy the full SHA 6eacb85View commit details -
UefiPayloadPkg: remove EnterS3WithImmediateWake () from ResetSystemLib
EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Guo Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eaea26b - Browse repository at this point
Copy the full SHA eaea26bView commit details -
OvmfPkg: remove EnterS3WithImmediateWake () from ResetSystemLib
EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d9950a - Browse repository at this point
Copy the full SHA 2d9950aView commit details -
ArmVirtPkg: remove EnterS3WithImmediateWake () from ResetSystemLib
EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d1c9d0 - Browse repository at this point
Copy the full SHA 9d1c9d0View commit details -
Fix compat between teardown functions and Cmocka.
Bret Barkelew committedJan 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 953260b - Browse repository at this point
Copy the full SHA 953260bView commit details
Commits on Jan 11, 2020
-
Standardize the AssertCmocka calls.
Bret Barkelew committedJan 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 269de47 - Browse repository at this point
Copy the full SHA 269de47View commit details -
MdePkg/Include/Library: Rollback UnitTestLib change
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38c56a3 - Browse repository at this point
Copy the full SHA 38c56a3View commit details -
UnitTestFrameworkPkg/UnitTestLib: Add cmocka gasket
Add gasket between UnitTestLib unit tests APIs and the cmocka unit test APIs. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05c517f - Browse repository at this point
Copy the full SHA 05c517fView commit details
Commits on Jan 13, 2020
-
MdeModulePkg/SdMmcPciHcDxe: Fix unknown doxygen tag error
Changed @rtval to @RetVal in SdMmcHcStartSdClock function description. Signed-off-by: Mateusz Albecki <[email protected]> Reviewed-by: Hao A Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27f44ea - Browse repository at this point
Copy the full SHA 27f44eaView commit details -
BaseTools:Change the case rules for ECC check pointer names
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2087 In CryptHkdf.c line 42 EVP_PKEY_CTX *pHkdfCtx; Variable pHkdfCtx begins with lower case 'p', which should be acceptable because it it is a pointer. (Refer to CCS_2_1_Draft, 4.3.3.3) So ECC tool should be improved to handle issues like this. Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Zhiju.Fan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 072b9c2 - Browse repository at this point
Copy the full SHA 072b9c2View commit details -
BaseTools:Fix GenFds issue for BuildOption replace GenFdsOption
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2455 BuildOption is used by TargetTxtClassObj.py GenFdsOption is used by GenFds.py When the GenFds tool is used alone (e.g. python3 -m GenFds.GenFds -h) With the OptionParser function, the first detected function prints the help message import TargetTxtClassObj to GenFds, The BuildOption will be executed and replace GenFdsOption We removed all objects associated with this problem that were created directly during the import process (e.g. BuildOption, BuildTarget = MyOptionParser(), TargetTxt = TargetTxtDict()) The Patch is going to fix this issue Signed-off-by: Zhiju.Fan <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4465cd1 - Browse repository at this point
Copy the full SHA 4465cd1View commit details -
Update Cmocka gasket to set the CurrentTest in the Framework so that …
…Logs will work correctly.
Bret Barkelew committedJan 13, 2020 Configuration menu - View commit details
-
Copy full SHA for e8a1d85 - Browse repository at this point
Copy the full SHA e8a1d85View commit details -
Add a log message to the SampleUnitTest.
Bret Barkelew committedJan 13, 2020 Configuration menu - View commit details
-
Copy full SHA for 46ad45e - Browse repository at this point
Copy the full SHA 46ad45eView commit details -
BaseTools/Scripts/PatchCheck: Address false error conditions
https://bugzilla.tianocore.org/show_bug.cgi?id=2406 * Always print subject line after the git commit id to make it easier to know the context of warnings or errors. * Allow UTF-8 characters in subject line * Error if subject line length > 75 without CVE-xxx-xxxxx present * Error if subject line length > 92 with CVE-xxxx-xxxxx present * If body line length is > 75, then print warning instead of error. Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Jordan Justen <[email protected]> Signed-off-by: Michael D Kinney <[email protected]> Reviewed-by: Bob Feng <[email protected]> Tested-by: Laszlo Ersek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b112ec2 - Browse repository at this point
Copy the full SHA b112ec2View commit details -
Bret Barkelew committed
Jan 13, 2020 Configuration menu - View commit details
-
Copy full SHA for 64c91e8 - Browse repository at this point
Copy the full SHA 64c91e8View commit details
Commits on Jan 14, 2020
-
MdeModulePkg/UefiBootManagerLib: log reserved mem allocation failure
The LoadFile protocol can report such a large buffer size that we cannot allocate enough reserved pages for. This particularly affects HTTP(S) Boot, if the remote file is very large (for example, an ISO image). While the TianoCore wiki mentions this at <https://github.com/tianocore/tianocore.github.io/wiki/HTTP-Boot#ram-disk-image-size>: > The maximum RAM disk image size depends on how much continuous reserved > memory block the platform could provide. it's hard to remember; so log a DEBUG_ERROR message when the allocation fails. This patch produces error messages such as: > UiApp:BmExpandLoadFile: failed to allocate reserved pages: > BufferSize=4501536768 > LoadFile="PciRoot(0x0)/Pci(0x3,0x0)/MAC(5254001B103E,0x1)/ > IPv4(0.0.0.0,TCP,DHCP,192.168.124.106,192.168.124.1,255.255.255.0)/ > Dns(192.168.124.1)/ > Uri(https://ipv4-server/RHEL-7.7-20190723.1-Server-x86_64-dvd1.iso)" > FilePath="" (Manually rewrapped here for keeping PatchCheck.py happy.) Cc: Hao A Wu <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Ray Ni <[email protected]> Cc: Zhichao Gao <[email protected]> Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Siyuan Fu <[email protected]> Acked-by: Hao A Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a56af23 - Browse repository at this point
Copy the full SHA a56af23View commit details -
NetworkPkg/HttpDxe: fix 32-bit truncation in HTTPS download
When downloading over TLS, each TLS message ("APP packet") is returned as a (decrypted) fragment table by EFI_TLS_PROTOCOL.ProcessPacket(). The TlsProcessMessage() function in "NetworkPkg/HttpDxe/HttpsSupport.c" linearizes the fragment table into a single contiguous data block. The resultant flat data block contains both TLS headers and data. The HttpsReceive() function parses the actual application data -- in this case: decrypted HTTP data -- out of the flattened TLS data block, peeling off the TLS headers. The HttpResponseWorker() function in "NetworkPkg/HttpDxe/HttpImpl.c" propagates this HTTP data outwards, implementing the EFI_HTTP_PROTOCOL.Response() function. Now consider the following documentation for EFI_HTTP_PROTOCOL.Response(), quoted from "MdePkg/Include/Protocol/Http.h": > It is the responsibility of the caller to allocate a buffer for Body and > specify the size in BodyLength. If the remote host provides a response > that contains a content body, up to BodyLength bytes will be copied from > the receive buffer into Body and BodyLength will be updated with the > amount of bytes received and copied to Body. This allows the client to > download a large file in chunks instead of into one contiguous block of > memory. Note that, if the caller-allocated buffer is larger than the server-provided chunk, then the transfer length is limited by the latter. This is in fact the dominant case when downloading a huge file (for which UefiBootManagerLib allocated a huge contiguous RAM Disk buffer) in small TLS messages. For adjusting BodyLength as described above -- i.e., to the application data chunk that has been extracted from the TLS message --, the HttpResponseWorker() function employs the following assignment: HttpMsg->BodyLength = MIN (Fragment.Len, (UINT32) HttpMsg->BodyLength); The (UINT32) cast is motivated by the MIN() requirement -- in "MdePkg/Include/Base.h" -- that both arguments be of the same type. "Fragment.Len" (NET_FRAGMENT.Len) has type UINT32, and "HttpMsg->BodyLength" (EFI_HTTP_MESSAGE.BodyLength) has type UINTN. Therefore a cast is indeed necessary. Unfortunately, the cast is done in the wrong direction. Consider the following circumstances: - "Fragment.Len" happens to be consistently 16KiB, dictated by the HTTPS Server's TLS stack, - the size of the file to download is 4GiB + N*16KiB, where N is a positive integer. As the download progresses, each received 16KiB application data chunk brings the *next* input value of BodyLength closer down to 4GiB. The cast in MIN() always masks off the high-order bits from the input value of BodyLength, but this is no problem because the low-order bits are nonzero, therefore the MIN() always permits progress. However, once BodyLength reaches 4GiB exactly on input, the MIN() invocation produces a zero value. HttpResponseWorker() adjusts the output value of BodyLength to zero, and then passes it to HttpParseMessageBody(). HttpParseMessageBody() (in "NetworkPkg/Library/DxeHttpLib/DxeHttpLib.c") rejects the zero BodyLength with EFI_INVALID_PARAMETER, which is fully propagated outwards, and aborts the HTTPS download. HttpBootDxe writes the message "Error: Unexpected network error" to the UEFI console. For example, a file with size (4GiB + 197MiB) terminates after downloading just 197MiB. Invert the direction of the cast: widen "Fragment.Len" to UINTN. Cc: Jiaxin Wu <[email protected]> Cc: Maciej Rabeda <[email protected]> Cc: Siyuan Fu <[email protected]> Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Siyuan Fu <[email protected]> Reviewed-by: Maciej Rabeda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4cca792 - Browse repository at this point
Copy the full SHA 4cca792View commit details -
Configuration menu - View commit details
-
Copy full SHA for f550dac - Browse repository at this point
Copy the full SHA f550dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0d545c - Browse repository at this point
Copy the full SHA c0d545cView commit details -
ArmPkg/ArmSmcPsciResetSystemLib: remove EnterS3WithImmediateWake ()
EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Note that this means the hack to support warm reboot by jumping to the SEC entry point with the MMU and caches off is also no longer used, and can be removed as well, along with the PCD PcdArmReenterPeiForCapsuleWarmReboot that was introduced for this purpose. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Leif Lindholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3756ba - Browse repository at this point
Copy the full SHA e3756baView commit details -
ArmPlatformPkg/PrePeiCore: enable VFP at startup
While the alternative PEI-less SEC implementation in PrePi already takes the EnableVFP PCD into account, the PrePeiCore code does not, and so we may end up triggering synchronous exception when code attempts to use FP or SIMD registers, which is permitted on AARCH64 by the spec. So enable the VFP as early as feasible if the associated PCD is set. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Leif Lindholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6a835b - Browse repository at this point
Copy the full SHA a6a835bView commit details
Commits on Jan 15, 2020
-
MdeModulePkg/Setup: Update opcode number variable type to UINTN
Update data type of variables which save the opcode numbers to UINTN, in case some configuration module has lots of configuration items. Cc: Liming Gao <[email protected]> Cc: Eric Dong <[email protected]> Signed-off-by: Brian R Haug <[email protected]> Reviewed-by: Dandan Bi <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Reviewed-by: Eric Dong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94057f7 - Browse repository at this point
Copy the full SHA 94057f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07352d7 - Browse repository at this point
Copy the full SHA 07352d7View commit details -
BaseTools/Capsule: Add capsule dependency support
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2412 Capsule generate tool support encode capsule dependencies through '-j' command with a JSON file. To enable dependency feature, "Dependencies" field for each payload in JSON file is required. The value of "Dependencies" field is C style infix notation expression. For example: "Dependencies":"72E2945A-00DA-448E-9AA7-075AD840F9D4 > 0x00000001" The relation of Dependency Expression Opcode in UEFI2.8 chap 23.2 and infix notation expression value is as follows: +-----------------------------+--------------------------+ | OPCODE | INFIX EXPRESSION VALUE | +-----------------------------+--------------------------+ | 0x00 (PUSH_GUID) | {GUID} | | 0x01 (PUSH_VERSION) | {UINT32} | | 0x02 (DECLEAR_VERSION_NAME} | DECLEAR "{VERSION_NAME}" | | 0x03 (AND) | && | | 0x04 (OR) | || | | 0x05 (NOT) | ~ | | 0x06 (TRUE) | TRUE | | 0x07 (FALSE) | FALSE | | 0x08 (EQ) | == | | 0x09 (GT) | > | | 0x0A (GTE) | >= | | 0x0B (LT) | < | | 0x0C (LTE) | <= | +-----------------------------+--------------------------+ Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Aaron Li <[email protected]> Reviewed-by: Bob Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6f66e0 - Browse repository at this point
Copy the full SHA f6f66e0View commit details -
ShellPkg: acpiview: Update SRAT parser to ACPI 6.3
Add support for revision 3 of System Resource Affinity Table (SRAT). Decode and dump the new Generic Initiator Affinity Structure. Validate the Device Handle Type field inside the Generic Initiator Affinity Structure. Reviewed-by: Alexei Fedorov <[email protected]> Reviewed-by: Jaben Carsey <[email protected]> Reviewed-by: Sami Mujawar <[email protected]> Reviewed-by: Zhichao Gao <[email protected]> Tested-by: Sudipto Paul <[email protected]> Signed-off-by: Krzysztof Koch <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 710ff74 - Browse repository at this point
Copy the full SHA 710ff74View commit details -
Tweak the documentation to align with new state of code.
Bret Barkelew committedJan 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 7d180f9 - Browse repository at this point
Copy the full SHA 7d180f9View commit details
Commits on Jan 17, 2020
-
MdePkg Base.h: Use correct style to check the defined macro
#if MACRO is not good style. It should be changed to #ifdef MACRO style or #if defined (MACRO) style. Signed-off-by: Zhiguang Liu <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63653ff - Browse repository at this point
Copy the full SHA 63653ffView commit details -
Add inital port of BaseLib UnitTest that supports base64 encode/decod…
…e. Test currently aborts due to memory corruption. (cherry picked from commit 2af6abf)
Configuration menu - View commit details
-
Copy full SHA for 3756d3a - Browse repository at this point
Copy the full SHA 3756d3aView commit details -
* Resolve memory corruption caused by improper test code * Change test descriptions to be more meaningful * Add error test case for encode * Remove duplicate encode test case (cherry picked from commit 2901689)
Configuration menu - View commit details
-
Copy full SHA for 4cfb180 - Browse repository at this point
Copy the full SHA 4cfb180View commit details -
(cherry picked from commit 47dbf42)
Configuration menu - View commit details
-
Copy full SHA for 97fb055 - Browse repository at this point
Copy the full SHA 97fb055View commit details -
Add more context to cmocka log hack
(cherry picked from commit 689d596)
Configuration menu - View commit details
-
Copy full SHA for 1862a36 - Browse repository at this point
Copy the full SHA 1862a36View commit details -
MdeModulePkg/Variable: Fix VarErrorFlag RT cache offset calculation
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2457 This commit fixes an offset calculation that is used to write the VarErrorFlag UEFI variable to the UEFI variable runtime cache. Currently a physical address is used instead of an offset. This commit changes the offset to zero with a length of the entire non-volatile variable store so the entire non-volatile variable store buffer in SMRAM (with the variable update modification) is copied to the runtime variable cache. This follows the same pattern used in other SynchronizeRuntimeVariableCache () calls for consistency. * Observable symptom: An exception in SMM will most likely occur due to the invalid memory reference when the VarErrorFlag variable is written. The variable is most commonly written when the UEFI variable store is full. * The issue only occurs when the variable runtime cache is enabled by the following PCD being set to TRUE: gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache Fixes: aab3b9b Cc: Liming Gao <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Michael Turner <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Signed-off-by: Michael Kubacki <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Jian J Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 302eb57 - Browse repository at this point
Copy the full SHA 302eb57View commit details -
Add a Cmocka test for DxeResetSystem to demo mocking and advanced fea…
…tures.
Bret Barkelew committedJan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 8064a0a - Browse repository at this point
Copy the full SHA 8064a0aView commit details -
Rather than depend on a "Framework" local variable, change the Assert…
…ion and Logging macros to us GetActiveFrameworkHandle() function.
Bret Barkelew committedJan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 27cd81f - Browse repository at this point
Copy the full SHA 27cd81fView commit details -
Update docs with advanced testing instructions and known limitations.
Bret Barkelew committedJan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for d438fc8 - Browse repository at this point
Copy the full SHA d438fc8View commit details -
UefiCpuPkg/PiSmmCpuDxeSmm: fix 2M->4K page splitting regression for PDEs
In commit 4eee0cc ("UefiCpuPkg/PiSmmCpu: Enable 5 level paging when CPU supports", 2019-07-12), the Page Directory Entry setting was regressed (corrupted) when splitting a 2MB page to 512 4KB pages, in the InitPaging() function. Consider the following hunk, displayed with $ git show --function-context --ignore-space-change 4eee0cc > // > // If it is 2M page, check IsAddressSplit() > // > if (((*Pd & IA32_PG_PS) != 0) && IsAddressSplit (Address)) { > // > // Based on current page table, create 4KB page table for split area. > // > ASSERT (Address == (*Pd & PHYSICAL_ADDRESS_MASK)); > > Pt = AllocatePageTableMemory (1); > ASSERT (Pt != NULL); > > + *Pd = (UINTN) Pt | IA32_PG_RW | IA32_PG_P; > + > // Split it > - for (PtIndex = 0; PtIndex < SIZE_4KB / sizeof(*Pt); PtIndex++) { > - Pt[PtIndex] = Address + ((PtIndex << 12) | mAddressEncMask | PAGE_ATTRIBUTE_BITS); > + for (PtIndex = 0; PtIndex < SIZE_4KB / sizeof(*Pt); PtIndex++, Pt++) { > + *Pt = Address + ((PtIndex << 12) | mAddressEncMask | PAGE_ATTRIBUTE_BITS); > } // end for PT > *Pd = (UINT64)(UINTN)Pt | mAddressEncMask | PAGE_ATTRIBUTE_BITS; > } // end if IsAddressSplit > } // end for PD First, the new assignment to the Page Directory Entry (*Pd) is superfluous. That's because (a) we set (*Pd) after the Page Table Entry loop anyway, and (b) here we do not attempt to access the memory starting at "Address" (which is mapped by the original value of the Page Directory Entry). Second, appending "Pt++" to the incrementing expression of the PTE loop is a bug. It causes "Pt" to point *right past* the just-allocated Page Table, once we finish the loop. But the PDE assignment that immediately follows the loop assumes that "Pt" still points to the *start* of the new Page Table. The result is that the originally mapped 2MB page disappears from the processor's view. The PDE now points to a "Page Table" that is filled with garbage. The random entries in that "Page Table" will cause some virtual addresses in the original 2MB area to fault. Other virtual addresses in the same range will no longer have a 1:1 physical mapping, but be scattered over random physical page frames. The second phase of the InitPaging() function ("Go through page table and set several page table entries to absent or execute-disable") already manipulates entries in wrong Page Tables, for such PDEs that got split in the first phase. This issue has been caught as follows: - OVMF is started with 2001 MB of guest RAM. - This places the main SMRAM window at 0x7C10_1000. - The SMRAM management in the SMM Core links this SMRAM window into "mSmmMemoryMap", with a FREE_PAGE_LIST record placed at the start of the area. - At "SMM Ready To Lock" time, PiSmmCpuDxeSmm calls InitPaging(). The first phase (quoted above) decides to split the 2MB page at 0x7C00_0000 into 512 4KB pages, and corrupts the PDE. The new Page Table is allocated at 0x7CE0_D000, but the PDE is set to 0x7CE0_E000 (plus attributes 0x67). - Due to the corrupted PDE, the second phase of InitPaging() already looks up the PTE for Address=0x7C10_1000 in the wrong place. The second phase goes on to mark bogus PTEs as "NX". - PiSmmCpuDxeSmm calls SetMemMapAttributes(). Address 0x7C10_1000 is at the base of the SMRAM window, therefore it happens to be listed in the SMRAM map as an EfiConventionalMemory region. SetMemMapAttributes() calls SmmSetMemoryAttributes() to mark the region as XP. However, GetPageTableEntry() in ConvertMemoryPageAttributes() fails -- address 0x7C10_1000 is no longer mapped by anything! -- and so the attribute setting fails with RETURN_UNSUPPORTED. This error goes unnoticed, as SetMemMapAttributes() ignores the return value of SmmSetMemoryAttributes(). - When SetMemMapAttributes() reaches another entry in the SMRAM map, ConvertMemoryPageAttributes() decides it needs to split a 2MB page, and calls SplitPage(). - SplitPage() calls AllocatePageTableMemory() for the new Page Table, which takes us to InternalAllocMaxAddress() in the SMM Core. - The SMM core attempts to read the FREE_PAGE_LIST record at 0x7C10_1000. Because this virtual address is no longer mapped, the firmware crashes in InternalAllocMaxAddress(), when accessing (Pages->NumberOfPages). Remove the useless assignment to (*Pd) from before the loop. Revert the loop incrementing and the PTE assignment to the known good version. Cc: Eric Dong <[email protected]> Cc: Ray Ni <[email protected]> Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1789335 Fixes: 4eee0cc Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a523556 - Browse repository at this point
Copy the full SHA a523556View commit details -
Merge branch 'master' into edk2-host-test_v2
Bret Barkelew committedJan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 80e3d15 - Browse repository at this point
Copy the full SHA 80e3d15View commit details -
Drop a test case that no longer aligns with upstream.
Bret Barkelew committedJan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 47873d6 - Browse repository at this point
Copy the full SHA 47873d6View commit details -
Add a valid dependency to fix CI tests.
Bret Barkelew committedJan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 61278d5 - Browse repository at this point
Copy the full SHA 61278d5View commit details -
Remove GetActiveFrameworkHandle from the public interface.
Bret Barkelew committedJan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 335851f - Browse repository at this point
Copy the full SHA 335851fView commit details -
Bret Barkelew committed
Jan 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 078df5e - Browse repository at this point
Copy the full SHA 078df5eView commit details -
UnitTestFrameworkPkg/UnitTestLib: Simplify assert APIs
Move Framwork into internal API. Fix code style issues Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f9db3c - Browse repository at this point
Copy the full SHA 4f9db3cView commit details -
MdePkg/Include/UnitTestLib: Make all handle types unique
* Add a unique type for each handle type to generate compiler error if wrong handle is used with anu unit test API * Fix incorrect handle type in RunAllTestSuites() * Fix incorrect handle type in FreeUnitTestFramework() * Start clean up of function headers Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a675d8 - Browse repository at this point
Copy the full SHA 5a675d8View commit details -
UnitTestFrameworkPlg/UnitTestLib: Clean up handle usage
* UnitTestLogInit() - Use UNIT_TEST * instead of UNIT_TEST_HANDLE. This is internal API that does not need to use handle. * Add ASSERT() to GetActiveFrameworkHandle() to make sure mFrameworkHandle is not NULL. This catches a call to a unit test without using RunAllTestCases(). * Fix incorrect handle type usage. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c073bc - Browse repository at this point
Copy the full SHA 2c073bcView commit details
Commits on Jan 18, 2020
-
MdeModulePkg/DxeResetSystemLib/UnitTest: Add UefiRuntimeServicesLib i…
…nstance Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7dda6a - Browse repository at this point
Copy the full SHA e7dda6aView commit details -
UnitTestFrameworkPkg: Remove MockLibraryClassLibNull
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a1a021 - Browse repository at this point
Copy the full SHA 9a1a021View commit details -
Remove UNIT_TEST_FRAMEWORK_HANDLE parameter
Remove the UNIT_TEST_FRAMEWORK_HANDLE from the 5 function prototype for the Suite Setup, Suite Teardown, Unit Test Prerequiisite, Unit Test Function, Unit Test Cleanup. Update UnitTestLib test runners to remove this parameter. Remove parameter from all unit test cases. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67e9484 - Browse repository at this point
Copy the full SHA 67e9484View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e1ebc6 - Browse repository at this point
Copy the full SHA 6e1ebc6View commit details -
Complete fix of misplelled word 'Moch' to 'Mock'
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c458e7e - Browse repository at this point
Copy the full SHA c458e7eView commit details
Commits on Jan 21, 2020
-
Add Mock library to the HostApplication DSC.
Bret Barkelew committedJan 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 966e3a5 - Browse repository at this point
Copy the full SHA 966e3a5View commit details -
Bret Barkelew committed
Jan 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 24c158d - Browse repository at this point
Copy the full SHA 24c158dView commit details -
Update BaseSafeIntLib test cases to reflect the correct implementatio…
…ns of SafeInt<x>ToChar8().
Bret Barkelew committedJan 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 598c0fe - Browse repository at this point
Copy the full SHA 598c0feView commit details -
UnitTestFrameworkPkg: General cleanups
* Change DEC PACKAGE_NAME from UnitTestPkg to UnitTestFrameworkPkg. * CHange token space guid name from UnitTestPkgTokenSpaceGuid to UnitTestFrameworkPkgTokenSpaceGuid * Add detailed description of PcdUnitTestLogLevel * Add package UNI file with description of package and PcdUnitTestLogLevel. * Remove use of defines from DebugLib and add unit test specific defines for logging levels. * Change "PREREQ" and "PreReq" to "PREREQUISITE" and "Prerequisite" * Change param/field "ClassName" to "Name" * Change param/field "Package" to "Name" * Change param/field "Func" to "Function" * Complete UnitTestLib.h class function/macro descriptions * Update function headers for UnitTestLib instance to match class. * CreateUnitTestSuite() - Check if SuiteHandle is NULL * AddTestCase() - Check if Function is NULL. * AddTestCase() - Check of NewTestEntry->UT.Name is NULL. * UintTestLog() - Remove LogLevel local variable. * UnitTestAssertMemEqual() - Change ValueA and ValueB to BufferA and BufferB and make them VOID* instead of UINTN. Update macro to use (VOID *)(UINTN) typecase for max compat with possible input params. * UnitTestLib/Assert.c - Use UT_LOG_ERROR() instead of UnitTestLog() Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7449d6 - Browse repository at this point
Copy the full SHA f7449d6View commit details -
UnitTestFrameworkPkg/UnitTestLib: Remove unused local Framework
Remove local variable Framework that is set but not used. Resolves GCC build failure. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4523df7 - Browse repository at this point
Copy the full SHA 4523df7View commit details -
MdeModulePkg/DxeResetSystemLib/Test: Update mock ResetSystem() API to…
… be EFIAPI Resolves GCC build failure. Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef82a8f - Browse repository at this point
Copy the full SHA ef82a8fView commit details
Commits on Jan 22, 2020
-
UnitTestFrameworkPkg: More clean ups
* EDK II code style issues * CR/LF line endings * Copyright updates Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f0a850 - Browse repository at this point
Copy the full SHA 1f0a850View commit details -
Signed-off-by: Michael D Kinney <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 007cc2b - Browse repository at this point
Copy the full SHA 007cc2bView commit details -
Clean up the way the ASSERT macros work with complex parameters.
Bret Barkelew committedJan 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 7b4972e - Browse repository at this point
Copy the full SHA 7b4972eView commit details