]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
9 years agoShellPkg: Standardized HP Copyright Message String
Tapan Shah [Wed, 4 Feb 2015 22:25:01 +0000 (22:25 +0000)]
ShellPkg: Standardized HP Copyright Message String

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16759 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Revert 16720 and 16734.
Jaben Carsey [Wed, 4 Feb 2015 16:46:59 +0000 (16:46 +0000)]
ShellPkg: Revert 16720 and 16734.

I will submit a new patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16758 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Revert 16720 and 16734.
Jaben Carsey [Wed, 4 Feb 2015 16:39:04 +0000 (16:39 +0000)]
ShellPkg: Revert 16720 and 16734.

I will submit a new patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16757 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/ArmJunoDxe: Added missing header
Olivier Martin [Wed, 4 Feb 2015 13:06:13 +0000 (13:06 +0000)]
ArmPlatformPkg/ArmJunoDxe: Added missing header

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16756 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnhance the parameter check to avoid potential issue in negotiation.
Ye Ting [Wed, 4 Feb 2015 08:53:56 +0000 (08:53 +0000)]
Enhance the parameter check to avoid potential issue in negotiation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16750 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorrect the DBX and Certificate Hash Checking.
Long, Qin [Wed, 4 Feb 2015 08:19:53 +0000 (08:19 +0000)]
Correct the DBX and Certificate Hash Checking.

Add the missed image signature verification against DBX;
and add the missed logic to enhance the certificate hash checking when handling DB database.

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: "Long, Qin" <qin.long@intel.com>
Reviewed-by: "Fu, Siyuan" <siyuan.fu@intel.com>
Reviewed-by: "Dong, Guo" <guo.dong@initel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16744 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoInitialize data and correct faulty logic in TcpComponentNameGetControllerName().
Wu Jiaxin [Wed, 4 Feb 2015 06:43:34 +0000 (06:43 +0000)]
Initialize data and correct faulty logic in TcpComponentNameGetControllerName().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16743 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoInitialize data and correct faulty logic in TcpComponentNameGetControllerName().
Wu Jiaxin [Wed, 4 Feb 2015 06:42:43 +0000 (06:42 +0000)]
Initialize data and correct faulty logic in TcpComponentNameGetControllerName().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16742 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoVerified ChildHandle, and correct the name for a child.
Wu Jiaxin [Wed, 4 Feb 2015 05:47:58 +0000 (05:47 +0000)]
Verified ChildHandle, and correct the name for a child.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16741 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoVerified ChildHandle, and correct the name for a child.
Wu Jiaxin [Wed, 4 Feb 2015 05:47:07 +0000 (05:47 +0000)]
Verified ChildHandle, and correct the name for a child.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16740 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdePkg: Remove redundant ModeModulePkg dependence in SmmMemLib.
Shumin Qiu [Wed, 4 Feb 2015 03:24:56 +0000 (03:24 +0000)]
MdePkg: Remove redundant ModeModulePkg dependence in SmmMemLib.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16739 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: cast return value to correct type based on what we passed in.
Jaben Carsey [Wed, 4 Feb 2015 01:23:14 +0000 (01:23 +0000)]
ShellPkg: cast return value to correct type based on what we passed in.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16734 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Fix typos.
Qiu Shumin [Wed, 4 Feb 2015 01:15:17 +0000 (01:15 +0000)]
ShellPkg: Fix typos.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16733 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update Level3 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:29:23 +0000 (21:29 +0000)]
ShellPkg: Update Level3 profile commands response output

Updates to Level3 profile commands response output.
Updating Level3 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16732 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update Network1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:27:55 +0000 (21:27 +0000)]
ShellPkg: Update Network1 profile commands response output

Updates to Network1 profile commands response output.
Updating Network1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16731 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update Level2 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:24:21 +0000 (21:24 +0000)]
ShellPkg: Update Level2 profile commands response output

Updates to Level2 profile commands response output.
Updating Level2 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16730 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update Debug1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:22:53 +0000 (21:22 +0000)]
ShellPkg: Update Debug1 profile commands response output

Updates to Debug1 profile commands response output.
Updating Debug1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16729 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update Level1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 19:20:59 +0000 (19:20 +0000)]
ShellPkg: Update Level1 profile commands response output

Updates to Level1 profile commands response output.
Updating Level1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16728 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update Driver1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 19:04:52 +0000 (19:04 +0000)]
ShellPkg: Update Driver1 profile commands response output

Updates to Driver1 profile commands response output.
Updating Driver1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16727 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update bcfg command response output
Tapan Shah [Tue, 3 Feb 2015 18:54:54 +0000 (18:54 +0000)]
ShellPkg: Update bcfg command response output

Updates to bcfg command response output.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16726 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Update Shell.uni file with a better general command response output.
Tapan Shah [Tue, 3 Feb 2015 18:37:58 +0000 (18:37 +0000)]
ShellPkg: Update Shell.uni file with a better general command response output.

1. Updates to the general command response output.
2. Re-wording some of common shell messages.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16725 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago*/Contributions.txt: Update example email address
Jordan Justen [Tue, 3 Feb 2015 17:29:14 +0000 (17:29 +0000)]
*/Contributions.txt: Update example email address

Use the example.com domain as recommended in RFC 2606.

NOTE: This does not modify the wording of the "TianoCore Contribution
      Agreement 1.0" section

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Bruce Cran <bruce.cran@gmail.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16724 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoVlv2*Pkg: Add License.txt
Jordan Justen [Tue, 3 Feb 2015 17:28:56 +0000 (17:28 +0000)]
Vlv2*Pkg: Add License.txt

This was copied from MdePkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16723 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoVlv2*Pkg: Add Contributions.txt
Jordan Justen [Tue, 3 Feb 2015 17:28:51 +0000 (17:28 +0000)]
Vlv2*Pkg: Add Contributions.txt

This was copied from MdePkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16722 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntelFsp*Pkg: Add Contributions.txt
Jordan Justen [Tue, 3 Feb 2015 17:28:46 +0000 (17:28 +0000)]
IntelFsp*Pkg: Add Contributions.txt

This was copied from MdePkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16721 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Refactor out a now-redundant function
Jaben Carsey [Tue, 3 Feb 2015 16:50:12 +0000 (16:50 +0000)]
ShellPkg: Refactor out a now-redundant function

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16720 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCheck in binaries for EBC/IA32/X64/IPF built from MdePkg and BaseTools (r16700),...
Ruiyu Ni [Tue, 3 Feb 2015 12:33:10 +0000 (12:33 +0000)]
Check in binaries for EBC/IA32/X64/IPF built from MdePkg and BaseTools (r16700), FatPkg (r93).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16715 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the code not require optional parameters include DataPDUInOrder and DataSequen...
Roy Franz [Tue, 3 Feb 2015 00:53:37 +0000 (00:53 +0000)]
Update the code not require optional parameters include DataPDUInOrder and DataSequenceInOrder.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16700 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Add quotes around NSH index argument replacement
Jaben Carsey [Mon, 2 Feb 2015 21:02:56 +0000 (21:02 +0000)]
ShellPkg: Add quotes around NSH index argument replacement

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16699 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmVirtualizationPkg: add simple ACPI Platform Driver to the QEMU platform
Laszlo Ersek [Mon, 2 Feb 2015 19:09:07 +0000 (19:09 +0000)]
ArmVirtualizationPkg: add simple ACPI Platform Driver to the QEMU platform

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: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16698 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOvmfPkg/AcpiPlatformDxe: Add QEMU fw-cfg only driver
Jordan Justen [Mon, 2 Feb 2015 19:09:02 +0000 (19:09 +0000)]
OvmfPkg/AcpiPlatformDxe: Add QEMU fw-cfg only driver

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16697 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOvmfPkg/AcpiPlatformDxe: Split QEMU fw-cfg into a new file
Jordan Justen [Mon, 2 Feb 2015 19:08:57 +0000 (19:08 +0000)]
OvmfPkg/AcpiPlatformDxe: Split QEMU fw-cfg into a new file

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 <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16696 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUse SmmMemLib to check communication buffer.
Yao, Jiewen [Mon, 2 Feb 2015 14:43:28 +0000 (14:43 +0000)]
Use SmmMemLib to check communication buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Gao, Liming" <liming.gao@intel.com>
Reviewed-by: "Fan, Jeff" <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16695 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUse SmmMemLib to check communication buffer.
Yao, Jiewen [Mon, 2 Feb 2015 14:42:22 +0000 (14:42 +0000)]
Use SmmMemLib to check communication buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Gao, Liming" <liming.gao@intel.com>
Reviewed-by: "Fan, Jeff" <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16694 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd SmmMemLib, which can be used by SMM driver or SMM core to check communication...
Yao, Jiewen [Mon, 2 Feb 2015 14:40:44 +0000 (14:40 +0000)]
Add SmmMemLib, which can be used by SMM driver or SMM core to check communication buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Gao, Liming" <liming.gao@intel.com>
Reviewed-by: "Fan, Jeff" <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16693 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmVirtualizationQemu: ask the hardware for the timer frequency
Laszlo Ersek [Mon, 2 Feb 2015 12:01:58 +0000 (12:01 +0000)]
ArmVirtualizationQemu: ask the hardware for the timer frequency

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 specified. The interval is taken as a number
  of microseconds.

If the platform in question also follows the PI (Platform Init)
specification, then it is recommended to implement the above UEFI services
on top of the following DXE Architectural Protocols (described in PI
Volume 2):

- Timer Architectural Protocol:

  "Used to set up a periodic timer interrupt using a platform specific
  timer, and a processor-specific interrupt vector. This protocol enables
  the use of the SetTimer() Boot Service. [...]"

- Metronome Architectural Protocol:

  "Used to wait for ticks from a known time source in a platform. This
  protocol may be used to implement a simple version of the Stall() Boot
  Service. [...]"

Edk2 in general, and ArmVirtualizationQemu in particular, follow the above
pattern.

SetTimer() works correctly. The underlying Timer Architectural Protocol is
provided by "ArmPkg/Drivers/TimerDxe", and that driver calls the internal
function ArmGenericTimerGetTimerFreq() to retrieve the timer frequency.
Ultimately it boils down to reading the CNTFRQ_EL0 register.

The correct behavior of SetTimer() can be observed for example:
- in the grub-efi countdown ("grub-core/kern/arm/efi/init.c"),
- in the Intel BDS front page countdown
  ("IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c").

However, Stall() doesn't work correctly. The underlying Metronome
Architectural Protocol is provided by "EmbeddedPkg/MetronomeDxe", which
further delegates the job to the TimerLib library class. That in turn is
resolved to the "ArmPkg/Library/ArmArchTimerLib" instance, which
(finally!) takes the timer frequency from "PcdArmArchTimerFreqInHz".

In ArmVirtualizationQemu we currently specify 100MHz for this PCD. Alas,
that's incorect for:
- both QEMU/TCG (which emulates 62.5MHz, see GTIMER_SCALE in
  "target-arm/internals.h"),
- and KVM (where the host's virtualized timer can tick at 50 MHz, for
  example).

Set the PCD to 0, asking ArmArchTimerLib to interrogate CNTFRQ_EL0 as
well.

The change can be tested with eg. the following callers of Stall():
- the UEFI Shell's countdown -- before it runs "startup.nsh" -- relies on
  Stall(),
- the UEFI shell command "stall" also uses Stall(). (Time it with a
  stopwatch.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16692 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency
Laszlo Ersek [Mon, 2 Feb 2015 12:01:48 +0000 (12:01 +0000)]
ArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency

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 Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16691 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg: ArmArchTimerLib: use edk2-conformant (UINT64 * UINT32) / UINT32
Laszlo Ersek [Mon, 2 Feb 2015 12:01:38 +0000 (12:01 +0000)]
ArmPkg: ArmArchTimerLib: use edk2-conformant (UINT64 * UINT32) / UINT32

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16690 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg: ArmArchTimerLib: clean up comments
Laszlo Ersek [Mon, 2 Feb 2015 12:01:29 +0000 (12:01 +0000)]
ArmPkg: ArmArchTimerLib: clean up comments

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 <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16689 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSecurityPkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe
Star Zeng [Mon, 2 Feb 2015 09:31:08 +0000 (09:31 +0000)]
SecurityPkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe

for trying to reclaim variable space at EndOfDxe.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16688 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe
Star Zeng [Mon, 2 Feb 2015 09:30:34 +0000 (09:30 +0000)]
MdeModulePkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe

for trying to reclaim variable space at EndOfDxe.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16687 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag...
Star Zeng [Mon, 2 Feb 2015 08:39:26 +0000 (08:39 +0000)]
SecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag to local variable.

And leave the variable error flag in NV flash as the last boot variable error flag.
After EndOfDxe in InitializeVarErrorFlag (), the variable error flag in NV flash
will be initialized to this local current boot variable error flag.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16686 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag...
Star Zeng [Mon, 2 Feb 2015 03:18:10 +0000 (03:18 +0000)]
SecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag to local variable.

And leave the variable error flag in NV flash as the last boot variable error flag.
After EndOfDxe in InitializeVarErrorFlag (), the variable error flag in NV flash
will be initialized to this local current boot variable error flag.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16685 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag...
Star Zeng [Mon, 2 Feb 2015 03:17:27 +0000 (03:17 +0000)]
MdeModulePkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag to local variable.

And leave the variable error flag in NV flash as the last boot variable error flag.
After EndOfDxe in InitializeVarErrorFlag (), the variable error flag in NV flash
will be initialized to this local current boot variable error flag.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16684 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Fix typos.
Qiu Shumin [Mon, 2 Feb 2015 01:51:59 +0000 (01:51 +0000)]
ShellPkg: Fix typos.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16683 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Refactor quote and escape search to use new function
Jaben Carsey [Fri, 30 Jan 2015 16:29:20 +0000 (16:29 +0000)]
ShellPkg: Refactor quote and escape search to use new function

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Signed-off-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16682 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Refactor Split search to generic function
Jaben Carsey [Fri, 30 Jan 2015 16:28:22 +0000 (16:28 +0000)]
ShellPkg: Refactor Split search to generic function

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Signed-off-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16681 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMove ConfigHdr from browser_storage to Formset_storage, avoid device path lost for...
Eric Dong [Fri, 30 Jan 2015 05:35:30 +0000 (05:35 +0000)]
Move ConfigHdr from browser_storage to Formset_storage, avoid device path lost for drivers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16680 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate SPI connection parameters for Microsoft RhProxy driver.
David Wei [Thu, 29 Jan 2015 04:39:53 +0000 (04:39 +0000)]
Update SPI connection parameters for Microsoft RhProxy driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16679 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd SSDT for Microsoft RhProxy Driver.
David Wei [Wed, 28 Jan 2015 08:45:52 +0000 (08:45 +0000)]
Add SSDT for Microsoft RhProxy Driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16677 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAlign the overrider with UDK2014.SP1 core.
Shifei Lu [Wed, 28 Jan 2015 08:24:57 +0000 (08:24 +0000)]
Align the overrider with UDK2014.SP1 core.

The override fixed Showing IPv4 and IPv6 string format as

"EFI Network <MAC Address><IP version>" in Boot Manager Group under BIOS setup.

This override will be removed after core fixing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16675 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: refine command line parsing
Jaben Carsey [Tue, 27 Jan 2015 18:56:36 +0000 (18:56 +0000)]
ShellPkg: refine command line parsing

Correctly divide up parameters for Argc/Argv including quote ("), escape (^), and space ( ) processing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16673 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Always remove non-defined environment variable
Jaben Carsey [Tue, 27 Jan 2015 18:53:27 +0000 (18:53 +0000)]
ShellPkg: Always remove non-defined environment variable

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16672 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAlign the overrider with EDK2 trunk.
Shifei Lu [Tue, 27 Jan 2015 08:47:14 +0000 (08:47 +0000)]
Align the overrider with EDK2 trunk.

Align the overrider with EDK2 trunk.(The override fixed default console text color)
This override will be removed after core fixing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16671 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSecurityPkg Variable: Implement variable quota management.
Star Zeng [Tue, 27 Jan 2015 08:44:10 +0000 (08:44 +0000)]
SecurityPkg Variable: Implement variable quota management.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16670 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg Variable: Implement variable quota management.
Star Zeng [Tue, 27 Jan 2015 08:42:47 +0000 (08:42 +0000)]
MdeModulePkg Variable: Implement variable quota management.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16669 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFixed system hang issue with accessing to Boot Maintenance Manager
Shifei Lu [Tue, 27 Jan 2015 07:34:32 +0000 (07:34 +0000)]
Fixed system hang issue with accessing to Boot Maintenance Manager

when pressed hot key to enter BIOS setup.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16666 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnabled Performance measurement.
Mang Guo [Tue, 27 Jan 2015 04:38:18 +0000 (04:38 +0000)]
Enabled Performance measurement.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Mang Guo <mang.guo@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16662 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/UsbBotPei: Correct wrong media type detection logic in UsbBotPei
Feng Tian [Tue, 27 Jan 2015 03:07:01 +0000 (03:07 +0000)]
MdeModulePkg/UsbBotPei: Correct wrong media type detection logic in UsbBotPei

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16661 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg: Fixed DxeCore displaying incorrect FV Hob information
Hao Wu [Tue, 27 Jan 2015 01:12:46 +0000 (01:12 +0000)]
MdeModulePkg: Fixed DxeCore displaying incorrect FV Hob information

Modify DxeMain.c which displays incorrect debug message regarding FV Hob.
Specifically, the BaseAddress and Length are not related to the same FV.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16660 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg: Acpi: enforce exclusion between FirmwareCtrl and XFirmwareCtrl
Laszlo Ersek [Mon, 26 Jan 2015 08:05:04 +0000 (08:05 +0000)]
MdeModulePkg: Acpi: enforce exclusion between FirmwareCtrl and XFirmwareCtrl

The code in AcpiTableDxe handles the installation of FADT and FACS in both
possible orders. In the [FADT, FACS] installation order, the FACS is at
once linked into the FADT. In the [FACS, FADT] installation order, the
FACS is stashed temporarily, and it is linked into the FADT when the FADT
is installed later.

According to the ACPI specification, *at most one* of FADT.FirmwareCtrl
and FADT.XFirmwareCtrl may be nonzero. The code is aware of this
requirement, and it never sets both of them to nonzero values at once.

However, the code doesn't expect the following:

- The caller first installs the FACS, which is stashed. The address that
  is saved happens to fall below 4GB.

- The caller then installs a FADT, with a zero FirmwareCtrl field, and a
  nonzero (pre-populated) XFirmwareCtrl field.

In this case the code sets FADT.FirmwareCtrl to the less-than-4GB address
of the stashed FACS, and leaves the different nonzero value in
FADT.XFirmwareCtrl. This violates the ACPI specification.

Prevent this by always zeroing the field that we do *not* set.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.Yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16659 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFixed the GCC build failure.
Shifei Lu [Mon, 26 Jan 2015 07:07:06 +0000 (07:07 +0000)]
Fixed the GCC build failure.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16658 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix the Windows MNW2 build failure.
Bruce Cran [Mon, 26 Jan 2015 06:50:22 +0000 (06:50 +0000)]
Fix the Windows MNW2 build failure.

Fix the Windows MNW2 build by updating the library paths and adding support for VS2012 and VS2013.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bruce Cran <bruce.cran@gmail.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16657 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg: detect correct pl011 fifo depth
Leif Lindholm [Fri, 23 Jan 2015 16:10:00 +0000 (16:10 +0000)]
ArmPlatformPkg: detect correct pl011 fifo depth

pl011 releases earlier than r1p5 has a fifo depth of 16 bytes, whereas
version r1p5 upwards has a fifo depth of 32 bytes. The pl011 driver was
hardwired to 32 byte depth, causing dropped characters on some platforms
(including default settings on FVP Base and Foundation models).
Update driver to select 16 or 32 on port initialization by checking the
component revision.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16656 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg/NorFlashDxe : Fix the check of flash addresses
Ronald Cron [Fri, 23 Jan 2015 16:09:07 +0000 (16:09 +0000)]
ArmPkg/NorFlashDxe : Fix the check of flash addresses

Fix the check to prevent any reading past the end of the nor flash.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16655 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/ArmJunoPkg/AcpiTables: Updated with new ACPI 5.1 Tables & Definitions
Olivier Martin [Fri, 23 Jan 2015 16:07:38 +0000 (16:07 +0000)]
ArmPlatformPkg/ArmJunoPkg/AcpiTables: Updated with new ACPI 5.1 Tables & Definitions

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16654 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEmbeddedPkg/AcpiLib.h: Added some helper macros for ACPI 5.1
Olivier Martin [Fri, 23 Jan 2015 16:06:09 +0000 (16:06 +0000)]
EmbeddedPkg/AcpiLib.h: Added some helper macros for ACPI 5.1

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16653 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/ArmJunoPkg: Added the ACPI 5.0 Tables
Olivier Martin [Fri, 23 Jan 2015 16:03:09 +0000 (16:03 +0000)]
ArmPlatformPkg/ArmJunoPkg: Added the ACPI 5.0 Tables

These tables are:
- Differentiated System Description Table Fields (DSDT)
- Firmware ACPI Control Structure (FACS)
- Fixed ACPI Description Table (FADT)
- Generic Timer Description Table (GTDT)
- Multiple APIC Description Table (MADT)
- Secondary System Description Table Fields (SSDT)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16652 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/ArmJunoPkg: Added ACPI support
Olivier Martin [Fri, 23 Jan 2015 16:01:11 +0000 (16:01 +0000)]
ArmPlatformPkg/ArmJunoPkg: Added ACPI support

This support makes the Juno UEFI Firmware to look into the Firmware Volume
for the ACPI Tables. But it does not provide the ACPI Tables.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16651 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEmbeddedPkg: Introduced AcpiLib
Olivier Martin [Fri, 23 Jan 2015 15:59:27 +0000 (15:59 +0000)]
EmbeddedPkg: Introduced AcpiLib

AcpiLib is a library to help working with ACPI Tables.

In this initial implementation, the library provides:
- a helper function to locate and install the ACPI Tables within
  a Firmware Volume
- Some helper macros to initialize some ACPI structures

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16650 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIncrease the BiosID major version to 0.77 and
Tim He [Fri, 23 Jan 2015 08:14:39 +0000 (08:14 +0000)]
Increase the BiosID major version to 0.77 and

Enable gcc build for minnowboard max with UDK2014.SP1.P1.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tim He <tim.he@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16648 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoThe default type is not returned by display engine, this code update the logic to...
Eric Dong [Fri, 23 Jan 2015 06:11:22 +0000 (06:11 +0000)]
The default type is not returned by display engine, this code update the logic to return it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16647 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdePkg: Refine the format of INF files and the declaration in header file.
Shumin Qiu [Fri, 23 Jan 2015 05:52:25 +0000 (05:52 +0000)]
MdePkg: Refine the format of INF files and the declaration in header file.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16646 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnable popup dialog when user press the hotkey.
Eric Dong [Fri, 23 Jan 2015 05:51:07 +0000 (05:51 +0000)]
Enable popup dialog when user press the hotkey.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16645 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAvoid change the return status from above code which will also be used later.
Eric Dong [Fri, 23 Jan 2015 05:49:31 +0000 (05:49 +0000)]
Avoid change the return status from above code which will also be used later.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16644 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoLocate the config route protocol before install the config access protocol to fix...
Eric Dong [Fri, 23 Jan 2015 05:48:44 +0000 (05:48 +0000)]
Locate the config route protocol before install the config access protocol to fix potential issue.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16643 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdded 2 new PCDs for minimal and maximal valid year in RTC.
Elvin Li [Fri, 23 Jan 2015 04:49:00 +0000 (04:49 +0000)]
Added 2 new PCDs for minimal and maximal valid year in RTC.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16642 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate OpenSSL support to the latest release (0.9.8ze, 15-Jan-2015).
Long Qin [Thu, 22 Jan 2015 07:43:04 +0000 (07:43 +0000)]
Update OpenSSL support to the latest release (0.9.8ze, 15-Jan-2015).

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Long Qin <qin.long@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16641 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSet RTC initial time to be BIOS Release time.
David Wei [Thu, 22 Jan 2015 05:50:45 +0000 (05:50 +0000)]
Set RTC initial time to be BIOS Release time.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16639 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd TpmInitializationDonePpi to TPM PEI module.
Yao, Jiewen [Thu, 22 Jan 2015 05:14:23 +0000 (05:14 +0000)]
Add TpmInitializationDonePpi to TPM PEI module.

This PPI will always be installed to notify other drivers that TPM initialization action is done. TPM initialization may success or fail, or even not present.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Dong, Guo" <guo.dong@intel.com>
Reviewed-by: "Chiu, Chasel" <chasel.chiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16638 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoResolve buffer check overrun issue.
Yao, Jiewen [Thu, 22 Jan 2015 03:29:17 +0000 (03:29 +0000)]
Resolve buffer check overrun issue.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Qiu, Shumin" <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16637 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate PcdSmbiosVersion from 0x0207 to 0x0208.
Elvin Li [Thu, 22 Jan 2015 02:47:12 +0000 (02:47 +0000)]
Update PcdSmbiosVersion from 0x0207 to 0x0208.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16636 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg: Refine the format of INF files.
Shumin Qiu [Thu, 22 Jan 2015 02:02:08 +0000 (02:02 +0000)]
MdeModulePkg: Refine the format of INF files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16635 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Refine the fomat in INF/DEC files to follow spec.
Qiu Shumin [Thu, 22 Jan 2015 01:44:11 +0000 (01:44 +0000)]
ShellPkg: Refine the fomat in INF/DEC files to follow spec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16634 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRemove 2 unnecessary modules (Ps2MouseDxe, Ps2keyboardDxe) for saving size.
Tim He [Wed, 21 Jan 2015 07:37:42 +0000 (07:37 +0000)]
Remove 2 unnecessary modules (Ps2MouseDxe, Ps2keyboardDxe) for saving size.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tim He <tim.he@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16631 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/DxeMain: Fix wrong sanity check in CoreTerminateMemoryMap()
Ard Biesheuvel [Wed, 21 Jan 2015 03:11:19 +0000 (03:11 +0000)]
MdeModulePkg/DxeMain: Fix wrong sanity check in CoreTerminateMemoryMap()

The function CoreTerminateMemoryMap() performs some final sanity checks on the runtime regions in the memory map before allowing ExitBootServices() to complete.
Unfortunately, it does so by testing the EFI_MEMORY_RUNTIME bit in the Attribute field, which is never set anywhere in the code.

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16630 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdePkg: Add [in/out] tags to those function type declarations in UefiSpec.h for Doxge...
Feng Tian [Wed, 21 Jan 2015 02:47:49 +0000 (02:47 +0000)]
MdePkg: Add [in/out] tags to those function type declarations in UefiSpec.h for Doxgen format

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16629 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUse RLE (Run Length Encoding) to improve debugging performance.
Ruiyu Ni [Tue, 20 Jan 2015 08:46:31 +0000 (08:46 +0000)]
Use RLE (Run Length Encoding) to improve debugging performance.

DEBUG_AGENT_REVISION is DEBUG_AGENT_REVISION_03 to disable this feature and will be changed to DEBUG_AGENT_REVISION_04 when new version of HOST is released.
Reduce the stack usage by re-using the same buffer to send/receive packet.
Zero out the buffer before fxsave so that the reserved field in the buffer remains 0 for better RLE compression ratio.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16628 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix GCC build error.
Yao, Jiewen [Tue, 20 Jan 2015 08:24:12 +0000 (08:24 +0000)]
Fix GCC build error.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16627 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoPcAtChipsetPkg: Refine the format of meta data files.
Shumin Qiu [Tue, 20 Jan 2015 07:31:57 +0000 (07:31 +0000)]
PcAtChipsetPkg: Refine the format of meta data files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16626 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoDispatch the UEFI option rom returned from PciPlatform/PciOverride protocol.
Ruiyu Ni [Tue, 20 Jan 2015 06:45:01 +0000 (06:45 +0000)]
Dispatch the UEFI option rom returned from PciPlatform/PciOverride protocol.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16625 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoPerformance: Refine the format of INF files.
Shumin Qiu [Tue, 20 Jan 2015 01:45:35 +0000 (01:45 +0000)]
Performance: Refine the format of INF files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16624 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntelFspWrapperPkg: Refine the format of meta data files.
Shumin Qiu [Mon, 19 Jan 2015 07:45:25 +0000 (07:45 +0000)]
IntelFspWrapperPkg: Refine the format of meta data files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16623 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntelFspPkg: Refine the format of meta data files.
Shumin Qiu [Mon, 19 Jan 2015 07:18:24 +0000 (07:18 +0000)]
IntelFspPkg: Refine the format of meta data files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16622 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd HSTI support.
Yao, Jiewen [Mon, 19 Jan 2015 06:08:23 +0000 (06:08 +0000)]
Add HSTI support.

Add HSTI header file and a library to assist HSTI table creation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Gao, Liming" <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16621 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix SET statement bug which is always evaluated even it is in a False conditional...
Yingke Liu [Mon, 19 Jan 2015 05:04:28 +0000 (05:04 +0000)]
Fix SET statement bug which is always evaluated even it is in a False conditional statement.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16620 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFixed build issue with fds target specified.
Yingke Liu [Mon, 19 Jan 2015 05:01:39 +0000 (05:01 +0000)]
Fixed build issue with fds target specified.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Hesheng Chen <hesheng.chen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16619 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSourceLevelDebugPkg: Refine the format of meta data files.
Shumin Qiu [Mon, 19 Jan 2015 02:44:10 +0000 (02:44 +0000)]
SourceLevelDebugPkg: Refine the format of meta data files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16618 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRefine the format of PCD in INF files for UefiCpuPkg.
Shumin Qiu [Fri, 16 Jan 2015 05:20:31 +0000 (05:20 +0000)]
Refine the format of PCD in INF files for UefiCpuPkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16617 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRefine the format of GUID in INF files for SecurityPkg.
Shumin Qiu [Fri, 16 Jan 2015 03:30:07 +0000 (03:30 +0000)]
Refine the format of GUID in INF files for SecurityPkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16616 6f19259b-4bc3-4df7-8a09-765794883524