[edk2-devel] [PATCH 1/6] BaseTools: Remove Python2/Python3 detection from toolset.bat

2023-04-25 Thread Rebecca Cran
Since Python3 is now required, we can remove the checks for PYTHON3_ENABLE and PYTHON3 and simplify the code in toolsetup.bat. Also, remove the leftover from when we supported freezing Python code. While here, fix a couple of typos and improve error messages. Signed-off-by: Rebecca Cran

[edk2-devel] [PATCH 0/6] edksetup.bat, BaseTools: Improve Windows environment setup and BaseTools C compilation

2023-04-25 Thread Rebecca Cran
lenv since it installs python.exe and pythonw.exe in venv\Scripts. toolsetup.bat therefore fails to detect the Pip BaseTools and uses the in-source Basetools. GitHub PR: https://github.com/tianocore/edk2/pull/4302 GitHub branch: https://github.com/bcran/edk2/tree/py3 Rebecca Cran (6): BaseToo

Re: [edk2-devel] [PATCH v5 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF

2023-04-25 Thread Rebecca Cran
to be run that needs quotes around it. -- Rebecca Cran On 4/24/23 00:14, Michael D Kinney wrote: Hi Rebecca, I have seen some issues with CLANGDWARF and need a little time to investigate further. Mike -Original Message- From: Rebecca Cran Sent: Friday, April 21, 2023 10:15 AM

[edk2-devel] Partial GitHub outage affecting TianoCore CI

2023-04-24 Thread Rebecca Cran
, reason: connect ETIMEDOUT 192.30.255.117:443 Error: Unable to download and extract CodeQL CLI https://www.githubstatus.com/ reports there's an ongoing issue affecting several services. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View

Re: [edk2-devel] [PATCH v5 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF

2023-04-24 Thread Rebecca Cran
It is something I could help troubleshoot in parallel? -- Rebecca Cran On 4/24/23 00:14, Kinney, Michael D wrote: Hi Rebecca, I have seen some issues with CLANGDWARF and need a little time to investigate further. Mike -Original Message- From: Rebecca Cran Sent: Friday, April

[edk2-devel] [PATCH v2 1/1] BaseTools: Add quotes around OBJCOPY cmd in build_rule.template

2023-04-24 Thread Rebecca Cran
Add quotes around the OBJCOPY command in build_rule.template to fix the case where LLVM is installed on Windows in a path with spaces such as C:\Program Files\LLVM. Signed-off-by: Rebecca Cran --- BaseTools/Conf/build_rule.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[edk2-devel] [PATCH 1/1] BaseTools: Add quotes around OBJCOPY cmd in build_rule.template

2023-04-24 Thread Rebecca Cran
Add quotes around the OBJCOPY command in build_rule.template to fix the case where LLVM is installed on Windows in a path with spaces such as C:\Program Files\LLVM. Signed-off-by: Rebecca Cran --- BaseTools/Conf/build_rule.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [edk2-devel] [PATCH v5 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains

2023-04-24 Thread Rebecca Cran
Thanks, I've been able to reproduce the failure. Since it's a simple fix and is independent of my other changes, I'd prefer to avoid making this patch series larger and instead fix this first. I'll send out a patch in a few minutes. -- Rebecca Cran On 4/24/23 05:28, Feng, Bob C wrote

[edk2-devel] Bugzilla missing releases after edk2-stable202105

2023-04-24 Thread Rebecca Cran
The newest release listed in Bugzilla is edk2-stable202105. Could someone add the newer releases please? Thanks. Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#103479): https://edk2.groups.io/g/devel/message/103479 Mute

[edk2-devel] [PATCH tianocore.github.io.wiki 1/1] Update gitbook.io links to point to tianocore-docs.github.io

2023-04-21 Thread Rebecca Cran
Since gitbook.io is no longer used, update the remaining links to point to the documents on tianocore-docs.github.io instead. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Rebecca Cran --- CET-in-SMM.md | 2 +- EDK-II-Code-Formatting.md | 2

Re: [edk2-devel] 回复: [PATCH v4 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains

2023-04-21 Thread Rebecca Cran
Thanks, I've fixed the issues you noted and sent out a v5 series. I kept your Reviewed-by on 01/13 despite making minor changes to fix the build on Windows: I hope that was okay. -- Rebecca Cran On 4/20/23 20:32, gaoliming wrote: Rebecca: I add my comments below. -邮件原件- 发件人

[edk2-devel] [PATCH v5 13/13] BaseTools/Conf/tools_def.template: Bump VERSION to 3.00

2023-04-21 Thread Rebecca Cran
Bump VERSION to 3.00 and explain the changes made to the toolchains. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf

[edk2-devel] [PATCH v5 12/13] BaseTools/Conf/tools_def.template: Add section for deprecated toolchains

2023-04-21 Thread Rebecca Cran
In order to make it clear for anyone reading tools_def.template, add a section for deprecated tool chains and move GCC48, GCC49 and GCC5 into it. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 31 +++ 1 file changed, 23

[edk2-devel] [PATCH v5 11/13] BaseTools: Add a deprecation warning for GCC48,GCC49,GCC5 to build.py

2023-04-21 Thread Rebecca Cran
The GCC48, GCC49 and GCC5 toolchains will be deleted in the coming months. Inform users that they're deprecated and tell them what replaces them. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- BaseTools/Source/Python/build/build.py | 14 ++ 1 file changed, 14 insertions

[edk2-devel] [PATCH v5 10/13] BaseTools: Only call LoadConfiguration once in build.py

2023-04-21 Thread Rebecca Cran
Avoid calling LoadConfiguration twice, in both InitPreBuild and InitBuild. Since InitPreBuild is called first, delete the second call from InitBuild. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- BaseTools/Source/Python/build/build.py | 4 +--- 1 file changed, 1 insertion(+), 3

[edk2-devel] [PATCH v5 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains

2023-04-21 Thread Rebecca Cran
Add a 'GCC' toolchain that's a copy of the existing GCC5 definition. Add a 'GCCNOLTO' toolchain that's a copy of the existing GCC49 toolchain. Signed-off-by: Rebecca Cran --- UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc | 4 IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc

[edk2-devel] [PATCH v5 08/13] BaseTools: Update VS toolchain descriptions in tools_def.txt.template

2023-04-21 Thread Rebecca Cran
Update the Visual Studio toolchain descriptions in tools_def.txt.template: - The WinDDK is no longer needed. - Update 3 is required for VS 2015. - VS 2005 has been removed. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 7 ++- 1 file changed, 2

[edk2-devel] [PATCH v5 07/13] BaseTools: Remove EBC (EFI Byte Code) compiler definitions

2023-04-21 Thread Rebecca Cran
-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 98 -- 1 file changed, 98 deletions(-) diff --git a/BaseTools/Conf

[edk2-devel] [PATCH v5 06/13] BaseTools: Remove unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS defs

2023-04-21 Thread Rebecca Cran
Remove the unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS definitions from Conf/tools_def.template. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 4 1 file changed, 4 deletions(-) diff --git a/BaseTools/Conf

[edk2-devel] [PATCH v5 05/13] edksetup.bat: Remove VS2008-VS2013 remnants

2023-04-21 Thread Rebecca Cran
Since Visual Studio versions older than VS2015 are no longer supported, remove mention of them from edksetup.bat. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny Reviewed-by: Liming Gao Reviewed-by: Leif Lindholm --- edksetup.bat | 6 +- 1 file changed, 1 insertion(+), 5

[edk2-devel] [PATCH v5 04/13] MdePkg: Remove VS2008-VS2013 remnants

2023-04-21 Thread Rebecca Cran
Since Visual Studio versions older than VS2015 are no longer supported, remove mention of them from MdePkg. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny Reviewed-by: Liming Gao --- MdePkg/Include/Ia32/ProcessorBind.h | 8 ++-- MdePkg/Include/X64/ProcessorBind.h | 8

[edk2-devel] [PATCH v5 03/13] BaseTools: Remove VS2008-VS2013 remnants

2023-04-21 Thread Rebecca Cran
Remove remnants of Visual Studio 2008-2013 support from Conf/tools_def.txt and various batch scripts. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 12 BaseTools/Scripts/SetVisualStudio.bat | 22

[edk2-devel] [PATCH v5 02/13] BaseTools: Remove VS2008, 2010, 2012 and 2013 toolchain definitions

2023-04-21 Thread Rebecca Cran
With recent changes, Visual Studio versions older than VS2015 are unable to build EDK2 code. To avoid confusion, remove VS2008, 2010, 2012 and 2013 toolchain definitions from Conf/tools_def.template, leaving only versions that can be used to successfully build firmware. Signed-off-by: Rebecca

[edk2-devel] [PATCH v5 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains

2023-04-21 Thread Rebecca Cran
the compiler flags in BaseCryptLib and OpensslLib. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf

[edk2-devel] [PATCH v5 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF

2023-04-21 Thread Rebecca Cran
installed in Visual Studio: use llvm-objcopy and the tools prefix. - Added flags for GCCNOLTO to UnitTestFrameworkPkgHost.dsc.inc - Added GCC flags to CryptoPkg/Library/OpensslLib/*.inf Rebecca Cran (13): BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains BaseTools: Rem

Re: [edk2-devel] [PATCH v6 2/2] add ArmCpuInfo EFI application

2023-04-21 Thread Rebecca Cran
nd, to indicate to Doxygen to add a line break. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#103405): https://edk2.groups.io/g/devel/message/103405 Mute This Topic: https://groups.io/mt/98390298/21656 Group Owner: deve

Re: [edk2-devel] [PATCH v6 2/2] add ArmCpuInfo EFI application

2023-04-21 Thread Rebecca Cran
-80c7-040377c664fd=a7f329c1-489d-56ab-b670-1c248e984338 -- Rebecca Cran On 4/20/23 11:29, Leif Lindholm wrote: On Thu, Apr 20, 2023 at 16:44:23 +0200, Marcin Juszkiewicz wrote: App goes through ID_AA64*_EL1 system registers and decode their values. Signed-off-by: Marcin Juszkiewicz

[edk2-devel] [PATCH v4 13/13] BaseTools/Conf/tools_def.template: Bump VERSION to 3.00

2023-04-19 Thread Rebecca Cran
Bump VERSION to 3.00 and explain the changes made to the toolchains. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index

[edk2-devel] [PATCH v4 12/13] BaseTools/Conf/tools_def.template: Add section for deprecated toolchains

2023-04-19 Thread Rebecca Cran
In order to make it clear for anyone reading tools_def.template, add a section for deprecated tool chains and move GCC48, GCC49 and GCC5 into it. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 31 +++ 1 file changed, 23 insertions(+), 8 deletions

[edk2-devel] [PATCH v4 11/13] BaseTools: Add a deprecation warning for GCC48,GCC49,GCC5 to build.py

2023-04-19 Thread Rebecca Cran
The GCC48, GCC49 and GCC5 toolchains will be deleted in the coming months. Inform users that they're deprecated and tell them what replaces them. Signed-off-by: Rebecca Cran --- BaseTools/Source/Python/build/build.py | 14 ++ 1 file changed, 14 insertions(+) diff --git a/BaseTools

[edk2-devel] [PATCH v4 10/13] BaseTools: Only call LoadConfiguration once in build.py

2023-04-19 Thread Rebecca Cran
Avoid calling LoadConfiguration twice, in both InitPreBuild and InitBuild. Since InitPreBuild is called first, delete the second call from InitBuild. Signed-off-by: Rebecca Cran --- BaseTools/Source/Python/build/build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[edk2-devel] [PATCH v4 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains

2023-04-19 Thread Rebecca Cran
Add a 'GCC' toolchain that's a copy of the existing GCC5 definition. Add a 'GCCNOLTO' toolchain that's a copy of the existing GCC48 toolchain. Signed-off-by: Rebecca Cran --- UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc | 2 ++ IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc

[edk2-devel] [PATCH v4 08/13] BaseTools: Update VS toolchain descriptions in tools_def.txt.template

2023-04-19 Thread Rebecca Cran
Update the Visual Studio toolchain descriptions in tools_def.txt.template: - The WinDDK is no longer needed. - Update 3 is required for VS 2015. - VS 2005 has been removed. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 7 ++- 1 file changed, 2 insertions(+), 5

[edk2-devel] [PATCH v4 07/13] BaseTools: Remove EBC (EFI Byte Code) compiler definitions

2023-04-19 Thread Rebecca Cran
-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- BaseTools/Conf/tools_def.template | 98 -- 1 file changed, 98 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf

[edk2-devel] [PATCH v4 06/13] BaseTools: Remove unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS defs

2023-04-19 Thread Rebecca Cran
Remove the unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS definitions from Conf/tools_def.template. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- BaseTools/Conf/tools_def.template | 4 1 file changed, 4 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b

[edk2-devel] [PATCH v4 05/13] edksetup.bat: Remove VS2008-VS2013 remnants

2023-04-19 Thread Rebecca Cran
Since Visual Studio versions older than VS2015 are no longer supported, remove mention of them from edksetup.bat. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- edksetup.bat | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/edksetup.bat b/edksetup.bat

[edk2-devel] [PATCH v4 04/13] MdePkg: Remove VS2008-VS2013 remnants

2023-04-19 Thread Rebecca Cran
Since Visual Studio versions older than VS2015 are no longer supported, remove mention of them from MdePkg. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- MdePkg/Include/Ia32/ProcessorBind.h | 8 ++-- MdePkg/Include/X64/ProcessorBind.h | 8 ++-- 2 files changed, 4

[edk2-devel] [PATCH v4 02/13] BaseTools: Remove VS2008, 2010, 2012 and 2013 toolchain definitions

2023-04-19 Thread Rebecca Cran
With recent changes, Visual Studio versions older than VS2015 are unable to build EDK2 code. To avoid confusion, remove VS2008, 2010, 2012 and 2013 toolchain definitions from Conf/tools_def.template, leaving only versions that can be used to successfully build firmware. Signed-off-by: Rebecca

[edk2-devel] [PATCH v4 03/13] BaseTools: Remove VS2008-VS2013 remnants

2023-04-19 Thread Rebecca Cran
Remove remnants of Visual Studio 2008-2013 support from Conf/tools_def.txt and various batch scripts. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- BaseTools/Conf/tools_def.template | 12 BaseTools/Scripts/SetVisualStudio.bat | 22

[edk2-devel] [PATCH v4 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains

2023-04-19 Thread Rebecca Cran
the compiler flags in BaseCryptLib and OpensslLib. Signed-off-by: Rebecca Cran --- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 3 +-- CryptoPkg

[edk2-devel] [PATCH v4 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF

2023-04-19 Thread Rebecca Cran
he VERSION section in tools_def.template. - Various fixes to the CLANGDWARF flags. Changes from v3 to v4 = - Use lld for -a ARM -t CLANGDWARF. Rebecca Cran (13): BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains BaseTools: Remove VS2008, 2010, 2012 and 2013

Re: [edk2-devel] [PATCH v1 1/1] BaseTools/Plugin: Clarify code coverage failure message

2023-04-19 Thread Rebecca Cran
Reviewed-by: Rebecca Cran On 4/18/23 10:11 AM, mikub...@linux.microsoft.com wrote: From: Michael Kubacki HostBasedUnitTestRunner.py is a build plugin responsible for locating and executing host-based unit tests. Recently, commit 6bb00aa introduced support for the plugin to generate code

Re: [edk2-devel] [PATCH v7 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support

2023-04-19 Thread Rebecca Cran
Hi Richard, I was wondering if you'd seen my questions about ECM and NCM, and rate limiting? -- Rebecca Cran On 4/11/23 6:31 AM, Rebecca Cran wrote: Yes, you can add me as a reviewer. A couple more comments on the patches: why are ECM and NCM disabled by default? I've tested on my

Re: [edk2-devel] [PATCH v3 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains

2023-04-17 Thread Rebecca Cran
it in this patch series but revisit it later on. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#103098): https://edk2.groups.io/g/devel/message/103098 Mute This Topic: https://groups.io/mt/98302347/21656 Group Owner: devel+ow...@edk2

Re: [edk2-devel] [PATCH v4 0/2] Set Firmware Version from build command line

2023-04-17 Thread Rebecca Cran
On 4/17/23 4:17 AM, Gerd Hoffmann wrote: On Fri, Apr 14, 2023 at 06:13:03AM -0600, Rebecca Cran wrote: Sorry for not commenting on this earlier. Would it be better to have people use the build `--pcd` option instead? e.g. build --pcd="gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionS

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/BhyveBhf: install bhyve's ACPI tables

2023-04-17 Thread Rebecca Cran
%a: RSDP not found\n", __func__)); Should these DEBUG_INFO messages which appear to be warnings/errors use DEBUG_WARN or DEBUG_ERROR, instead? -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#103089): https://edk2.groups.io

Re: [edk2-devel] [PATCH 1/1] edk2: Add .git-blame-ignore-revs file

2023-04-16 Thread Rebecca Cran
Pushed as https://github.com/tianocore/edk2/commit/6ded9f50c3aa123fe581c42ff6c03789b9b593c1 . -- Rebecca Cran On 12/16/22 15:35, Michael D Kinney wrote: Hi Pedro, This is great feature. We may have some other big changes in our git history that we may want to have an option to ignore

[edk2-devel] [PATCH v3 13/13] BaseTools/Conf/tools_def.template: Bump VERSION to 3.00

2023-04-16 Thread Rebecca Cran
Bump VERSION to 3.00 and explain the changes made to the toolchains. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index

[edk2-devel] [PATCH v3 12/13] BaseTools/Conf/tools_def.template: Add section for deprecated toolchains

2023-04-16 Thread Rebecca Cran
In order to make it clear for anyone reading tools_def.template, add a section for deprecated tool chains and move GCC48, GCC49 and GCC5 into it. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 31 +++- 1 file changed, 23 insertions(+), 8 deletions(-) diff

[edk2-devel] [PATCH v3 11/13] BaseTools: Add a deprecation warning for GCC48,GCC49,GCC5 to build.py

2023-04-16 Thread Rebecca Cran
The GCC48, GCC49 and GCC5 toolchains will be deleted in the coming months. Inform users that they're deprecated and tell them what replaces them. Signed-off-by: Rebecca Cran --- BaseTools/Source/Python/build/build.py | 14 ++ 1 file changed, 14 insertions(+) diff --git a/BaseTools

[edk2-devel] [PATCH v3 10/13] BaseTools: Only call LoadConfiguration once in build.py

2023-04-16 Thread Rebecca Cran
Avoid calling LoadConfiguration twice, in both InitPreBuild and InitBuild. Since InitPreBuild is called first, delete the second call from InitBuild. Signed-off-by: Rebecca Cran --- BaseTools/Source/Python/build/build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[edk2-devel] [PATCH v3 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains

2023-04-16 Thread Rebecca Cran
Add a 'GCC' toolchain that's a copy of the existing GCC5 definition. Add a 'GCCNOLTO' toolchain that's a copy of the existing GCC48 toolchain. Signed-off-by: Rebecca Cran --- UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc | 2 + IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc

[edk2-devel] [PATCH v3 07/13] BaseTools: Remove EBC (EFI Byte Code) compiler definitions

2023-04-16 Thread Rebecca Cran
-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- BaseTools/Conf/tools_def.template | 98 1 file changed, 98 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 39f17067e153..5fad1b292a60 100755 --- a/BaseTools/Conf

[edk2-devel] [PATCH v3 08/13] BaseTools: Update VS toolchain descriptions in tools_def.txt.template

2023-04-16 Thread Rebecca Cran
Update the Visual Studio toolchain descriptions in tools_def.txt.template: - The WinDDK is no longer needed. - Update 3 is required for VS 2015. - VS 2005 has been removed. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 7 ++- 1 file changed, 2 insertions(+), 5

[edk2-devel] [PATCH v3 06/13] BaseTools: Remove unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS defs

2023-04-16 Thread Rebecca Cran
Remove the unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS definitions from Conf/tools_def.template. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- BaseTools/Conf/tools_def.template | 4 1 file changed, 4 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b

[edk2-devel] [PATCH v3 05/13] edksetup.bat: Remove VS2008-VS2013 remnants

2023-04-16 Thread Rebecca Cran
Since Visual Studio versions older than VS2015 are no longer supported, remove mention of them from edksetup.bat. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- edksetup.bat | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/edksetup.bat b/edksetup.bat

[edk2-devel] [PATCH v3 04/13] MdePkg: Remove VS2008-VS2013 remnants

2023-04-16 Thread Rebecca Cran
Since Visual Studio versions older than VS2015 are no longer supported, remove mention of them from MdePkg. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- MdePkg/Include/Ia32/ProcessorBind.h | 8 ++-- MdePkg/Include/X64/ProcessorBind.h | 8 ++-- 2 files changed, 4

[edk2-devel] [PATCH v3 03/13] BaseTools: Remove VS2008-VS2013 remnants

2023-04-16 Thread Rebecca Cran
Remove remnants of Visual Studio 2008-2013 support from Conf/tools_def.txt and various batch scripts. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny --- BaseTools/Conf/tools_def.template | 12 BaseTools/Scripts/SetVisualStudio.bat | 22 +-- BaseTools/Scripts

[edk2-devel] [PATCH v3 02/13] BaseTools: Remove VS2008, 2010, 2012 and 2013 toolchain definitions

2023-04-16 Thread Rebecca Cran
With recent changes, Visual Studio versions older than VS2015 are unable to build EDK2 code. To avoid confusion, remove VS2008, 2010, 2012 and 2013 toolchain definitions from Conf/tools_def.template, leaving only versions that can be used to successfully build firmware. Signed-off-by: Rebecca

[edk2-devel] [PATCH v3 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains

2023-04-16 Thread Rebecca Cran
the compiler flags in BaseCryptLib and OpensslLib. Signed-off-by: Rebecca Cran --- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 3 +- CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 3 +- CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 3 +- CryptoPkg

[edk2-devel] [PATCH v3 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF

2023-04-16 Thread Rebecca Cran
he VERSION section in tools_def.template. - Various fixes to the CLANGDWARF flags. Rebecca Cran (13): BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains BaseTools: Remove VS2008, 2010, 2012 and 2013 toolchain definitions BaseTools: Remove VS2008-VS2013 remnants MdePkg: Rem

Re: [edk2-devel] [PATCH v4 00/10] BaseTools: remove duplicate includes.

2023-04-14 Thread Rebecca Cran
If it passes CI, then for the series: Reviewed-by: Rebecca Cran On 4/14/23 02:02, Gerd Hoffmann wrote: There is alot of code duplication between BaseTools and MdePkg (and also MdeModulePkg). This patch series starts reducing this by removing some header files. BaseTools are switched over

Re: [edk2-devel] [PATCH v4 08/10] BaseTools: switch from EFI_IMAGE_MACHINE_* to IMAGE_FILE_MACHINE_*

2023-04-14 Thread Rebecca Cran
? I think it would complain about the alignment here. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102997): https://edk2.groups.io/g/devel/message/102997 Mute This Topic: https://groups.io/mt/98257902/21656 Group Owner

Re: [edk2-devel] [PATCH v4 0/2] Set Firmware Version from build command line

2023-04-14 Thread Rebecca Cran
Sorry for not commenting on this earlier. Would it be better to have people use the build `--pcd` option instead? e.g. build --pcd="gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString=edk2-stable202302". -- Rebecca Cran On 4/14/23 02:33, Oliver Steffen wrote: ArmVirtXen.

Re: [edk2-devel] [PATCH 1/1] Platform/ARM/JunoPkg: Don't setup PCIe root bridge for Juno-r0

2023-04-13 Thread Rebecca Cran
); + DEBUG ((DEBUG_ERROR, "Juno rev=%d\n", JunoRevision)); Should that be DEBUG_INFO? Or is it DEBUG_ERROR because of the value of PcdDebugPrintErrorLevel which doesn't include INFO messages? I was just wondering a few days ago whether it should be 0x804F instead of 0x800F?

Re: [edk2-devel] [PATCH v2] Maintainer.txt: add myself as reviewer for bhyve's OvmfPkg

2023-04-13 Thread Rebecca Cran
ns if it's present) if you've run "python3 BaseTools/Scripts/SetupGit.py". Running that script will also setup repo-local settings to have patches generated and sent in the expected format. -- Rebecca Cran On 12/6/22 00:29, Corvin Köhne wrote: Signed-off-by: Corvin Köhne Revie

[edk2-devel] [PATCH v2 1/1] BaseTools: Update PatchCheck.py to check for __FUNCTION__

2023-04-13 Thread Rebecca Cran
New code should use the C99 macro __func__ instead of the pre-Standard macro __FUNCTION__. Update PatchCheck.py to reject patches with the latter. Signed-off-by: Rebecca Cran --- BaseTools/Scripts/PatchCheck.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/BaseTools/Scripts

Re: [edk2-devel] [PATCH v3 00/10] BaseTools: remove duplicate includes.

2023-04-13 Thread Rebecca Cran
/BaseTools/Source/C' make: *** [GNUmakefile:19: Source/C] Error 2 make: Leaving directory '/home/bcran/src/uefi/edk2/BaseTools' -- Rebecca Cran On 4/13/23 02:53, Gerd Hoffmann wrote: There is alot of code duplication between BaseTools and MdePkg (and also MdeModulePkg). This patch series start

Re: [edk2-devel] [PATCH 1/1] BaseTools: Update PatchCheck.py to check for __FUNCTION__

2023-04-11 Thread Rebecca Cran
to exclude .py which would catch this change to PatchCheck.py. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102859): https://edk2.groups.io/g/devel/message/102859 Mute This Topic: https://groups.io/mt/98117903/21656 Group

Re: [edk2-devel] [PATCH 1/1] BaseTools: Update SetupGit.py to add new 'fp' alias for patch formatting

2023-04-11 Thread Rebecca Cran
Could I get some reviews on this please? -- Rebecca Cran On 4/6/23 7:28 PM, Rebecca Cran wrote: To help people format patches with the correct options, add an alias named 'fp' to SetupGit.py that runs format-patch with '-M --stat=1000 --stat-graph-width=20'. Signed-off-by: Rebecca Cran

Re: [edk2-devel] [PATCH 1/1] BaseTools: Update PatchCheck.py to check for __FUNCTION__

2023-04-11 Thread Rebecca Cran
Could I get some reviews on this please? -- Rebecca Cran On 4/6/23 7:30 PM, Rebecca Cran wrote: New code should use the C99 macro __func__ instead of the pre-Standard macro __FUNCTION__. Update PatchCheck.py to reject patches with the latter. Signed-off-by: Rebecca Cran --- BaseTools

[edk2-devel] [PATCH v4 1/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-11 Thread Rebecca Cran
From: Rebecca Cran Add a new library, JedecJep106Lib which provides a service to return the JEDEC JEP106 manufacturer string given the code and continuation bytes values. Signed-off-by: Rebecca Cran --- MdePkg/MdePkg.dec|3 + MdePkg/MdePkg.dsc

Re: [edk2-devel] [PATCH v2 0/8] BaseTools: remove duplicate includes.

2023-04-11 Thread Rebecca Cran
make[1]: Leaving directory '/home/bcran/src/uefi/edk2/BaseTools/Source/C' make: *** [GNUmakefile:19: Source/C] Error 2 make: Leaving directory '/home/bcran/src/uefi/edk2/BaseTools' -- Rebecca Cran On 4/11/23 9:45 AM, Gerd Hoffmann wrote: There is alot of code duplication between BaseTools

Re: [edk2-devel] [PATCH v7 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support

2023-04-11 Thread Rebecca Cran
I've pushed the patches to a branch at https://github.com/bcran/edk2/tree/usbnetworkpkg-202304 -- Rebecca Cran On 4/7/23 5:27 AM, Richard Ho (何明忠) wrote: This driver provides UEFI driver for USB RNDIS device Signed-off-by: Richard Ho Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D

[edk2-devel] [PATCH edk2-platforms 2/2] Platform/ARM/JunoPkg: Enable the NOOPT build

2023-04-11 Thread Rebecca Cran
Enable the NOOPT build for the Juno platform. This is useful for source-level debugging. Signed-off-by: Rebecca Cran --- Platform/ARM/JunoPkg/ArmJuno.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJuno.dsc index

[edk2-devel] [PATCH edk2-platforms 1/2] Platform/ARM/JunoPkg: Bump the FV size to 2MB

2023-04-11 Thread Rebecca Cran
of the Flash Device but is instead selected to reduce the amount of time needed to copy the image to the target. Update the BlockSize and NumBlocks to reflect the 256KB block size of the main area on the Juno R2. Signed-off-by: Rebecca Cran --- Platform/ARM/JunoPkg/ArmJuno.fdf | 15 +++ 1

[edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM/JunoPkg: Increase FV size and enable NOOPT build

2023-04-11 Thread Rebecca Cran
with HTTPS boot and dynamic framework pkg uses around 72%, giving plenty of headroom for future growth. Since the NOOPT build makes source-level debugging via Arm Development Studio so much more useful, enable it in the .dsc file. Rebecca Cran (2): Platform/ARM/JunoPkg: Bump the FV size to 2MB Platform

Re: [edk2-devel] [PATCH 00/18] Replace pre-standard macro __FUNCTION__ with C99 __func__ throughout edk2

2023-04-10 Thread Rebecca Cran
Pushed as f2cc962cd28fe75fb4edf230d69e99c346fe9c8a..61652efd04a7585a779226137d0f9739a75aac69. -- Rebecca Cran On 4/6/23 4:23 PM, Rebecca Cran wrote: Following on from commit b17a3a133b18fb41493fba7d86e9b5804ea6a8cf which updated MdePkg to be more C11 compliant by replacing the pre-standard

[edk2-devel] [PATCH v3 1/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-07 Thread Rebecca Cran
From: Rebecca Cran Add a new library, JedecJep106Lib which provides a service to return the JEDEC JEP106 manufacturer string given the code and continuation bytes values. Signed-off-by: Rebecca Cran --- MdePkg/MdePkg.dec|3 + MdePkg/MdePkg.dsc

[edk2-devel] [PATCH v3 0/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-07 Thread Rebecca Cran
function to return the length of the longest string. Rebecca Cran (1): MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer MdePkg/MdePkg.dec|3 + MdePkg/MdePkg.dsc|2 + MdePkg/Library/JedecJep106Lib

Re: [edk2-devel] [PATCH v2 1/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-07 Thread Rebecca Cran
variables, not structure declarations. Mike -Original Message- From: devel@edk2.groups.io On Behalf Of Rebecca Cran Sent: Friday, April 7, 2023 3:59 PM To: Kinney, Michael D ; devel@edk2.groups.io; Liu, Zhiguang ; Gao, Liming Cc: Rebecca Cran Subject: Re: [edk2-devel] [PATCH v2 1/1] MdePkg

Re: [edk2-devel] [PATCH v2 1/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-07 Thread Rebecca Cran
I guess GLOBAL_REMOVE_IF_UNREFERENCED should be added to the struct too? On 4/7/23 4:42 PM, Rebecca Cran wrote: On 4/7/23 2:25 PM, Kinney, Michael D wrote: Comments below. Hopefully this lib would only be used by modules that get compressed. I guess so, but that's for the user to decide

Re: [edk2-devel] [PATCH v2 1/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-07 Thread Rebecca Cran
uld be in the SMBIOS Type 17 table before doing the SPD parsing. I'll remove it for now, and if it's really needed I can add it back in. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102738): https://edk2.groups.io/g/de

Re: [edk2-devel] [PATCH v2 1/1] MdePkg: Add DDR5 SPD defs to IndustryStandard per JESD400-5A.01

2023-04-07 Thread Rebecca Cran
/blob/master/MdePkg/Include/IndustryStandard/SdramSpdDdr4.h). -- Rebecca Cran On 2/14/23 2:47 PM, Rebecca Cran wrote: +Liming On 2/14/23 08:36, Rebecca Cran wrote: Copying the style of SdramSpdDdr4.h, add DDR5 SPD definitions to SpdDdr5.h per JEDEC JESD400-5A.01 specification (https

[edk2-devel] [PATCH v2 1/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-07 Thread Rebecca Cran
From: Rebecca Cran Add a new library, JedecJep106Lib which provides a service to return the JEDEC JEP106 manufacturer string given the code and continuation bytes values. Signed-off-by: Rebecca Cran --- MdePkg/MdePkg.dec|3 + MdePkg/MdePkg.dsc

[edk2-devel] [PATCH v2 0/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

2023-04-07 Thread Rebecca Cran
/edk2/tree/jep106 GitHub PR: https://github.com/tianocore/edk2/pull/4255 Rebecca Cran (1): MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer MdePkg/MdePkg.dec|3 + MdePkg/MdePkg.dsc|2 + MdePkg/Library

[edk2-devel] [PATCH 1/1] BaseTools: Update PatchCheck.py to check for __FUNCTION__

2023-04-06 Thread Rebecca Cran
New code should use the C99 macro __func__ instead of the pre-Standard macro __FUNCTION__. Update PatchCheck.py to reject patches with the latter. Signed-off-by: Rebecca Cran --- BaseTools/Scripts/PatchCheck.py | 4 1 file changed, 4 insertions(+) diff --git a/BaseTools/Scripts

[edk2-devel] [PATCH 1/1] BaseTools: Update SetupGit.py to add new 'fp' alias for patch formatting

2023-04-06 Thread Rebecca Cran
To help people format patches with the correct options, add an alias named 'fp' to SetupGit.py that runs format-patch with '-M --stat=1000 --stat-graph-width=20'. Signed-off-by: Rebecca Cran --- BaseTools/Scripts/SetupGit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaseTools

[edk2-devel] [PATCH 18/18] FmpDevicePkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- FmpDevicePkg/FmpDxe/VariableSupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FmpDevicePkg/FmpDxe/VariableSupport.c b/FmpDevicePkg/FmpDxe

[edk2-devel] [PATCH 17/18] UefiPayloadPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c | 4 ++-- UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c | 2 +- 2 files changed, 3 insertions

[edk2-devel] [PATCH 16/18] EmulatorPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c | 2 +- EmulatorPkg/Win/Host/WinPacketFilter.c

[edk2-devel] [PATCH 15/18] SourceLevelDebugPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
will fail to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c | 4 ++-- SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3

[edk2-devel] [PATCH 14/18] NetworkPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- NetworkPkg/HttpDxe/HttpsSupport.c | 16 NetworkPkg/IScsiDxe/IScsiMisc.c | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git

[edk2-devel] [PATCH 13/18] CryptoPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- CryptoPkg/Library/TlsLib/TlsConfig.c | 8 CryptoPkg/Library/TlsLib/TlsProcess.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CryptoPkg

[edk2-devel] [PATCH 12/18] StandaloneMmPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/SetPermissions.c | 22 ++-- StandaloneMmPkg/Library

[edk2-devel] [PATCH 11/18] PrmPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- PrmPkg/Application/PrmInfo/PrmInfo.c | 6 +-- PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c | 10

[edk2-devel] [PATCH 10/18] UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
will fail to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- UnitTestFrameworkPkg/Library/UnitTestBootLibUsbClass/UnitTestBootLibUsbClass.c | 12 - UnitTestFrameworkPkg/Library

[edk2-devel] [PATCH 09/18] ArmPlatformPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPlatformPkg/Drivers/SP805WatchdogDxe

[edk2-devel] [PATCH 08/18] RedfishPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c | 36 ++-- RedfishPkg/Library/RedfishPlatformCredentialIpmiLib

[edk2-devel] [PATCH 07/18] EmbeddedPkg: Update code to be more C11 compliant by using __func__

2023-04-06 Thread Rebecca Cran
to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c | 18 EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c | 10 - EmbeddedPkg

<    1   2   3   4   5   6   7   8   9   10   >