Jordan Justen [Fri, 25 Jul 2014 21:10:33 +0000 (21:10 +0000)]
BaseTools: Clear build versions to sync with buildtools/BaseTools
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15686
6f19259b-4bc3-4df7-8a09-
765794883524
Gao, Liming liming.gao [Fri, 25 Jul 2014 21:10:20 +0000 (21:10 +0000)]
Update GenFv tool to handle the file path with space.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gao, Liming liming.gao@intel.com
Review-by: Kinney, Michael D michael.d.kinney@intel.com
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15685
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 25 Jul 2014 21:10:10 +0000 (21:10 +0000)]
Report warning info if vfr file use the flags used for framework code only.
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@15684
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 25 Jul 2014 21:09:59 +0000 (21:09 +0000)]
Clean 1 build error and 1 warning for VfrCompiler.
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@15683
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 25 Jul 2014 21:09:48 +0000 (21:09 +0000)]
Report warning info if an action opcode has text two statement.
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@15682
6f19259b-4bc3-4df7-8a09-
765794883524
Jaben Carsey [Fri, 25 Jul 2014 18:46:23 +0000 (18:46 +0000)]
ShellPkg: Fix calls to SimpleTextOut->SetAttribute to not use reserved bits
As the shell inverts foreground and background it needs to be sure that it properly masks off the reserved bits and this is important since the foreground and background are not the same numbers of bits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15681
6f19259b-4bc3-4df7-8a09-
765794883524
Jaben Carsey [Fri, 25 Jul 2014 15:57:20 +0000 (15:57 +0000)]
MdeModulePkg: Fix parameter verification for SetAttribute
Check for 8th bit being reserved as per UEFI spec.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15680
6f19259b-4bc3-4df7-8a09-
765794883524
lhauch [Fri, 25 Jul 2014 14:07:00 +0000 (14:07 +0000)]
CodeModule: BaseTools - Adding the svn:external to the https://svn.code.sf.net/p/edk2-toolbinaries/code/trunk/Win32
This change allows users to checkout the edk2 project ignoring the svn:externals.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lhauch <larry.hauch@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15679
6f19259b-4bc3-4df7-8a09-
765794883524
lhauch [Fri, 25 Jul 2014 14:04:48 +0000 (14:04 +0000)]
CodeModule: BaseTools - Removing Win32 binaries to be replaced with an svn:external to the https://svn.code.sf.net/p/edk2-toolbinaries/code/trunk/Win32
This change allows users to checkout the edk2 project ignoring the svn:externals.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lhauch <larry.hauch@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15678
6f19259b-4bc3-4df7-8a09-
765794883524
Daryl McDaniel [Thu, 24 Jul 2014 23:16:47 +0000 (23:16 +0000)]
StdLib/LibC/StdLib/Malloc.c: Revert cast removal to fix GCC build breakage.
The cast to (void**) is needed for the last parameter of the AllocatePool call in malloc(). This is because type CPOOL_HEAD** is not automatically promoted to void**, as required by AllocatePool().
This was originally addressed in SVN revision 15474 but removed again in 15664.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed by: Stefan Kaeser <stefankaeser@hotmail.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15677
6f19259b-4bc3-4df7-8a09-
765794883524
jyao1 [Thu, 24 Jul 2014 06:52:43 +0000 (06:52 +0000)]
Add IntelFspWrapper to support boot EDKII on FSP bin.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed off by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed by: Ravi Rangarajan <ravi.p.rangarajan@intel.com>
Reviewed by: Maurice Ma <maurice.ma@intel.com>
Reviewed by: Giri Mudusuru <giri.p.mudusuru@intel.com>
Reviewed by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15676
6f19259b-4bc3-4df7-8a09-
765794883524
Elvin Li [Thu, 24 Jul 2014 05:58:50 +0000 (05:58 +0000)]
Clear the whole EFI_PHYSICAL_ADDRESS CapsuleDataPtr64 to 0 at first to avoid rubbish data in high 32 bits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Review-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15675
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 24 Jul 2014 01:06:14 +0000 (01:06 +0000)]
Fix one memory leak.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15674
6f19259b-4bc3-4df7-8a09-
765794883524
isakov-sl [Wed, 23 Jul 2014 07:34:59 +0000 (07:34 +0000)]
Fixed one possible array out of bounds issue.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: isakov-sl@bk.ru
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15673
6f19259b-4bc3-4df7-8a09-
765794883524
Sergey Isakov [Wed, 23 Jul 2014 02:13:14 +0000 (02:13 +0000)]
Fix wrong usage sizeof(SIZE).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Sergey Isakov <isakov-sl@bk.ru>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Ruiyu Ni<ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15672
6f19259b-4bc3-4df7-8a09-
765794883524
Elvin Li [Wed, 23 Jul 2014 02:12:37 +0000 (02:12 +0000)]
Fix memory leak issues in BiosSnp module.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15671
6f19259b-4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Tue, 22 Jul 2014 21:57:01 +0000 (21:57 +0000)]
OvmfPkg: build OVMF_VARS.fd, OVMF_CODE.fd, OVMF.fd
OVMF_VARS.fd and OVMF_CODE.fd split the variable store and the firmware
code in separate files.
The PCDs' values continue to depend only on FD_SIZE_1MB vs. FD_SIZE_2MB.
With the split files, it must be ensured on the QEMU command line that
OVMF_VARS.fd and OVMF_CODE.fd be contiguously mapped so that they end
exactly at 4GB. See QEMU commit
637a5acb (first released in v2.0.0).
In this patch we must take care to assign each PCD only once.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15670
6f19259b-4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Tue, 22 Jul 2014 21:56:53 +0000 (21:56 +0000)]
OvmfPkg: extract varstore-related FD Layout Regions to an include file
This saves code duplication between the Ia32, Ia32X64, and X64 flavors,
and enables the next patch to include the varstore in new FD files by
reference.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15669
6f19259b-4bc3-4df7-8a09-
765794883524
Chen Fan [Tue, 22 Jul 2014 08:19:43 +0000 (08:19 +0000)]
EmulatorPkg/MpService: modify AP state should hold a mutex
Add mutex when change AP state.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15668
6f19259b-4bc3-4df7-8a09-
765794883524
Tian, Feng [Tue, 22 Jul 2014 03:06:43 +0000 (03:06 +0000)]
MdeModulePkg/AtaAtapiPassThru: Correct the algo of calculating PRDT number to avoid beyond the boundary of 32 bit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tian, Feng <feng.tian@intel.com>
Reviewed-by: Zeng, Star <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15667
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 21 Jul 2014 09:59:06 +0000 (09:59 +0000)]
Refine code to follow good coding style.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15666
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 21 Jul 2014 03:05:20 +0000 (03:05 +0000)]
MdePkg BaseLib: Fix a corner case of Source and Destination overlap.
The overlap may happen when the address of Destination in
UnicodeStrToAsciiStr() or Source in AsciiStrToUnicodeStr()
is not two bytes aligned.
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@15665
6f19259b-4bc3-4df7-8a09-
765794883524
Daryl McDaniel [Thu, 17 Jul 2014 20:54:49 +0000 (20:54 +0000)]
StdLib: Simple code cleanup
StdLib/LibC/Main/Main.c
Change Print to Debug statements.
Ensure errno is initialized to 0 before calling main().
StdLib/LibC/StdLib/Malloc.c
Aesthetic Cleanup: remove unnecessary cast, fix two whitespace alignment problems.
StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c
Change Include order.
StdLib/Include/paths.h
Add definition _PATH_LIB for the path to the library directory: /Efi/StdLib/lib.
StdLib/LibC/Stdio/vfwscanf.c
Align declarations and initializations.
Initialize the multipurpose pointer, p, to NULL.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15664
6f19259b-4bc3-4df7-8a09-
765794883524
Daryl McDaniel [Thu, 17 Jul 2014 01:55:23 +0000 (01:55 +0000)]
StdLib: Move GetPass.c out of Uefi and into PosixLib. Create LibPosix to contain all functions from PosixLib instead of individual libraries. Retains the ability to use the individual libraries, except GetPass, for backwards compatibility.
StdLib/LibC/Uefi/GetPass.c
COPY to StdLib/PosixLib/GetPass/GetPass.c
DELETE
StdLib/PosixLib/GetPass/GetPass.c
NEW, COPIED from StdLib/LibC/Uefi/GetPass.c
StdLib/PosixLib/PosixLib.inf
Create a LibPosix library class to build all PosixLib functions into a single library.
Move GetPass from LibC/Uefi to PosixLib.inf
StdLib/LibC/Uefi/Uefi.inf
Remove GetPass.c from sources.
Remove IPF from VALID_ARCHITECTURES
Update VERSION_STRING
Align [Defines] on a two-character boundary
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15663
6f19259b-4bc3-4df7-8a09-
765794883524
Long, Qin [Wed, 16 Jul 2014 02:48:20 +0000 (02:48 +0000)]
Add comments for clarification about memset implementation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Long, Qin <qin.long@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@15662
6f19259b-4bc3-4df7-8a09-
765794883524
Ronald Cron [Tue, 15 Jul 2014 09:26:53 +0000 (09:26 +0000)]
ArmPkg/ArmLib.h: Removed GET_CORE_POS macro
The platform independant GET_CORE_POS has been replaced by the platform
dependent function ArmPlatformGetCorePosition().
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@15661
6f19259b-4bc3-4df7-8a09-
765794883524
Ronald Cron [Tue, 15 Jul 2014 09:25:57 +0000 (09:25 +0000)]
ArmPlatformPkg/Bds: Getting and editing IP addresses
Reworked GetHIInputIP() function to use "NetLibStrToIp4()" library
function to parse the IPv4 address instead of doing it by itself.
Added function EditHIInputIP() in BdsHelper.c to edit an IPv4 address.
To be used when updating a tftp boot option.
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@15660
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 15 Jul 2014 09:24:25 +0000 (09:24 +0000)]
ARM Packages: Force the SEC modules to be 2K aligned for AArch64
The AArch64 Vector Table must be aligned on a 2K boundary.
The FDF specification does not support 2K alignment but support 4K.
A clear comment has been added to help integrator to understand why the
assertion fails when porting to a new AArch64 platform.
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@15659
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 15 Jul 2014 09:21:41 +0000 (09:21 +0000)]
ArmPkg/BdsLib: Removed PSCI discoverability from the Linux loader
Some platforms might decide to not support PSCI in their FDT-aware Linux
system even if their firmware supports it.
It is the responsibility of the platform engineer to provide the appropriate FDT.
The PCD gArmTokenSpaceGuid.PcdArmPsciSupport is not required anymore.
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@15658
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 15 Jul 2014 09:18:44 +0000 (09:18 +0000)]
ArmPlatformPkg/ArmPlatformLib.h: Added documentation for ArmPlatformPeiBootAction()
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@15657
6f19259b-4bc3-4df7-8a09-
765794883524
Ronald Cron [Tue, 15 Jul 2014 09:17:36 +0000 (09:17 +0000)]
ArmPlatformPkg/Bds: Added update of Pxe boot option
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@15656
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 14 Jul 2014 11:01:17 +0000 (11:01 +0000)]
Add check to make code more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15655
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 14 Jul 2014 06:14:20 +0000 (06:14 +0000)]
Check the validation when return from callback function to avoid use the invalid form set.
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@15654
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 14 Jul 2014 01:38:19 +0000 (01:38 +0000)]
MdePkg PeiHobLib: Initialize Owner field of Resource HOB to 0 rather than random value.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15653
6f19259b-4bc3-4df7-8a09-
765794883524
Jeff Fan [Fri, 11 Jul 2014 02:36:56 +0000 (02:36 +0000)]
1. Save/restore ICR high 32bit value and check Delivery Status before sending IPI. It could be fix the interrupted issue between ICR high/low writes by SMI handler.
2. Save/restore CPU Interrupt state around sending IPI. It could avoid sending IPI be interrupted by CPU interrupt handler.
3. Add note for SetApicMode() API that must not be called from an interrupt handler or SMI handler.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Kinney, Michael <michael.d.kinney@intel.com>
Reviewed-by: Mudusuru, Giri <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15652
6f19259b-4bc3-4df7-8a09-
765794883524
Fu, Siyuan [Thu, 10 Jul 2014 07:46:34 +0000 (07:46 +0000)]
Fix a memory use after free bug in DHCP6 driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-By: Ye, Ting <ting.ye@intel.com>
Reviewed-by: Wu, Jiaxin <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15651
6f19259b-4bc3-4df7-8a09-
765794883524
Jeff Fan [Thu, 10 Jul 2014 02:12:27 +0000 (02:12 +0000)]
Introduce one PCD PcdCpuInitIpiDelayInMicroSeconds to specify the delay value after sending out INIT IPI instead of hard code 10 MicroSeconds.
Its default value is 10 millisecond per IA32 manual.
Platform could customize this PCD value for performance requirement.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Kinney, Michael <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15650
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 10 Jul 2014 01:52:28 +0000 (01:52 +0000)]
Fix build fail for VS2005 tool chain.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15649
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 10 Jul 2014 01:25:41 +0000 (01:25 +0000)]
Fixed one code error, should use & instead of |.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15648
6f19259b-4bc3-4df7-8a09-
765794883524
Eugene Cohen [Wed, 9 Jul 2014 11:14:36 +0000 (11:14 +0000)]
ArmPkg/ArmLib: Improved ArmConfigureMmu Performance
Data & Instruction Caches can be kept enabled while the new
translation table is filled.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15647
6f19259b-4bc3-4df7-8a09-
765794883524
Harry Liebel [Wed, 9 Jul 2014 09:10:44 +0000 (09:10 +0000)]
MdePkg/BasePrintLib: Do not do operations with NULL
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Gao, Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15646
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 9 Jul 2014 08:30:07 +0000 (08:30 +0000)]
Refine the readme.txt for Duet platform, update the GCC tool chain to GCC44.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15645
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 9 Jul 2014 08:28:05 +0000 (08:28 +0000)]
Update the bat file, avoid change the original binary file in SVN, copy a temp file to use.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15644
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 9 Jul 2014 05:19:24 +0000 (05:19 +0000)]
The UEFI specification does not say anything when the pointers passed to
WaitForEvent() are NULL.
Passing NULL pointer would cause a segmentation fault in the current code.
This change prevents to get segmentation faults in this case.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15643
6f19259b-4bc3-4df7-8a09-
765794883524
Chen Fan [Wed, 9 Jul 2014 03:51:56 +0000 (03:51 +0000)]
Fixed typos: hanlder should be handler.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15642
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 9 Jul 2014 02:49:24 +0000 (02:49 +0000)]
Refine the sample for action, should not use text two part.
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@15641
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 9 Jul 2014 01:50:55 +0000 (01:50 +0000)]
Fix build fail for VS2005 tool chain.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15640
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Tue, 8 Jul 2014 06:04:53 +0000 (06:04 +0000)]
Refine the save action for the browser.
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@15639
6f19259b-4bc3-4df7-8a09-
765794883524
Long, Qin [Tue, 8 Jul 2014 03:03:24 +0000 (03:03 +0000)]
Update OpenSSL from 0.9.8w to the latest 0.9.8za.
Main changes include:
1. Update the patch file for 0.9.8za;
2. Update the install scripts to align the path for 0.9.8za;
3. OpensslLib.inf : Update the OPENSSL_PATH for 0.9.8za; enable more OPENSLL FLAGS to disable those un-used algorithms for better build performance and size;
4. Update the HOWTO file to align new OpenSSL version.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Long, Qin <qin.long@intel.com>
Reviewed-by: Ye, Ting <ting.ye@intel.com>
Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15638
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Tue, 8 Jul 2014 01:42:46 +0000 (01:42 +0000)]
MdeModulePkg XhciPei: Fix build failure "conversion from 'UINT32' to 'UINT8', possible loss of data".
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15637
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 7 Jul 2014 06:30:33 +0000 (06:30 +0000)]
Refine code to follow good coding style.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15636
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 7 Jul 2014 05:59:53 +0000 (05:59 +0000)]
MdeModulePkg XhciPei: Initialize ScratchPhy and ScratchEntryPhy in XhcPeiInitSched().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15635
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 7 Jul 2014 05:58:25 +0000 (05:58 +0000)]
MdeModulePkg XhciDxe: Initialize ScratchPhy and ScratchEntryPhy in XhcInitSched().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15634
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 7 Jul 2014 05:56:26 +0000 (05:56 +0000)]
Restore the question value before call the CHANGED callback type.
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@15633
6f19259b-4bc3-4df7-8a09-
765794883524
Jordan Justen [Fri, 4 Jul 2014 20:50:41 +0000 (20:50 +0000)]
EmulatorPkg: Add structure braces { } to fix build warning
The GCC parameter -Wno-missing-braces was recently removed. This
caused build warnings where structures were instantiated without
proper brace usage.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15632
6f19259b-4bc3-4df7-8a09-
765794883524
Jordan Justen [Fri, 4 Jul 2014 20:50:24 +0000 (20:50 +0000)]
EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c: Convert to CRLF (dos text)
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@15631
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 14:47:11 +0000 (14:47 +0000)]
EmbeddedPkg/Lan9118Dxe: Handle EFI_STATUS from PhySoftReset() & SoftReset()
- Make the function PhySoftReset() return EFI_STATUS
- EFI_STATUS was treated as a signed integer by the caller which is not correct.
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@15630
6f19259b-4bc3-4df7-8a09-
765794883524
Ronald Cron [Fri, 4 Jul 2014 14:46:21 +0000 (14:46 +0000)]
ArmPlatformPkg/Bds: Added boot timeout setting
Added boot timeout setting in UEFI boot manager menu
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@15629
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 14:41:30 +0000 (14:41 +0000)]
ArmPkg/ArmGic: Returned the InterruptId in ArmGicAcknowledgeInterrupt()
The InterruptId has a different width for GicV2 and GicV3 (respectively
10bit and 24bit).
The function prototype has been changed to return this value to make the
caller GIC architecture version independent. Otherwise, we would have need
to expose a different mask to allow the caller to retrieve this value from
the read register.
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@15628
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 14:38:14 +0000 (14:38 +0000)]
ArmPkg/ArmGic: Introduced support for GicV2 to ArmGicDxe
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@15627
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 14:36:42 +0000 (14:36 +0000)]
ArmPkg/ArmGic: Introduced support for GicV2 to ArmGicLib
The support for GIcV2 was already existing. This change separate the GicV2
specific functions from the common Gic code (in preparation for GicV3 support).
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@15626
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:27:28 +0000 (11:27 +0000)]
ArmPkg/ArmGic: Moved ArmGicDisableDistributor() to ArmGicLib.c
The implementation is the same when we run in Secure or Non-Secure world.
This change makes this function available for ArmGicSec.inf and ArmGicNonSec.inf.
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@15625
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:26:33 +0000 (11:26 +0000)]
ArmPkg/ArmGic: Move RegisterInterruptSource() to the common GicDxe file
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@15624
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:25:29 +0000 (11:25 +0000)]
ArmPkg/ArmGic: Move the installation and the registration to InstallAndRegisterInterruptService()
It will allow reusing the same code for GICv2 and GICv3 only drivers.
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@15623
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:20:45 +0000 (11:20 +0000)]
ArmPkg/ArmGic: Make the GicDxe driver depends on ArmGicLib (cont)
... and also rename the ArmGicLib sources to use an explicit 'Lib' suffix.
The renaming did not work well with SVN. Files were missing from the initial commit.
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@15622
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:16:48 +0000 (11:16 +0000)]
ArmPkg/ArmGic: Introduced helper functions to access the GIC controller
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@15621
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:14:20 +0000 (11:14 +0000)]
ArmPkg/ArmGic: Make the GicDxe driver depends on ArmGicLib
... and also rename the ArmGicLib sources to use an explicit 'Lib' suffix.
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@15620
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:13:27 +0000 (11:13 +0000)]
ArmPkg/ArmGic: Move out the EndOfInterrupt from the interrupt acknowledgement
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@15619
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 4 Jul 2014 11:11:53 +0000 (11:11 +0000)]
ArmPkg/Drivers/ArmGic: Introduced ArmGicEndOfInterrupt()
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@15618
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Fri, 4 Jul 2014 03:30:46 +0000 (03:30 +0000)]
MdeModulePkg XhciDxe: XHCI multiple interface alternate setting support.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15617
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 4 Jul 2014 01:58:48 +0000 (01:58 +0000)]
Refine the save action for the BdsDxe.
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@15616
6f19259b-4bc3-4df7-8a09-
765794883524
Paulo Alcantara [Thu, 3 Jul 2014 20:05:22 +0000 (20:05 +0000)]
EmulatorPkg/EmuSimpleFileSystemDxe: Fix incorrect return values upon allocation failure
In EmuSimpleFileSystemOpenVolume() function - in case an allocation failed
with AllocatePool() - EFI_UNSUPPORTED was being returned instead of
EFI_OUT_OF_RESOURCES, which is incorrect.
Even worse, in EmuSimpleFileSystemDriverBindingStart(), an unitiliasied
variable (Status) will be returned in case of an allocation failure with
AllocateZeroPool().
This patch fixes both issues by correctly returning EFI_OUT_OF_RESOURCES.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15615
6f19259b-4bc3-4df7-8a09-
765794883524
Paulo Alcantara [Thu, 3 Jul 2014 20:05:14 +0000 (20:05 +0000)]
EmulatorPkg/EmuSimpleFileSystemDxe: Fix minor typos
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15614
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Wed, 2 Jul 2014 09:02:35 +0000 (09:02 +0000)]
SecurityPkg HashLibBaseCryptoRouterDxe/Tpm2DeviceLibRouterPei: Fixed GCC build failure after -Wno-missing-braces option in GCC removed.
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@15613
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 2 Jul 2014 05:54:41 +0000 (05:54 +0000)]
Correct the default value for date opcode.
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@15612
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Wed, 2 Jul 2014 03:20:49 +0000 (03:20 +0000)]
MdeModulePkg XhciPei/UsbBusPei: Add XHCI recovery support.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15611
6f19259b-4bc3-4df7-8a09-
765794883524
Star Zeng [Wed, 2 Jul 2014 02:29:02 +0000 (02:29 +0000)]
MdeModulePkg SmmLockBoxSmmLib: Add debug message for the address of lockbox(smm) copy.
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@15610
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 1 Jul 2014 09:27:19 +0000 (09:27 +0000)]
ArmPkg/BdsLib: Prevent memory leak whith TFTP
In some case, the size of the downloaded TFTP image cannot be known.
An arbitrary larger buffer is allocated to receive the image.
We need to make sure when we free the buffer we free the size
of the allocated buffer and not the size of the actual image.
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@15609
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 1 Jul 2014 09:26:28 +0000 (09:26 +0000)]
ArmPkg/ArmCacheMaintenanceLib: Fixed comment (and coding style)
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@15608
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 1 Jul 2014 09:25:30 +0000 (09:25 +0000)]
EmbeddedPkg/SerialDxe: Fixed the mixture of RETURN_STATUS and EFI_STATUS
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@15607
6f19259b-4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 1 Jul 2014 09:24:07 +0000 (09:24 +0000)]
ArmPkg/CpuDxe/ArmV6: Return error status when ExceptionHandlersStart is not 32-byte aligned
The function should detect and return the error in non-debug builds when the ASSERT does nothing.
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@15606
6f19259b-4bc3-4df7-8a09-
765794883524
Gao, Liming [Tue, 1 Jul 2014 07:10:10 +0000 (07:10 +0000)]
Sync BaseTool trunk (version r2670) into EDKII BaseTools.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gao, Liming <liming.gao@intel.com>
Reviewed-by: Liu, Yingke D (yingke.d.liu@intel.com)
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15605
6f19259b-4bc3-4df7-8a09-
765794883524
Tapan Shah [Mon, 30 Jun 2014 20:14:24 +0000 (20:14 +0000)]
ShellPkg: Fix Ctrl+C support for dmpstore command.
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@15604
6f19259b-4bc3-4df7-8a09-
765794883524
Fu, Siyuan [Mon, 30 Jun 2014 07:48:23 +0000 (07:48 +0000)]
Fix a bug in IP4 driver when computing the network broadcast adress.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-By: Ye, Ting <ting.ye@intel.com>
Reviewed-by: Wu, Jiaxin <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15603
6f19259b-4bc3-4df7-8a09-
765794883524
Jeff Fan [Mon, 30 Jun 2014 06:13:53 +0000 (06:13 +0000)]
Fix the potential address overflow issue when checking PE signature.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15602
6f19259b-4bc3-4df7-8a09-
765794883524
Gao, Liming [Fri, 27 Jun 2014 19:15:35 +0000 (19:15 +0000)]
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Fix GCC44 build failure.
Initialize the input parameter FwhInstance in function GetFvbInstance().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Gao, Liming" <liming.gao@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15601
6f19259b-4bc3-4df7-8a09-
765794883524
Tapan Shah [Fri, 27 Jun 2014 08:50:27 +0000 (08:50 +0000)]
MdeModulePkg/PiSmmCore: Initialize missing LoadedImage protocol fields for SMM driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15600
6f19259b-4bc3-4df7-8a09-
765794883524
Chen Fan [Fri, 27 Jun 2014 07:30:21 +0000 (07:30 +0000)]
EmulatorPkg/CpuRuntimeDxe: Fix typos in MpService
mMpSercicesTemplate => mMpServicesTemplate
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15599
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 26 Jun 2014 03:24:25 +0000 (03:24 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15598
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 26 Jun 2014 03:18:44 +0000 (03:18 +0000)]
Refine code to make it more safely.
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@15597
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 26 Jun 2014 03:17:59 +0000 (03:17 +0000)]
Refine code to make it more safely.
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@15596
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 26 Jun 2014 03:16:27 +0000 (03:16 +0000)]
Refine code to make it more safely.
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@15595
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 26 Jun 2014 01:39:25 +0000 (01:39 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15594
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 26 Jun 2014 01:38:46 +0000 (01:38 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15593
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 25 Jun 2014 06:51:36 +0000 (06:51 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15592
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 25 Jun 2014 06:49:53 +0000 (06:49 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15591
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 25 Jun 2014 06:00:49 +0000 (06:00 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15590
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 25 Jun 2014 05:44:37 +0000 (05:44 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15589
6f19259b-4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 25 Jun 2014 05:16:52 +0000 (05:16 +0000)]
Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15588
6f19259b-4bc3-4df7-8a09-
765794883524
Andrew Fish [Wed, 25 Jun 2014 04:54:47 +0000 (04:54 +0000)]
MdeModulePkg/DxeMain: Zero ImageContext local variable before passing it down to PeCoffLoaderRelocateImageExtraAction()
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Andrew Fish <afish@apple.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15587
6f19259b-4bc3-4df7-8a09-
765794883524