]>
git.proxmox.com Git - mirror_edk2.git/log
Guo Dong [Wed, 20 May 2015 08:21:18 +0000 (08:21 +0000)]
CorebootModulePkg/CbParseLib: Support current Coreboot IMD
The latest coreboot use IMD (In Memory Database) to report Tables. This patch adds IMD support in UEFI payload.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17484
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Wed, 20 May 2015 07:41:01 +0000 (07:41 +0000)]
MdeModulePkg: Add assertion to make code easier for read.
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@17483
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Wed, 20 May 2015 06:32:39 +0000 (06:32 +0000)]
MdeModulePkg/UfsBlockIoPei: Add RecoveryBlockIo2Ppi support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17482
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Wed, 20 May 2015 06:32:03 +0000 (06:32 +0000)]
MdeModulePkg/CdExpressPei: Add RecoveryBlockIo2Ppi support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17481
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Wed, 20 May 2015 06:31:28 +0000 (06:31 +0000)]
MdeModulePkg/UsbBotPei: Add RecoveryBlockIo2Ppi support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17480
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Wed, 20 May 2015 06:30:48 +0000 (06:30 +0000)]
MdeModulePkg/IdeBusPei: Add RecoveryBlockIo2 support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17479
6f19259b -4bc3-4df7-8a09-
765794883524
jiaxinwu [Wed, 20 May 2015 06:24:23 +0000 (06:24 +0000)]
NetworkPkg/UefiPxeBcDxe: Fix code style in INF file.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jiaxinwu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17478
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Wed, 20 May 2015 06:20:00 +0000 (06:20 +0000)]
MdePkg: Add RecoveryBlockIo2Ppi definition to follow PI1.4 spec
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17477
6f19259b -4bc3-4df7-8a09-
765794883524
Hao Wu [Wed, 20 May 2015 05:21:19 +0000 (05:21 +0000)]
MdePkg: Add WiFi device path definition and its node/text conversion
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17476
6f19259b -4bc3-4df7-8a09-
765794883524
Hao Wu [Wed, 20 May 2015 05:20:15 +0000 (05:20 +0000)]
MdePkg: Add EFI Wireless MAC Connection Protocol definitions
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17475
6f19259b -4bc3-4df7-8a09-
765794883524
Chao Zhang [Wed, 20 May 2015 02:19:17 +0000 (02:19 +0000)]
MdeModulePkg: Update coding style
Update to follow Tiano Coding style. Fix potential NULL memory copy
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17474
6f19259b -4bc3-4df7-8a09-
765794883524
Chao Zhang [Wed, 20 May 2015 02:13:42 +0000 (02:13 +0000)]
MdePkg: Update coding style
Update to follow Tiano Coding style.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17473
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Tue, 19 May 2015 09:26:25 +0000 (09:26 +0000)]
MdeModulePkg: Fix potential buffer overflow issues.
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@17472
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Tue, 19 May 2015 09:22:59 +0000 (09:22 +0000)]
MdeModulePkg: Enumerate all string packages in one driver when search the keyword.
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@17471
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Tue, 19 May 2015 07:22:14 +0000 (07:22 +0000)]
MdeModulePkg: Update the short name for persistent memory type.
This change will make DEBUG information be aligned with DEBUG_GCD enabled.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17470
6f19259b -4bc3-4df7-8a09-
765794883524
Yao, Jiewen [Tue, 19 May 2015 03:16:09 +0000 (03:16 +0000)]
Add comments for INF file to declare guid/protocol usage.
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@17469
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Tue, 19 May 2015 01:33:25 +0000 (01:33 +0000)]
SecurityPkg Variable: Prevent BS variable update in legacy OS runtime.
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@17468
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Tue, 19 May 2015 01:32:52 +0000 (01:32 +0000)]
MdeModulePkg Variable: Prevent BS variable update in legacy OS runtime.
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@17467
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 18 May 2015 05:30:35 +0000 (05:30 +0000)]
MdeModulePkg: Fix comments typo in UefiBootManagerLib.h
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@17466
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 18 May 2015 05:30:01 +0000 (05:30 +0000)]
Nt32Pkg: Use different FILE_GUID.
Use different FILE_GUID other than the one used by PlatformBootManagerLibNull.
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@17465
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 18 May 2015 05:29:01 +0000 (05:29 +0000)]
SourceLevelDebugPkg: Fix Serial Port connection cannot be setup
The root cause is SerialPortDebugCommunicationLib returns NULL debug port handle causing the CompressData() doesn't send the compressed data.
The fix doesn't rely on the debug port handle value and uses Send parameter to indicate whether to send the compressed data.
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@17464
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 18 May 2015 01:46:40 +0000 (01:46 +0000)]
MdeModulePkg PiSmmCoreMemoryAllocationLib: Get SMRAM ranges
from FullSmramRanges and FullSmramRangeCount in SmmCorePrivate by Constructor.
It can avoid potential first call to FreePool() -> BufferInSmram() ->
if (mSmramRanges == NULL) { GetSmramRanges();} ->
gBS->LocateProtocol() at boottime with >= TPL_NOTIFY or
after ReadyToLock or at OS runtime.
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@17463
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 18 May 2015 01:30:04 +0000 (01:30 +0000)]
MdeModulePkg: Update memory profile for OEM reserved memory type.
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@17462
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 18 May 2015 01:29:00 +0000 (01:29 +0000)]
MdeModulePkg PiSmmCore: Care runtime code/data only for SMRAM profile.
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@17461
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 18 May 2015 01:28:24 +0000 (01:28 +0000)]
MdeModulePkg DxeCore: Add OEM reserved memory type support.
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@17460
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 18 May 2015 01:27:25 +0000 (01:27 +0000)]
MdePkg UefiSpec.h: Update comments for OEM reserved memory type.
UEFI 2.5 Spec:
MemoryType values in the range 0x70000000..0x7FFFFFFF
are reserved for OEM use.
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@17459
6f19259b -4bc3-4df7-8a09-
765794883524
Jeff Fan [Mon, 18 May 2015 01:21:30 +0000 (01:21 +0000)]
SourceLevelDebugPkg/DebugAgentDxe: Move help info from DxeDebugAgent
Now DxeDebugAgent Library instance will print help information on how to load
DebugAgentDxe.efi in UEFI shell. But it is printed after Target connected to
Host side. This fix is to move help info print to DebugAgentDxe module before
Target tries to connect HOST. It could help developer to get useful information
as early as possible.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-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@17458
6f19259b -4bc3-4df7-8a09-
765794883524
Jeff Fan [Mon, 18 May 2015 01:18:42 +0000 (01:18 +0000)]
SourceLevelDebugPkg/DxeDebugAgent: Initialize Local APIC Timer early
Now Debug Agent library uses Local APIC Timer to implement time-out mechanism.
But it does not initialize Local APIC Timer before transfer data with HOST.
This fix is to move Local APIC Timer initialization to
SetupDebugAgentEnvironment().
This fix also updates function header and fixed one typo of
SetupDebugAgentEnvironment() name.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-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@17457
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 15 May 2015 08:48:13 +0000 (08:48 +0000)]
MdeModulePkg: Add UNI file for PlatformBootManagerLibNull library.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17456
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 15 May 2015 08:47:31 +0000 (08:47 +0000)]
MdeModulePkg: Add UNI file for UefiBootManagerLib library.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17455
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 15 May 2015 08:47:03 +0000 (08:47 +0000)]
MdeModulePkg: Add UNI files for BootManagerMenuApp application.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17454
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 15 May 2015 08:46:34 +0000 (08:46 +0000)]
MdeModulePkg: Add UNI files for DriverHealthManagerDxe driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17453
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 15 May 2015 08:46:06 +0000 (08:46 +0000)]
MdeModulePkg: Add UNI files for BootManagerPolicyDxe driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17452
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 15 May 2015 08:45:35 +0000 (08:45 +0000)]
MdeModulePkg: Add UNI file for BdsDxe driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17451
6f19259b -4bc3-4df7-8a09-
765794883524
Hao Wu [Fri, 15 May 2015 00:40:29 +0000 (00:40 +0000)]
MdePkg: Fix PI Multi-processor PPI header file include issue
Multi-processor PPI header file 'Ppi/Mpservices.h' uses a function
prototype EFI_AP_PROCEDURE which is defined in 'Pi/PiDxeCis.h' (DXE header
file).
This will cause a build fail when 'Ppi/Mpservices.h' is included in a PEI
module.
Since both phase support multi-processor service now, function prototype
EFI_AP_PROCEDURE should be moved to 'Pi/PiMultiPhase.h'. The move is a
compatible change and will not affect other codes.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17450
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Thu, 14 May 2015 23:35:01 +0000 (23:35 +0000)]
MdeModulePkg: Fix Typo.
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@17449
6f19259b -4bc3-4df7-8a09-
765794883524
Ard Biesheuvel [Thu, 14 May 2015 23:33:28 +0000 (23:33 +0000)]
MdeModulePkg: remove unused variable DevicePathSize
Remove the unused DevicePathSize variable from EnumerateAllKeywords().
Due to our use of -Werror=unused-but-set-variable when building under GCC, the presence of DevicePathSize is breaking the build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17448
6f19259b -4bc3-4df7-8a09-
765794883524
Samer El-Haj-Mahmoud [Thu, 14 May 2015 16:50:40 +0000 (16:50 +0000)]
ShellPkg: Add DiskInfo GUID matching to the She
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17447
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Thu, 14 May 2015 05:03:55 +0000 (05:03 +0000)]
SecurityPkg: Add more comments for PcdTpmInstanceGuid
When PcdTpmInstanceGuid is configured to other value,
it means other TPM 2.0 device.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17446
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Thu, 14 May 2015 02:46:11 +0000 (02:46 +0000)]
MdeModulePkg: ConfigKeywordHandler: fix pointer target signedness.
SVN r17428 ("MdeModulePkg: Implement UEFI25 HII Config keyword handler protocol") introduced code that triggers
-Werror=pointer-sign
under gcc ("warn for pointer argument passing or assignment with different signedness"). This patch fix up those locations.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17445
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Thu, 14 May 2015 02:09:59 +0000 (02:09 +0000)]
MdeModulePkg: Fix build failure in UefiBootManagerLib
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@17444
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 13 May 2015 18:25:47 +0000 (18:25 +0000)]
ArmPlaformPkg: Replaced gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut
... since gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut has recently
been introduced.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17443
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 13 May 2015 18:24:45 +0000 (18:24 +0000)]
ArmPlatformPkg/ArmRealViewEb: Added FvSimpleFileSystemDxe
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17442
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 13 May 2015 18:23:26 +0000 (18:23 +0000)]
EmbeddedPkg/FdtPlatformDxe: Do not exit if RunFdtInstallation() fails
If the device trees are not present when loading FdtPLatformDxe
driver then we should prevent to install the EFI Shell FDT commands.
The EFI Shell commands could be used later to install the missing
device tree.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17441
6f19259b -4bc3-4df7-8a09-
765794883524
Heyi Guo [Wed, 13 May 2015 18:21:58 +0000 (18:21 +0000)]
ArmPkg: fix ArmWriteCntkCtl simple code bug
We need to use msr instruction to write system register. It seems the
code was simply copied from ArmReadCntkCtl.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17440
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 13 May 2015 18:20:58 +0000 (18:20 +0000)]
ArmPlatformPkg/Bds: Clarify assert message with debug information
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17439
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 13 May 2015 18:19:51 +0000 (18:19 +0000)]
ArmPkg/BdsLib: Fixed line ending
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17438
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Wed, 13 May 2015 09:31:58 +0000 (09:31 +0000)]
OvmfPkg: AcpiS3SaveDxe: fix protocol usage hint in the INF file
SVN r15305 (git
5a217a06 ), "OvmfPkg: S3 Suspend: save boot script after
ACPI context", made this driver install gEfiDxeSmmReadyToLockProtocolGuid
in SaveS3BootScript() -- for valid reasons --, however in the INF file the
protocol was marked as "ALWAYS_CONSUMED". Fix it.
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@17437
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Wed, 13 May 2015 09:31:53 +0000 (09:31 +0000)]
OvmfPkg: extract some bits and port offsets common to Q35 and I440FX
The PMBA_RTE and ACPI_TIMER_OFFSET macros apply equally to both boards,
plus they are triplicated between the various AcpiTimerLib instances.
Define them centrally in "OvmfPlatforms.h".
Cc: Gabriel Somlo <somlo@cmu.edu>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17436
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Wed, 13 May 2015 09:31:49 +0000 (09:31 +0000)]
OvmfPkg: consolidate POWER_MGMT_REGISTER_PIIX4() on "I440FxPiix4.h" macros
All POWER_MGMT_REGISTER_PIIX4() macro invocations in OvmfPkg should use
the macros in "I440FxPiix4.h" as arguments.
Cc: Gabriel Somlo <somlo@cmu.edu>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17435
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Wed, 13 May 2015 09:31:44 +0000 (09:31 +0000)]
OvmfPkg: consolidate POWER_MGMT_REGISTER_Q35() on "Q35MchIch9.h" macros
All POWER_MGMT_REGISTER_Q35() macro invocations in OvmfPkg should use the
macros in "Q35MchIch9.h" as arguments.
Cc: Gabriel Somlo <somlo@cmu.edu>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17434
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Wed, 13 May 2015 09:31:39 +0000 (09:31 +0000)]
OvmfPkg: new macros for platform specific register addresses and values
Define some new macros for register addresses (both PCI and IO) and
register values (bits) that we're going to use soon.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17433
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Wed, 13 May 2015 09:31:10 +0000 (09:31 +0000)]
OvmfPkg: split Include/OvmfPlatforms.h
Move platform specific macros to their own include files.
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@17432
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 13 May 2015 08:45:21 +0000 (08:45 +0000)]
MdeModulePkg: Add sample code for keyword handler protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17431
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 13 May 2015 08:36:49 +0000 (08:36 +0000)]
MdeModulePkg: Avoid update keyword string package.
When add new string, only update normal string package, avoid update keyword string package.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17430
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Wed, 13 May 2015 08:35:55 +0000 (08:35 +0000)]
MdePkg: Fix EOL to be DOS format.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17429
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 13 May 2015 08:35:29 +0000 (08:35 +0000)]
MdeModulePkg: Implement UEFI25 HII Config keyword handler protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17428
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 13 May 2015 08:33:20 +0000 (08:33 +0000)]
MdePkg: Add definition for UEFI25 HII Config keyword handler protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17427
6f19259b -4bc3-4df7-8a09-
765794883524
Chao Zhang [Wed, 13 May 2015 08:30:45 +0000 (08:30 +0000)]
MdeModulePkg: Add ESRT management module.
It provides a repository to cache ESRT info for FMP or Non-FMP instance.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17426
6f19259b -4bc3-4df7-8a09-
765794883524
Chao Zhang [Wed, 13 May 2015 08:29:06 +0000 (08:29 +0000)]
MdeModulePkg: Add ESRT management protocol definition
Add ESRT management protocol definition into MdeModulePkg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17425
6f19259b -4bc3-4df7-8a09-
765794883524
Chao Zhang [Wed, 13 May 2015 08:27:04 +0000 (08:27 +0000)]
MdePkg: Add Microsoft UX capsule GUID & layout
Add Microsoft UX capsule GUID & layout into IndustryStandard
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17424
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Wed, 13 May 2015 06:30:44 +0000 (06:30 +0000)]
MdePkg: Fix CRLF format.
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@17423
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Wed, 13 May 2015 03:19:59 +0000 (03:19 +0000)]
MdePkg Ppi/Reset2.h: Fix CRLF format.
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@17422
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Wed, 13 May 2015 02:23:44 +0000 (02:23 +0000)]
MdeModulePkg: Fix EOL to be DOS format.
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@17421
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 12 May 2015 10:42:46 +0000 (10:42 +0000)]
ArmPlatformPkg/ArmJunoDxe: Fix build
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17420
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Tue, 12 May 2015 09:49:28 +0000 (09:49 +0000)]
MdeModulePkg: Fix a typo to resolve legacy boot failure.
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@17419
6f19259b -4bc3-4df7-8a09-
765794883524
Shifei Lu [Tue, 12 May 2015 01:54:00 +0000 (01:54 +0000)]
Fixed SOURCE_DEBUG_ENABLE build error.
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@17418
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Tue, 12 May 2015 01:48:34 +0000 (01:48 +0000)]
MdeModulePkg: SmmIplEntry(): don't suppress SMM core startup failure
When the ExecuteSmmCoreFromSmram() function fails, SmmIplEntry()
restores the SMRAM range to EFI_MEMORY_UC. However, it saves the
return value of gDS->SetMemorySpaceAttributes() in the same Status
variable that gDS->contains the return value of ExecuteSmmCoreFromSmram().
Therefore, if gDS->SetMemorySpaceAttributes() succeeds, the failure
of ExecuteSmmCoreFromSmram() is masked, and Bad Things Happen (TM).
Introduce a temporary variable just for the return value of
gDS->SetMemorySpaceAttributes().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17417
6f19259b -4bc3-4df7-8a09-
765794883524
Bob Feng [Tue, 12 May 2015 00:58:20 +0000 (00:58 +0000)]
BaseTools/Build: The PCD value in uninitialized data range should be natural aligned.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Bob Feng" <bob.c.feng@intel.com>
Reviewed-by: "Liu, Yingke D" <yingke.d.liu@intel.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17416
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 11 May 2015 17:53:20 +0000 (17:53 +0000)]
ArmPlatformPkg/ArmJunoPkg: Only enable PCI support on Juno R1
PCI support is only present on Juno R1.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17415
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 11 May 2015 17:52:03 +0000 (17:52 +0000)]
ArmPlatformPkg/ArmJunoPkg: Enable PCI and SATA support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17414
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 11 May 2015 17:50:27 +0000 (17:50 +0000)]
EmbeddedPkg: Added SATA Silicon Image driver
Note: This is the same SATA controller present on Juno R1.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17413
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 11 May 2015 17:48:39 +0000 (17:48 +0000)]
ArmPlatformPkg/ArmJunoPkg: Added PCI support
Added driver for the Juno R1 root complex.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17412
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 11 May 2015 17:39:56 +0000 (17:39 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Fixed line endings to be CRLF
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17411
6f19259b -4bc3-4df7-8a09-
765794883524
Ard Biesheuvel [Mon, 11 May 2015 17:37:24 +0000 (17:37 +0000)]
ArmPkg: update BdsLib to updated definition of EFI_LOAD_OPTION
Since there is now a formal definition of EFI_LOAD_OPTION, we can no
longer typedef it as a UINT8*. So update the code to use the common
definition, which is not a pointer type, hence the additional changes
to the C code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17410
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 11 May 2015 17:36:09 +0000 (17:36 +0000)]
ArmPlatformPkg/ArmVExpressDxe: Fixed build after changing ARM_VEXPRESS_PLATFORM struct
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17409
6f19259b -4bc3-4df7-8a09-
765794883524
Maurice Ma [Mon, 11 May 2015 15:52:31 +0000 (15:52 +0000)]
CorebootPayloadPkg: Replace PciHostBridge driver with PciRootBridgeNoEnumeration
Current CorebootPayloadPkg uses PciHostBridge and PciBusNoEnumeration
driver. It will cause the PCI bus resource incorrectly set in root
bridge instance. As a result all PCI devices behind a PCI bridge will
not show up in Shell 'PCI' command.
To resolve it use PciRootBridgeNoEnumeration driver instead.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17408
6f19259b -4bc3-4df7-8a09-
765794883524
Ard Biesheuvel [Mon, 11 May 2015 06:37:03 +0000 (06:37 +0000)]
SecurityPkg: Update SecureBootConfigDxe to support ARM image
Update SecureBootConfigDxe component to allow the enrollment of
the digests of EFI executable that are built for ARM or AARCH64.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17406
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 06:34:53 +0000 (06:34 +0000)]
MdeModulePkg: Add BootManagerPolicyDxe to produce BootManagerPolicy protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17405
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 06:34:18 +0000 (06:34 +0000)]
MdePkg: Add BootManagerPolicy protocol definition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17404
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 06:33:45 +0000 (06:33 +0000)]
MdeModulePkg: Process Sys Prep load options in BdsDxe driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17403
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 06:32:51 +0000 (06:32 +0000)]
MdePkg: Add Sys Prep string definition and macro definition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17402
6f19259b -4bc3-4df7-8a09-
765794883524
Chao Zhang [Mon, 11 May 2015 05:49:31 +0000 (05:49 +0000)]
SecurityPkg Variable: Make PK & SecureBootMode consistent
PK can be cleared in runtime. However SecureBootMode variable is not updated accordingly. Add code in variable init to make them consistent.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17401
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 05:16:48 +0000 (05:16 +0000)]
MdeModulePkg DxeCore: Add memory more reliable support.
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@17400
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 05:16:02 +0000 (05:16 +0000)]
MdePkg: Add memory more reliable definitions.
PiHob.h: EFI_RESOURCE_ATTRIBUTE_MORE_RELIABLE resource attribute.
PiDxeCis: EfiGcdMemoryTypeMoreReliable GCD memory type.
UefiSpec.h: EFI_MEMORY_MORE_RELIABLE memory attribute.
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@17399
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 04:51:38 +0000 (04:51 +0000)]
MdeModulePkg: Fix SortLib library class name typo.
BaseSortLib is the library instance name not the class name.
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@17398
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 03:33:44 +0000 (03:33 +0000)]
MdeModulePkg DxeCore: Add read only memory support.
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@17397
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 03:32:48 +0000 (03:32 +0000)]
MdePkg: Add RO memory and resource HOB attribute definitions.
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@17396
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 03:12:51 +0000 (03:12 +0000)]
MdePkg: Update PeiMemoryAllocationLib to allocate EfiReservedMemoryType memory directly.
The old implementation was to allocate EfiBootServicesData memory first,
and then update the MemoryType of memory allocation hob to
EfiReservedMemoryType.
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@17395
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 03:12:21 +0000 (03:12 +0000)]
MdeModulePkg: Update implementation of PeiAllocatePages() to allow EfiReservedMemoryType.
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@17394
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 03:11:31 +0000 (03:11 +0000)]
MdePkg: Update comments of EFI_PEI_ALLOCATE_PAGES to allow EfiReservedMemoryType.
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@17393
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 03:06:53 +0000 (03:06 +0000)]
Nt32Pkg: Enable new BDS in NT32 platform.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17392
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 03:06:24 +0000 (03:06 +0000)]
Nt32Pkg: Add PlatformBootManagerLib to Nt32 platform.
This library will co-work with UefiBootManagerLib and BdsDxe driver in MdeModulePkg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17391
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 11 May 2015 02:24:30 +0000 (02:24 +0000)]
MdePkg: Add EFI_LOAD_OPTION definition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Felix Poludov <Felixp@ami.com>
Reviewed-by: Kinney Michael <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17390
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 02:06:51 +0000 (02:06 +0000)]
MdeModulePkg: Add Reset2 ppi support in PEI CORE.
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@17389
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 02:05:52 +0000 (02:05 +0000)]
MdePkg: Add Reset2 ppi definition.
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@17388
6f19259b -4bc3-4df7-8a09-
765794883524
Qiu Shumin [Mon, 11 May 2015 01:44:35 +0000 (01:44 +0000)]
ShellPkg: Fix buffer overflow issue in 'map' command.
This patch replace 'StrnCat' with 'StrnCatS' to avoid the buffer overflow in 'map.c'.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17387
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 11 May 2015 01:35:29 +0000 (01:35 +0000)]
MdePkg: Move gEfiSmbios3TableGuid to UEFI2.5 section in MdePkg.dec.
Also enhance the comments in MdePkg/Include/Guid/Smbios.h.
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@17386
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Fri, 8 May 2015 18:12:44 +0000 (18:12 +0000)]
OvmfPkg: QemuBootOrderLib: parse OFW device path nodes of PCI bridges
When the Q35 machine type(s) of QEMU are used with libvirt, libvirt tends
to place some devices behind PCI bridges. This is then reflected in the
"bootorder" fw_cfg file. For example:
/pci@i0cf8/pci-bridge@1e/pci-bridge@1/scsi@5/disk@0,0
/pci@i0cf8/pci-bridge@1e/pci-bridge@1/scsi@3/channel@0/disk@0,0
As yet QemuBootOrderLib doesn't support such OFW device paths.
Add code that translates a sequence of pci-bridge nodes.
In practice libvirt seems to insert two such nodes (*), hence increment
EXAMINED_OFW_NODES with the same number.
(* Background, paraphrasing Laine Stump's words:
When the machine type is Q35, we create a dmi-to-pci bridge coming off of
the pcie root controller, and a pci-to-pci bridge coming off of that, then
attach most devices to the pci-to-pci bridge. This is done because you
can't hotplug into pcie-root, can't (or at least shouldn't) plug a
pci-to-pci bridge into pcie-root (so the next one has to be
dmi-to-pci-bridge), and can't hotplug into dmi-to-pci-bridge (so you need
to have a pci-to-pci bridge).)
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@17385
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Fri, 8 May 2015 14:19:04 +0000 (14:19 +0000)]
MdePkg: Update Usb2Hc Isochronous related functions' description
IsochronousTransfer/AsyncIsochronousTransfer() interface
descriptions get updated to follow UEFI2.5 spec.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17384
6f19259b -4bc3-4df7-8a09-
765794883524