[edk2] [PATCH 09/10] IntelFspPkg: Update BaseFspDebugLibSerialPort library

2015-02-01 Thread Liming Gao
Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- .../BaseFspDebugLibSerialPort.inf| 1 + .../Library/BaseFspDebugLibSerialPort/DebugLib.c | 20 ++

[edk2] [PATCH 10/10] OvmfPkg: Update PlatformBaseDebugLibIoPort library

2015-02-01 Thread Liming Gao
Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 19 ++- .../PlatformDebugLibIoPort/PlatformDebugL

[edk2] [PATCH 08/10] MdePkg: Update BaseDebugLibStdErr library

2015-02-01 Thread Liming Gao
Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 20 +++- .../UefiDebugLibStdErr/UefiDebugLibStdErr

[edk2] [PATCH 07/10] MdePkg: Update BaseDebugLibConOut library

2015-02-01 Thread Liming Gao
Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 20 +++- .../UefiDebugLibConOut/UefiDebugLibConOut

Re: [edk2] [PATCH 0/6] Update MdePkg DebugLib for size optimization

2015-02-01 Thread Gao, Liming
Hi, all This change requires all DebugLib instances to be updated by adding new API DebugPrintLevelEnabled(). The previous patches misses four library instances. I will append patches for them. Liming Gao (10): MdePkg: Add new FixedAtBuild PCD IntelFrameworkModulePkg: Update PeiDxeDebugLi

Re: [edk2] [PATCH] ShellPkg: Add quotes around NSH index argument replacement

2015-02-01 Thread Qiu, Shumin
Reviewed-by: Shumin Qiu mailto:joe.peter...@intel.com>> -Shumin From: Carsey, Jaben Sent: Saturday, January 31, 2015 12:33 AM To: Qiu, Shumin; Peterson, Joe Cc: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: [PATCH] ShellPkg: Add quotes around NSH index argument replacement Joe and Shum

[edk2] [PATCH 2/4] ArmPkg: ArmArchTimerLib: use edk2-conformant (UINT64 * UINT32) / UINT32

2015-02-01 Thread Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c b/ArmPkg/Library/ArmArchTimerLib/Ar

[edk2] [PATCH 3/4] ArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency

2015-02-01 Thread Laszlo Ersek
Allow a platform to set PcdArmArchTimerFreqInHz to zero, and consider it a request to use the actual timer frequency. No global variable is introduced, so that the library can be used in PEIMs that execute from flash. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo E

[edk2] [PATCH 4/4] ArmVirtualizationQemu: ask the hardware for the timer frequency

2015-02-01 Thread Laszlo Ersek
Roughly, there are two ways to "measure ticks" in UEFI: - the SetTimer() boot service, which sets up a one-shot or periodic event callback, and takes the interval length in units of 100ns, - the Stall() boot service, which stalls the caller (but does not yield the CPU) for the interval specif

[edk2] [PATCH 1/4] ArmPkg: ArmArchTimerLib: clean up comments

2015-02-01 Thread Laszlo Ersek
In the next patch we'll slightly reorganize TimerConstructor(). Let's improve the comments first. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c | 31 +-- 1 file changed, 21 ins

[edk2] [PATCH 0/4] ArmVirtualizationQemu: fix gBS->Stall()

2015-02-01 Thread Laszlo Ersek
I noticed today that the "startup.nsh" countdown in the UEFI shell was too slow in ArmVirtualizationQemu, both on TCG and KVM. Worse, the countdown speed was differently wrong between TCG and KVM. This series intends to fix that. Public branch:

Re: [edk2] [PATCH v2 0/3] ACPI over fw_cfg for ARM/AARCH64 qemu guests

2015-02-01 Thread Laszlo Ersek
On 02/01/15 15:20, Laszlo Ersek wrote: > Version 2 of > . > > In v1 we reached an impasse with Jordan; see the sub-thread at > . > Jordan then offered on IRC to

[edk2] [PATCH v2 1/3] OvmfPkg/AcpiPlatformDxe: Split QEMU fw-cfg into a new file

2015-02-01 Thread Laszlo Ersek
From: Jordan Justen The code left behind in Qemu.c has some PCAT dependencies, and might not be able to build on all platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen Reviewed-by: Laszlo Ersek Signed-off-by: Laszlo Ersek --- OvmfPkg/AcpiPlatformD

[edk2] [PATCH v2 2/3] OvmfPkg/AcpiPlatformDxe: Add QEMU fw-cfg only driver

2015-02-01 Thread Laszlo Ersek
From: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen Reviewed-by: Laszlo Ersek Signed-off-by: Laszlo Ersek --- OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf | 53 + OvmfPkg/AcpiPlat

[edk2] [PATCH v2 0/3] ACPI over fw_cfg for ARM/AARCH64 qemu guests

2015-02-01 Thread Laszlo Ersek
Version 2 of . In v1 we reached an impasse with Jordan; see the sub-thread at . Jordan then offered on IRC to reimplement the splitting of "OvmfPkg/AcpiPlatform

[edk2] [PATCH v2 3/3] ArmVirtualizationPkg: add simple ACPI Platform Driver to the QEMU platform

2015-02-01 Thread Laszlo Ersek
Introduce an ACPI platform driver for ARM / AARCH64 virtual machines. "OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf" downloads ACPI blobs from QEMU over fw_cfg, processes them, and installs the resultant ACPI tables. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: La