[edk2] [patch] MdeModulePkg:fix browser not call EFI_BROWSER_ACTION_CHANGED

2015-05-20 Thread Bi, Dandan
fix bellow bug: change checkbox from FALSE to TRUE.EFI_BROWSER_ACTION_CHANGED called but when checkbox change back to FALSE,don't call EFI_BROWSER_ACTION_CHANGED Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- MdeModulePkg/Universal/SetupBrowserDxe/Expression

Re: [edk2] TPM device resource in ASL

2015-05-20 Thread Zhang, Chao B
Baranee: The sample in TCG PC Client Platform Firmware spec describes this memory range ReadWrite Device (TPM) { Name (_HID, EISAID("MSFT0101")) Name (_CRS, ResourceTemplate() { Memory32Fixed (ReadWrite, 0xFED4, 0x5000,) IRQ(Level, ActiveLow,

[edk2] TPM device resource in ASL

2015-05-20 Thread Anbazhagan, Baraneedharan
SecurityPkg Maintainers, Is there a specific reason to report TPM region 0xfed4 as ReadOnly instead of ReadWrite in ASL code? Thanks. SecurityPkg/Tcg/TcgSmm/Tpm.asl SecurityPkg/Tcg/TrEESmm/Tpm.asl -Baranee CONFIDENTIALITY NOTICE: The information contained in this e-mail and any accompanyin

Re: [edk2] Debug UEFI driver using EDKII

2015-05-20 Thread Ni, Ruiyu
Qiu, You need to make sure the flow control setting between HOST and TARGET are the same. In your case, you need to change the gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl to TRUE. From: Kan Qiu [mailto:kan...@osbase.com] Sent: Thursday, May 21, 2015 2:11 AM To: Ni, Ruiyu Cc:

[edk2] Where can I post a bug or patch for UEFI-sct?

2015-05-20 Thread Heyi Guo
I found it is failed to compile sct-next with the latest edk2 code base, as EFI_SPECIFICATION_VERSION has been updated to 2.5, while EFI_SCT_NAME only supports 2.4B. In MdePkg/Include/Uefi/UefiSpec.h: #define EFI_SYSTEM_TABLE_REVISION EFI_2_50_SYSTEM_TABLE_REVISION #define EFI_SPECIFICATION_VER

Re: [edk2] Cross Platform Ideal vs. Reality / Down the Rabbit Hole

2015-05-20 Thread Blibbet
>>> My idealistic goal is very simple: >>> Create a UEFI Based Software System that can do Hardware Validation / >>> Verification in a cross platform way, such that the 64 bit Intel/AMD Also, CHIPSEC only works on Intel x86 and x64, *NOT* AMD. (Nor Itanium.) On the LUV mailing list, Linaro is po

Re: [edk2] [PATCH v2] MdePkg: Resolve type mismatch in node/text conversion for Wifi device

2015-05-20 Thread Gao, Liming
Reviewed-by: Liming Gao -Original Message- From: Hao Wu [mailto:hao.a...@intel.com] Sent: Wednesday, May 20, 2015 7:38 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [PATCH v2] MdePkg: Resolve type mismatch in node/text conversion for Wifi device Function DevPathFromTextWiFi()

[edk2] [PATCH v2 2/2] BaseTools: Add default BuildRuleOrder in tools_def.template

2015-05-20 Thread Liming Gao
*_*_*_*_BUILDRULEORDER = nasm Nasm NASM asm Asm ASM S s *_XCODE32_*_*_BUILDRULEORDER= S s nasm Nasm NASM *_XCLANG_*_*_BUILDRULEORDER = S s nasm Nasm NASM *_XCODE5_*_*_BUILDRULEORDER = S s nasm Nasm NASM Tool Chain in Mac Os will use S as the first priority. Other tool chains use nasm a

[edk2] [PATCH v2 1/2] BaseTools: Implement BUILDRULEORDER for tools_def

2015-05-20 Thread Liming Gao
This feature allows the toolchain to choose a preference for source file extensions in tools_def.txt. The first extension is given the highest priority. Here is an example usage for tools_def.txt: *_*_*_*_BUILDRULEORDER = nasm Nasm NASM asm Asm ASM S s *_XCODE5_*_*_BUILDRULEORDER= S s

[edk2] [PATCH v2 0/2] BaseTools: Implement BUILDRULEORDER for tools_def

2015-05-20 Thread Liming Gao
1. Update BuildTools to support BUILDRULEORDER. 2. Add the default BUILDRULEORDER in tools_def.template. Liming Gao (2): BaseTools: Implement BUILDRULEORDER for tools_def BaseTools: Add default BuildRuleOrder in tools_def.template BaseTools/Conf/tools_def.template | 8 +++

[edk2] [PATCH v2] Edk2: Update Edk2Setup.bat

2015-05-20 Thread Liming Gao
Fix the issue when configure X64 NT32, replace NT32_X64 by NT32_64 env. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- Edk2Setup.bat | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Edk2Setup.bat b/Edk2Setup.bat index cadc271..0aa7

Re: [edk2] [patch] Remove Framework HII "class\subclass" in all VFR

2015-05-20 Thread Dong, Eric
Reviewed-by: Eric Dong From: Bi, Dandan Sent: Wednesday, May 20, 2015 5:58 PM To: edk2-devel@lists.sourceforge.net; Gao, Liming; Dong, Eric Subject: [patch] Remove Framework HII "class\subclass" in all VFR class/subclass is the obseleted key word in VFR file. It is designed in framework HII. Af

Re: [edk2] MdeModulePkg:fix more than one arrow shows for one goto menu

2015-05-20 Thread Dong, Eric
Reviewed-by: Eric Dong From: Bi, Dandan Sent: Wednesday, May 20, 2015 5:46 PM To: edk2-devel@lists.sourceforge.net; Gao, Liming; Dong, Eric Subject: MdeModulePkg:fix more than one arrow shows for one goto menu Fix the bug : if one goto menu has more than one rows, more than one arrow will show

Re: [edk2] [patch] MdeModulePkg:Add line break character

2015-05-20 Thread Dong, Eric
Reviewed-by: Eric Dong From: Bi, Dandan Sent: Wednesday, May 20, 2015 5:53 PM To: edk2-devel@lists.sourceforge.net; Gao, Liming; Dong, Eric Subject: [patch] MdeModulePkg:Add line break character Add line break character in the "Mandatory Breaks" table before the first row Contributed-under: Tia

Re: [edk2] Cross Platform Ideal vs. Reality / Down the Rabbit Hole

2015-05-20 Thread Andrew Fish
> On May 20, 2015, at 5:06 PM, Jim Dines wrote: > > Hello EDK II Devs, > > Apologies if this isn't the best place to ask this. I've been lurking a bit > and while it is mostly commits here, I have seen the occasional question from > people trying to understand UEFI, and they didn't seem to m

Re: [edk2] [PATCH v2] MdeModulePkg: Regular expression protocol

2015-05-20 Thread El-Haj-Mahmoud, Samer
Reviewed-by: Samer El-Haj-Mahmoud -Original Message- From: Doman, Jonathan Sent: Wednesday, May 20, 2015 2:09 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [PATCH v2] MdeModulePkg: Regular expression protocol Add RegularExpressionDxe driver. Add RegExLib library header and s

Re: [edk2] Cross Platform Ideal vs. Reality / Down the Rabbit Hole

2015-05-20 Thread Jim Dines
I was unaware of these and I am intrigued after a cursory overview. Thank you so much for the links On Wed, May 20, 2015 at 8:23 PM, Blibbet wrote: > > My idealistic goal is very simple: > > > > Create a UEFI Based Software System that can do Hardware Validation / > > Verification in a cros

Re: [edk2] Cross Platform Ideal vs. Reality / Down the Rabbit Hole

2015-05-20 Thread Blibbet
> My idealistic goal is very simple: > > Create a UEFI Based Software System that can do Hardware Validation / > Verification in a cross platform way, such that the 64 bit Intel/AMD > version tests the NIC, USB System, COM Subsystem, RAM, etc. in a dynamic > way without the need to write custom

[edk2] Cross Platform Ideal vs. Reality / Down the Rabbit Hole

2015-05-20 Thread Jim Dines
Hello EDK II Devs, Apologies if this isn't the best place to ask this. I've been lurking a bit and while it is mostly commits here, I have seen the occasional question from people trying to understand UEFI, and they didn't seem to meet with hostility, so I thought I'd try. By all means, if there

[edk2] [PATCH v2] MdeModulePkg: Regular expression protocol

2015-05-20 Thread Jonathan Doman
Add RegularExpressionDxe driver. Add RegExLib library header and sample implementation SlreRegExLib, based on open-source SLRE library (old version with permissive license). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jonathan Doman --- v2 changes: * Fix use of variadi

Re: [edk2] [PATCH] MdeModulePkg: Regular expression protocol

2015-05-20 Thread Brian J. Johnson
On 05/20/2015 12:56 PM, Jonathan Doman wrote: > +++ b/MdeModulePkg/Library/SlreRegExLib/SLRE/SlreUefiPort.h > ... > +#define printf(...) Just FYI, not all compilers supported by Edk2 can use variadic macros ("..." in macro argument lists) so they would be good to avoid. The definition of _DEBUG

Re: [edk2] Debug UEFI driver using EDKII

2015-05-20 Thread Kan Qiu
Hi Ray Have you got any findings ? I have dumped the log file into email text below in case the attachment didn't work, looks like the target side has no issue of communicating to host since the log does reflect what's going on with DUET Loader, how can we adjust HOST side software(Intel(R) UDK Deb

[edk2] [PATCH] MdeModulePkg: Regular expression protocol

2015-05-20 Thread Jonathan Doman
Add RegularExpressionDxe driver. Add RegExLib library header and sample implementation SlreRegExLib, based on open-source SLRE library (old version with permissive license). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jonathan Doman --- MdeModulePkg/Include/Library/Reg

[edk2] 答复: 答复: Windows 2008 r2 smp guest booting hang with viridian=true on ovmf(xen latest version 4.5.1-rc1 + latest edk2)

2015-05-20 Thread Fanhenglong
"Viridian" in xen platform surely means "Hyper-V" but if window 2008 r2 smp guest boot with viridian=false, it will bring another problem 0x101 bluescreen. http://old-list-archives.xenproject.org/archives/html/xen-users/2009-07/msg00661.html Thanks! -邮件原件- 发件人: Laszlo Ersek [mailto:ler..

Re: [edk2] Phy support

2015-05-20 Thread Andrew Fish
> On May 19, 2015, at 10:44 PM, Meenakshi Aggarwal > wrote: > > Hi All, > > Kindly help. > There is no industry standard for adding PHY support. You will need to look at the driver for the MAC. Or it could be part of the chipset init code. Thanks, Andrew Fish > > Regards > Meenaks

[edk2] commit 3bafd562 (svn 17476) breaks OVMF linux build

2015-05-20 Thread Gabriel L. Somlo
Hi, I build OVMF on linux (64-bit Fedora 21) using the following command: build -a X64 -t GCC49 -p OvmfPkg/OvmfPkgX64.dsc After commit 3bafd562b7be6c781f3f389a1e79b37268076ffa, I get the following build error: /home/somlo/KVM-OSX/SCRATCH/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathF

Re: [edk2] question about difference between FD_SIZE_1MB and FD_SIZE_2MB

2015-05-20 Thread Laszlo Ersek
On 05/20/15 05:29, lidonglin wrote: > Hi all: > I want to know what's the differece between FD_SIZE_1MB and > FD_SIZE_2MB. For example, I build release ovmf whose size is 1MB > default. It can work. That's just as I should be. And I build release > ovmf with additional parameter -D FD_SIZE_2MB. It

Re: [edk2] 答复: Windows 2008 r2 smp guest booting hang with viridian=true on ovmf(xen latest version 4.5.1-rc1 + latest edk2)

2015-05-20 Thread Laszlo Ersek
On 05/20/15 09:24, Fanhenglong wrote: > Can anyone have idea about how to boot window 2008 r2 smp guest in ovmf > with viridian flag is true? I had to confirm first that "viridian" means "Hyper-V", : "Hyper-V, codenamed Viridian, ..." With that out of the

[edk2] [PATCH v2] MdePkg: Resolve type mismatch in node/text conversion for Wifi device

2015-05-20 Thread Hao Wu
Function DevPathFromTextWiFi() in use UINT8* and CHAR8* interchangeably, which breaks the build on ARM. Pointer type conversion is added to resolved this problem. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Ard Biesheuvel --- MdePkg/Library/UefiDev

Re: [edk2] [Patch] Edk2: Update Edk2Setup.bat

2015-05-20 Thread Richard Mahn
Note that Edk2Setup.bat in the change calls "%WORKSPACE%\BaseTools\Scripts\SetVisualStudio.bat" which inspects NT32_X64 instead of NT32_64 to execute the desired subset of functionality. From: Liming Gao To: edk2-devel@lists.sourceforge.net Sent: Tuesday, May 19, 2015 1:31 AM Subject:

[edk2] [patch] MdeModulePkg:Support delete key

2015-05-20 Thread Bi, Dandan
Add Delete Key support for Setup Engine Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi mailto:dandan...@intel.com>> --- MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MdeModulePkg/Universal/DisplayE

[edk2] [patch] Remove Framework HII "class\subclass" in all VFR

2015-05-20 Thread Bi, Dandan
class/subclass is the obseleted key word in VFR file. It is designed in framework HII. After convert to UEFI HII, it is not used any longer. Now remove them from VFR Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi mailto:dandan...@intel.com>> --- IntelFrameworkMod

Re: [edk2] [PATCH] MdePkg: Resolve type mismatch in node/text conversion for Wifi device

2015-05-20 Thread Ard Biesheuvel
On 20 May 2015 at 11:03, Gao, Liming wrote: > Hao: > I suggest to keep UINT8 for SSId field, because EFI_80211_SCAN_DATA > structure uses UINT8 as SSId. > That is also fine by me, as long as we get this fixed. Note that the ARM builds are broken at the moment. -- Ard. > -Original Messa

[edk2] [patch] MdeModulePkg:Add line break character

2015-05-20 Thread Bi, Dandan
Add line break character in the "Mandatory Breaks" table before the first row Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi mailto:dandan...@intel.com>> --- MdeModulePkg/Universal/HiiDatabaseDxe/Font.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModuleP

[edk2] MdeModulePkg:fix more than one arrow shows for one goto menu

2015-05-20 Thread Bi, Dandan
Fix the bug : if one goto menu has more than one rows, more than one arrow will show up in the form. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi mailto:dandan...@intel.com>> --- MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 5 - 1 file changed, 4

Re: [edk2] [PATCH] MdePkg: Resolve type mismatch in node/text conversion for Wifi device

2015-05-20 Thread Gao, Liming
Hao: I suggest to keep UINT8 for SSId field, because EFI_80211_SCAN_DATA structure uses UINT8 as SSId. Thanks Liming -Original Message- From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] Sent: Wednesday, May 20, 2015 4:46 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2

Re: [edk2] [Patch] CorebootModulePkg: Coding style update

2015-05-20 Thread Dong, Guo
Hi Maurice, Thank you for the comments. Will add CC to package owner in future. This patch is based on another patch which is also under code review. And the Copyright information has been updated in another patch. Thanks, Guo -Original Message- From: Ma, Maurice Sent: Wednesday, May

Re: [edk2] [PATCH] MdePkg: Resolve type mismatch in node/text conversion for Wifi device

2015-05-20 Thread Ard Biesheuvel
On 20 May 2015 at 09:56, Hao Wu wrote: > Function DevPathFromTextWiFi() in > MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c use UINT8* and > CHAR8* interchangeably, which breaks the build on ARM. > > Since SSId is a human readable identifier, so using CHAR8 instead of UINT8 > for SSID field

[edk2] [PATCH] MdePkg: Resolve type mismatch in node/text conversion for Wifi device

2015-05-20 Thread Hao Wu
Function DevPathFromTextWiFi() in MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c use UINT8* and CHAR8* interchangeably, which breaks the build on ARM. Since SSId is a human readable identifier, so using CHAR8 instead of UINT8 for SSID field in Wi-Fi Device Path definition can resovle this i

Re: [edk2] [PATCH 2/2] MdePkg: Add WiFi device path definition and its node/text conversion

2015-05-20 Thread Ard Biesheuvel
On 20 May 2015 at 09:40, Wu, Hao A wrote: > Yes, I will fix this problem. Is it more reasonable to use the following > patch? > > --- a/MdePkg/Include/Protocol/DevicePath.h > +++ b/MdePkg/Include/Protocol/DevicePath.h > @@ -904,7 +904,7 @@ typedef struct { >/// >/// Service set identifier

Re: [edk2] [PATCH 2/2] MdePkg: Add WiFi device path definition and its node/text conversion

2015-05-20 Thread Wu, Hao A
Yes, I will fix this problem. Is it more reasonable to use the following patch? --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -904,7 +904,7 @@ typedef struct { /// /// Service set identifier. A 32-byte octets string. /// - UINT8

[edk2] 答复: Windows 2008 r2 smp guest booting hang with viridian=true on ovmf(xen latest version 4.5.1-rc1 + latest edk2)

2015-05-20 Thread Fanhenglong
Can anyone have idea about how to boot window 2008 r2 smp guest in ovmf with viridian flag is true? Thanks! 发件人: Fanhenglong 发送时间: 2015年5月19日 23:22 收件人: xen-de...@lists.xen.org 抄送: 'k...@xen.org'; 'paul.durr...@citrix.com'; 'jbeul...@suse.com'; edk2-devel@lists.sourceforge.net; Hanweidong (Ran

Re: [edk2] [PATCH 2/2] MdePkg: Add WiFi device path definition and its node/text conversion

2015-05-20 Thread Ard Biesheuvel
On 15 May 2015 at 02:58, Hao Wu wrote: > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hao Wu > Reviewed-by: Ye Ting This patch uses UINT8* and CHAR8* interchangeably, which breaks the build on ARM since unqualified CHAR is signed not unsigned. Please fix by adding t