]>
git.proxmox.com Git - mirror_edk2.git/log
Elvin Li [Thu, 5 Feb 2015 01:15:09 +0000 (01:15 +0000)]
Use MaxPacketSize as the initial buffer size to read data.
If host sends more than 8 bytes of data, BABBLE error would happen if USB3 debug library uses 8 byte of buffer to read data.
We need use MaxPacketSize in USB3 debug descriptor to create buffer and read data into this buffer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16762
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Thu, 5 Feb 2015 01:00:53 +0000 (01:00 +0000)]
SecurityPkg: Cleanup gEfiSmmAccess2ProtocolGuid reference.
As the driver does not reference gEfiSmmAccess2ProtocolGuid explicitly now
after SmmMemLib introduced.
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@16761
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Thu, 5 Feb 2015 00:59:56 +0000 (00:59 +0000)]
MdeModulePkg: Cleanup gEfiSmmAccess2ProtocolGuid reference.
As the drivers and library do not reference gEfiSmmAccess2ProtocolGuid explicitly now
after SmmMemLib introduced.
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@16760
6f19259b -4bc3-4df7-8a09-
765794883524
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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