[edk2-devel] [RFC][PATCH v1 0/3] Remove IntelFramework[Module]Pkg

2019-05-26 Thread Wu, Hao A
''' Please note that this series will be hold until all the below requirements are met: A. edk2-stable201905 is created; B. OvmfPkg has been updated to drop its dependency on IntelFramework[Module]Pkg; (Patches already been sent) C. Platforms in the edk2-platforms have been updated to drop th

[edk2-devel] [RFC][PATCH v1 0/1] PcAtChipsetPkg: Remove framework modules

2019-05-26 Thread Wu, Hao A
''' Please note that this patch will be hold until all the below requirements are met: A. edk2-stable201905 is created; B. OvmfPkg has drop its usage of the legacy ISA stack (which includes the IsaAcpiDxe driver); C. UefiPayloadPkg has been updated to drop its consume to the 8259InterruptCon

[edk2-devel] [PATCH v1 5/6] OvmfPkg/IncompatiblePciDeviceSupportDxe: Drop framework pkg dependency

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1843 This commit will drop the driver's dependency on the IntelFrameworkPkg: gEfiLegacyBiosProtocolGuid Such dependency has already been addressed by the duplication of the above definition from IntelFrameworkPkg into the OvmfPkg. Cc: Ray Ni Cc

[edk2-devel] [PATCH v1 4/6] OvmfPkg/DSC: Remove the consume of PcdShellFile in framework package

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1843 This commit will remove the consume of: gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile from OvmfPkg DSC files. Cc: Ray Ni Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Hao A Wu --- OvmfPkg/OvmfPkgIa32.d

[edk2-devel] [PATCH v1 6/6] OvmfPkg/Csm/CsmSupportLib: Drop IntelFrameworkPkg dependency

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1843 This commit will update the INF file of the CsmSupportLib to drop its dependency on IntelFrameworkPkg: gEfiLegacyBiosPlatformProtocolGuid gEfiLegacyBiosProtocolGuid gEfiLegacyInterruptProtocolGuid The above dependencies have already been ad

[edk2-devel] [PATCH v1 0/6] Ovmf: Drop IntelFramework[Module]Pkg dependency

2019-05-26 Thread Wu, Hao A
''' Please note that this series will be hold until the edk2-stable201905 is created. ''' ''' Please also note that this series has a dependency on the below series: https://edk2.groups.io/g/devel/message/41385 (Specifically, CSM related protocols header files duplication in OvmfPkg.) ''' The ser

[edk2-devel] [PATCH v1 2/6] OvmfPkg/OvmfPkg.dec: Add PcdShellFile in OVMF DEC file

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1843 OVMF is currently using the PCD 'PcdShellFile' defined in IntelFrameworkModulePkg. This commit will add this PCD into the OVMF DEC file in order to drop OVMF's dependency on IntelFrameworkModulePkg. The PCD token value 0x17 is selected to fi

[edk2-devel] [PATCH v1 3/6] OvmfPkg/PlatformBootManagerLib: Use PcdShellFile defined in OvmfPkg

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1843 This commit will update the PlatformBootManagerLib to consume the PCD 'PcdShellFile' defined in OvmfPkg (rather than the one in IntelFrameworkModulePkg). And will update the driver to drop its dependency on IntelFrameworkModulePkg. Cc: Ray N

[edk2-devel] [PATCH v1 1/6] OvmfPkg/PlatformPei: Remove redundant reference of framework pkg DEC

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1843 For the driver's INF file, this commit will remove the redundant reference to 'IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec'. Cc: Ray Ni Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Hao A Wu --- OvmfPkg/P

[edk2-devel] [PATCH v1] OvmfPkg: Drop build flag USE_LEGACY_ISA_STACK and legacy ISA stack

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1842 According to the discussion at: https://edk2.groups.io/g/devel/topic/30918343#38093 For OVMF, we keep both ISA stacks: * The legacy one in PcAtChipsetPkg/IntelFrameworkModulePkg * The Sio bus based OVMF-specified one introduced by commit a5c

[edk2-devel] [PATCH v2 10/10] OvmfPkg: Update DSC/FDF files to consume CSM components in OvmfPkg

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit updates the OVMF DSC/FDF files to consume the copied CSM components within OvmfPkg. Cc: David Woodhouse Cc: Ray Ni Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Hao A Wu --- OvmfPkg/OvmfPkgIa32.dsc

[edk2-devel] [PATCH v2 09/10] OvmfPkg/Csm/LegacyBootManagerLib: Update to make it build for OVMF

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit will update the library's INF file to: A) Assign a new file GUID; B) Remove the IntelFramework[Module]Pkg DEC file dependency. Please note that a subsequent commit (final patch of the series) will: Replace the use of LegacyBoot

[edk2-devel] [PATCH v2 04/10] OvmfPkg/OvmfPkg.dec: Add the new include folder for CSM header files

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 The previous file-duplication commit has put all the CSM related header files within folder: OvmfPkg/Csm/Inclue. This commit will update the DEC file to add that folder under the '[Include]' section. Cc: David Woodhouse Cc: Ray Ni Cc: Jor

[edk2-devel] [PATCH v2 06/10] OvmfPkg/Csm/VideoDxe: Update to make it build for OVMF

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit will update the driver's INF file to: A) Assign a new file GUID; B) Consume the PCDs duplicated in OvmfPkg DEC file; C) Remove the IntelFramework[Module]Pkg DEC file dependency. Please note that a subsequent commit (final patch

[edk2-devel] [PATCH v2 08/10] OvmfPkg/Csm/LegacyBootMaintUiLib: Update to make it build for OVMF

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit will update the library's INF file to: A) Assign a new file GUID; B) Remove the IntelFramework[Module]Pkg DEC file dependency. Please note that a subsequent commit (final patch of the series) will: Replace the use of LegacyBoot

[edk2-devel] [PATCH v2 01/10] Maintainers.txt: Add maintainer for CSM components in OvmfPkg

2019-05-26 Thread Wu, Hao A
According to the discussion at: https://edk2.groups.io/g/devel/topic/31627718#40659 (Request by Laszlo to find proper maintainer for to-be-duplicated CSM components in OvmfPkg.) and: https://edk2.groups.io/g/devel/topic/31682287#40996 (Confirmation with David Woodhouse as the maintainer for the

[edk2-devel] [PATCH v2 03/10] OvmfPkg/OvmfPkg.dec: Add definitions for CSM-related Guid & Protocol

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit will add the Guid definitions of the duplicated CSM-related Guids and Protocols from IntelFramework[Module]Pkg. Cc: David Woodhouse Cc: Ray Ni Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Hao A Wu --

[edk2-devel] [PATCH v2 05/10] OvmfPkg/OvmfPkg.dec: Add PCD definitions used by copied CSM modules

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit will add the PCD definitions consumed by the duplicated drivers: * VideoDxe * LegacyBiosDxe into the OvmfPkg DEC file. Please note that, instead of adding these PCDs under section: [PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx,

[edk2-devel] [PATCH v2 07/10] OvmfPkg/Csm/LegacyBiosDxe: Update to make it build for OVMF

2019-05-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit will update the driver's INF file to: A) Assign a new file GUID; B) Consume the PCDs duplicated in OvmfPkg DEC file; C) Remove the IntelFramework[Module]Pkg DEC file dependency. Please note that a subsequent commit (final patch

[edk2-devel] [PATCH v2 00/10] Duplicate required CSM components for OVMF

2019-05-26 Thread Wu, Hao A
''' Please note that this series will be hold until the edk2-stable201905 is created. ''' The series is also available at: https://github.com/hwu25/edk2/tree/ovmf_csm_v2 V2 changes: Discussion with David Woodhouse for him to take the reviewer role for the duplicated CSM components under OvmfPkg:

Re: [edk2-devel] [RFC][edk2-platform][Add new packages in Platform\Intel directory]

2019-05-26 Thread Liming Gao
One update on new DebugAdvancedFeaturePkg. We can drop Advanced and use short name DebugFeaturePkg. Thanks Liming From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Liming Gao Sent: Wednesday, May 15, 2019 9:29 PM To: Kubacki, Michael A ; Chaganty, Rangasai V Cc: devel@edk2.g

Re: [edk2-devel] [edk2-platforms][PATCH v2 00/18] Drop IntelFramework[Module]Pkg dependency

2019-05-26 Thread Wu, Hao A
Hello Ard and Leif, Do you have comments on this series? Also, for the below patch to Hisilicon platforms: [PATCH v2 06/18] Hisilicon/D0x: Use StatusCode Router & Handler in MdeModulePkg it is suggested to be verified on actual hardware: https://edk2.groups.io/g/devel/topic/31614327#41188 Howev

Re: [edk2-devel] [PATCH V4 0/2] MdeModulePkg: Make the screen seamless

2019-05-26 Thread Wu, Hao A
For my understanding, the series looks like a feature rather than bug to me. I suggest to hold this one until the stable tag is created. Best Regards, Hao Wu > -Original Message- > From: Gao, Zhichao > Sent: Friday, May 24, 2019 10:40 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J; Wu,

Re: [edk2-devel] [PATCH V4 2/2] MdeModulePkg/GraphicsConsoleDxe: Initialize the output mode

2019-05-26 Thread Wu, Hao A
> -Original Message- > From: Gao, Zhichao > Sent: Friday, May 24, 2019 10:40 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J; Wu, Hao A; Ni, Ray; Zeng, Star; Gao, Liming; Sean Brogan; > Michael Turner; Bret Barkelew; Laszlo Ersek > Subject: [PATCH V4 2/2] MdeModulePkg/GraphicsConsoleDxe: I

Re: [edk2-devel] [PATCH V4 1/2] MdeModulePkg/ConSplitterDxe: Optimize the ConSplitterTextOutSetMode

2019-05-26 Thread Wu, Hao A
> -Original Message- > From: Gao, Zhichao > Sent: Friday, May 24, 2019 10:40 AM > To: devel@edk2.groups.io > Cc: Aaron Antone; Wang, Jian J; Wu, Hao A; Ni, Ray; Zeng, Star; Gao, Liming; > Sean Brogan; Michael Turner; Bret Barkelew > Subject: [PATCH V4 1/2] MdeModulePkg/ConSplitterDxe: Optim

[edk2-devel] [Patch 3/3] [edk2-platform] Platform/Intel/BoardModulePkg: Add BiosId Module.

2019-05-26 Thread Dong, Eric
Add Bios ID library used to read BIOS ID related info. This library exports APIs like below: GetBiosId GetBiosVersionDateTime Signed-off-by: Eric Dong Cc: Liming Gao Cc: Michael Kubacki Cc: Sai Chaganty Cc: Oram, Isaac W --- .../Intel/BoardModulePkg/BoardModulePkg.dec | 6 + .../BoardMo

[edk2-devel] [Patch 0/3] Add modules to BoardModulePkg.

2019-05-26 Thread Dong, Eric
Add new package BoardModulePkg in Platform/Intel folder. This folder used to keep the board generic modules, such as Cmos, BiosId. Add Cmos and BiosId related modules to BoardModulePkg. Eric Dong (3): Maintainers.txt: Add BoardModulePkg in Platform/Intel/ folder. Platform/Intel: Add Cmos rel

[edk2-devel] [Patch 2/3] [edk2-platform] Platform/Intel: Add Cmos related modules to BoardModulePkg

2019-05-26 Thread Dong, Eric
Add Cmos related libraries to BoardModulePkg. Totally two library have been added, one is CmosAccessLib and the other is PlatformCmosAccessLib. PlatformCmosAccessLib will be used by CmosAccessLib. These two libraries provide the generic operations for CMOS access. APIs exports by PlatformCmosAcce

[edk2-devel] [Patch 1/3] [edk2-platform] Maintainers.txt: Add BoardModulePkg in Platform/Intel/ folder.

2019-05-26 Thread Dong, Eric
Add new package BoardModulePkg which used to keep the modules which is generic for all board. Signed-off-by: Eric Dong Cc: Liming Gao Cc: Michael Kubacki Cc: Sai Chaganty Cc: Oram, Isaac W --- Maintainers.txt | 4 +++ .../Intel/BoardModulePkg/BoardModulePkg.dec

Re: [edk2-devel] [PATCH] EmulatorPkg: Fix bugs about MiscBootServices

2019-05-26 Thread Zhiguang Liu
Hello, Ray I did the implementation myself. I just found there did be the same function in \Omap35xxPkg\Library\Omap35xxTimerLib\TimerLib.c In old version. Should I use the existing code like following \Omap35xxPkg\Library\Omap35xxTimerLib\TimerLib.c UINTN EFIAPI MicroSecondDelay ( IN UINTN