[edk2] [PATCH V3 11/12] ArmVirtPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg

2015-11-22 Thread Star Zeng
Beyond just changing the directly related lines in the FDF and DSC files, we have to adapt the EarlyFdtPL011SerialPortLib and FdtPL011SerialPortLib instances as well, in the same patch. This is because the EmbeddedPkg driver expects the SerialPortSetAttributes(), SerialPortSetControl() and

[edk2] [PATCH V3 07/12] Omap35xxPkg SerialPortLib: Implement Get(Set)Control/SetAttributes

2015-11-22 Thread Star Zeng
Cc: Michael D Kinney Cc: Liming Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by:

[edk2] [PATCH V3 03/12] MdeModulePkg BaseSerialPortLib16550:Implement Get(Set)Control/SetAttributes

2015-11-22 Thread Star Zeng
Cc: Michael D Kinney Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Liming Gao Reviewed-by: Michael D

[edk2] [PATCH V3 04/12] MdeModulePkg: Upstream SerialDxe from EmbeddedPkg

2015-11-22 Thread Star Zeng
This Serial driver layers on top of a Serial Port Library instance to produce serial IO protocol. There is also another SerialDxe implementation in CorebootPayloadPkg, but SerialDxe from EmbeddedPkg should be better that also consumes the extended interfaces GetControl/SetControl/SetAttributes in

[edk2] [PATCH V3 08/12] BeagleBoardPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg

2015-11-22 Thread Star Zeng
It is also to remove the reference to TemplateSerialPortExtLib in EmbeddedPkg. Cc: Michael D Kinney Cc: Liming Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore

[edk2] [PATCH V3 01/12] MdePkg SerialPortLib: Upstream Get(Set)Control/SetAttributes interfaces

2015-11-22 Thread Star Zeng
The extended interfaces GetControl/SetControl/SetAttributes are from EmbeddedPkg/Include/Library/SerialPortExtLib.h. Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng

[edk2] [PATCH V3 06/12] CorebootPayloadPkg: Use SerialDxe in MdeModulePkg

2015-11-22 Thread Star Zeng
1. Update fdf and dsc to use SerialDxe in MdeModulePkg. 2. Separate the code that gets SerialRegBase and SerialRegAccessType by CbParseLib from CorebootPayloadPkg/Library/SerialPortLib to PlatformHookLib, and then leverage BaseSerialPortLib16550 in MdeModulePkg. 3. Remove

[edk2] [PATCH V3 09/12] ArmPlatformPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg

2015-11-22 Thread Star Zeng
It is also to integrate PL011SerialPortExtLib to PL011SerialPortLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution

[edk2] [PATCH V3 12/12] EmbeddedPkg: Remove SerialDxe and SerialPortExtLib libraries

2015-11-22 Thread Star Zeng
Cc: Michael D Kinney Cc: Liming Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by:

[edk2] [PATCH V3 05/12] EmulatorPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg

2015-11-22 Thread Star Zeng
It is also to add GetControl/SetControl/SetAttributes implementation for DxeEmuSerialPortLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Jordan Justen Cc: Andrew Fish Contributed-under: TianoCore

Re: [edk2] [Patch] [Patch V3] MdeModulePkg DxeFileExplorerProtocol: Create wrapper file explorer library.

2015-11-22 Thread Gao, Liming
Reviewed-by: Liming Gao -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Eric Dong Sent: Wednesday, November 11, 2015 3:28 PM To: edk2-devel@lists.01.org; cecil.sh...@hpe.com; samer-el-haj-mahm...@hpe.com Cc: Gao, Liming

[edk2] [PATCH V2] ArmPkg: Invalidate cache after allocating UC memory

2015-11-22 Thread Heyi Guo
It is implied that the memory returned from UncachedMemoryAllocationLib should have cache invalidated. So we invalidate memory range after changing memory attribute to uncached. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo Cc: Leif Lindholm

Re: [edk2] [PATCH V2] ArmPkg: Invalidate cache after allocating UC memory

2015-11-22 Thread Ard Biesheuvel
On 23 November 2015 at 07:13, Heyi Guo wrote: > It is implied that the memory returned from UncachedMemoryAllocationLib > should have cache invalidated. So we invalidate memory range after > changing memory attribute to uncached. > > Contributed-under: TianoCore Contribution

[edk2] [Patch] MdeModulePkg/UefiBootManagerLib: Always create MemoryTypeInfo variable

2015-11-22 Thread Ruiyu Ni
Align to old BDS behavior (IntelFrameworkModulePkg/BDS) to always create MemoryTypeInfo variable regardless of the PcdResetOnMemoryTypeInformationChange value. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Cc: Michael Kinney

Re: [edk2] [Patch 0/2] MdeModulePkg: Create file explorer library and file

2015-11-22 Thread Gao, Liming
Reviewed-by: Liming Gao -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Eric Dong Sent: Wednesday, November 11, 2015 1:35 PM To: edk2-devel@lists.01.org; cecil.sh...@hpe.com; samer.el-haj-mahm...@hpe.com Subject: [edk2]

Re: [edk2] [PATCH] MdeModulePkg/Pxe: Fix bug of checking input FilePath

2015-11-22 Thread Heyi Guo
Thanks for your detailed explanation. Now it is much clearer for me :) Heyi On 11/23/2015 09:07 AM, Fu, Siyuan wrote: Hi, Guo The input of the FilePath is the remaining part of a boot option compared with the PXE handle's device path. That's, when BDS load a boot option, it tries to locate

Re: [edk2] [Patch] BaseTools/toolsetup.bat: fixed the error when the path contains space

2015-11-22 Thread Zhu, Yonghong
Hi Carl, Your original fix is : set PATH="%BASETOOLS_PYTHON_SOURCE%\Trim;%PATH%" Now the fix is: set "PATH=%BASETOOLS_PYTHON_SOURCE%\Trim;%PATH%" The difference is the quotation's location. You may have a try on the cmd like: set PATH="%PATH%", then you would find the original works

Re: [edk2] [PATCH V2 00/12] Upstream SerialDxe from EmbeddedPkg to MdeModulePkg

2015-11-22 Thread Zeng, Star
On 2015/11/20 10:34, Zeng, Star wrote: I have received feedback to this patch series for most packages, except EmulatorPkg and Omap35xxPkg. Thanks very much. I have addressed the comments from Laszlo and Mike in my local git tree. You can see it at g...@github.com:lzeng14/edk2.git branch

Re: [edk2] [Patch] MdeModulePkg/BootLogoLib: Fix GCC build failure

2015-11-22 Thread Tian, Feng
Looks good to me Reviewed-by: Feng Tian -Original Message- From: Ni, Ruiyu Sent: Thursday, November 19, 2015 11:03 To: edk2-devel@lists.01.org Cc: Ni, Ruiyu; Tian, Feng Subject: [Patch] MdeModulePkg/BootLogoLib: Fix GCC build failure Contributed-under: TianoCore