]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
8 years agoFix typo - FSP_INFO_EXTENDED_HEADER.
Yao, Jiewen [Mon, 27 Apr 2015 13:27:30 +0000 (13:27 +0000)]
Fix typo - FSP_INFO_EXTENDED_HEADER.

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@17210 6f19259b-4bc3-4df7-8a09-765794883524

8 years agoMdeModulePkg/NvmExpressDxe: fix build error
Feng Tian [Mon, 27 Apr 2015 06:16:07 +0000 (06:16 +0000)]
MdeModulePkg/NvmExpressDxe: fix build error

Add missing parentheses due to typo.

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@17209 6f19259b-4bc3-4df7-8a09-765794883524

8 years agoMdeModulePkg/NvmExpressDxe: Correct Prp list creation algorithm.
Feng Tian [Mon, 27 Apr 2015 05:36:16 +0000 (05:36 +0000)]
MdeModulePkg/NvmExpressDxe: Correct Prp list creation algorithm.

The number of the Prp lists and the number of the entries in last Prp list may be calculated wrongly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Baban Devkate <baban.devkate@seagate.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17208 6f19259b-4bc3-4df7-8a09-765794883524

8 years agoMdeModulePkg: fix completed xfer length in XhciDxe and XhciPei drivers
Feng Tian [Mon, 27 Apr 2015 05:27:20 +0000 (05:27 +0000)]
MdeModulePkg: fix completed xfer length in XhciDxe and XhciPei drivers

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17207 6f19259b-4bc3-4df7-8a09-765794883524

8 years agoSourceLevelDebugPkg/DebugAgent: Add some comments and debug message
Jeff Fan [Mon, 27 Apr 2015 05:26:03 +0000 (05:26 +0000)]
SourceLevelDebugPkg/DebugAgent: Add some comments and debug message

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

8 years agoMdeModulePkg/XhciDxe: rename "Lenth" to "Length" in TRB structs
Feng Tian [Mon, 27 Apr 2015 05:25:03 +0000 (05:25 +0000)]
MdeModulePkg/XhciDxe: rename "Lenth" to "Length" in TRB structs

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17205 6f19259b-4bc3-4df7-8a09-765794883524

8 years agoSourceLevelDebugPkg/DebugAgent: Clear/Restore EFLAGS.IF
Jeff Fan [Mon, 27 Apr 2015 05:23:43 +0000 (05:23 +0000)]
SourceLevelDebugPkg/DebugAgent: Clear/Restore EFLAGS.IF

Clear EFLAGS.IF before executing Stepping command and save original
value in DEBUG_AGENT_FLAG. It could avoid pending interrupt issued
during executing Stepping command. Restore EFLAGS.IF after Stepping
command execution finished.

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

8 years agoSourceLevelDebugPkg/DebugAgent: Add InterruptFlag field
Jeff Fan [Mon, 27 Apr 2015 05:21:17 +0000 (05:21 +0000)]
SourceLevelDebugPkg/DebugAgent: Add InterruptFlag field

Add InterruptFlag field in DEBUG_AGENT_FLAG. This field is used to
save/restore EFLAGS.IF across Stepping command execution.

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

8 years agoSourceLevelDebugPkg/DebugCommunicationLibUsb3: Fix the completed transfer length
Feng Tian [Mon, 27 Apr 2015 05:18:42 +0000 (05:18 +0000)]
SourceLevelDebugPkg/DebugCommunicationLibUsb3: Fix the completed transfer length

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17202 6f19259b-4bc3-4df7-8a09-765794883524

8 years agoShellPkg: Refine the logic about allocating memory for variable name and data.
Qiu Shumin [Mon, 27 Apr 2015 03:09:34 +0000 (03:09 +0000)]
ShellPkg: Refine the logic about allocating memory for variable name and data.

The run time service 'QueryVariableInfo' is not proper to be used to get the variable name size. This patch refine the logic about allocating memory for variable name and data.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <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@17201 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix FSP_INFO_EXTENTED_HEADER.
Yao, Jiewen [Sat, 25 Apr 2015 12:15:44 +0000 (12:15 +0000)]
Fix FSP_INFO_EXTENTED_HEADER.

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

9 years agoShellPkg: Remove memory leak when printing help and there are dynamic commands installed
Jaben Carsey [Thu, 23 Apr 2015 20:28:36 +0000 (20:28 +0000)]
ShellPkg: Remove memory leak when printing help and there are dynamic commands installed

The list of handles needs to be freed.

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

9 years agoShellPkg/HandleParsingLib: Caller should free memory from 2 functions
Jaben Carsey [Thu, 23 Apr 2015 20:27:53 +0000 (20:27 +0000)]
ShellPkg/HandleParsingLib: Caller should free memory from 2 functions

Add a comment for GetHandleListByProtocol and GetHandleListByProtocolList to tell the caller they are responsible for freeing the returned memory.

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

9 years agoIntelFspWrapperPkg update for FSP1.1
Yao, Jiewen [Thu, 23 Apr 2015 08:53:39 +0000 (08:53 +0000)]
IntelFspWrapperPkg update for FSP1.1

-- Add BootLoaderTolumSize support
-- Fix LibraryClasses declaration in DEC file.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com>
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com>
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17197 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate IntelFspPkg to support FSP1.1
Yao, Jiewen [Thu, 23 Apr 2015 08:52:21 +0000 (08:52 +0000)]
Update IntelFspPkg to support FSP1.1

-- Add BootLoaderTolumSize support
-- Extend FspApiCallingCheck with ApiParam for BootLoaderTolumSize
-- Rename all Bootloader to BootLoader as official name
-- Rename Ucode to Microcode
-- Remove FspSelfCheck API, because it is merged into SecPlatformInit
-- Add GetFspVpdDataPointer() in FspCommonLib.h
-- Document FspSecPlatformLib.h
-- Reorg FSP_PLAT_DATA data structure to let it match FSP spec.
-- Move helper function in FspSecCore to reduce platform enabling effort
-- Fix LibraryClasses declaration in DEC file.
-- Enhance PatchFv to check if it is valid FSP bin.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com>
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com>
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17196 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/ScsiDisk: Set correct value to the Media->IoAlign field of BlockIo proto...
Feng Tian [Thu, 23 Apr 2015 01:42:57 +0000 (01:42 +0000)]
MdeModulePkg/ScsiDisk: Set correct value to the Media->IoAlign field of BlockIo protocol instance.

Media->IoAlign field of BlockIo protocol instance installed by this driver should be set to the value of ScsiIo->IoAlign.

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@17195 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Remove "ProtocolGuid" from the string for protocol names
Jaben Carsey [Wed, 22 Apr 2015 19:53:43 +0000 (19:53 +0000)]
ShellPkg: Remove "ProtocolGuid" from the string for protocol names

Some protocols still had this at the end of protocol name.  remove to standardize.

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

9 years agoMaintainers.txt: update SecurityPkg maintainer
Hot Tian [Tue, 21 Apr 2015 07:58:45 +0000 (07:58 +0000)]
Maintainers.txt: update SecurityPkg maintainer

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

9 years agoACPI5.1 definition bug fix.
Yao, Jiewen [Tue, 21 Apr 2015 03:45:01 +0000 (03:45 +0000)]
ACPI5.1 definition bug fix.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <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@17192 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd ACPI6.0 header file.
Yao, Jiewen [Tue, 21 Apr 2015 03:44:17 +0000 (03:44 +0000)]
Add ACPI6.0 header file.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <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@17191 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSourceLevelDebugPkg: Clear Stepping flag as early as possible
Jeff Fan [Tue, 21 Apr 2015 03:14:29 +0000 (03:14 +0000)]
SourceLevelDebugPkg: Clear Stepping flag as early as possible

It will avoid that exception issued by Debug Agent itself was skipped.

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@17190 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the logic for action opcode, also support user input a empty string for Questi...
Eric Dong [Mon, 20 Apr 2015 04:26:39 +0000 (04:26 +0000)]
Update the logic for action opcode, also support user input a empty string for QuestionConfig 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@17189 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the logic: After check the environment, calculate the new parameter and update it.
Eric Dong [Mon, 20 Apr 2015 04:25:45 +0000 (04:25 +0000)]
Update the logic: After check the environment, calculate the new parameter and update 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@17188 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoBaseTools: Ignore BaseTools/Bin/Win32 directory in .gitignore
Liming Gao [Fri, 17 Apr 2015 07:40:44 +0000 (07:40 +0000)]
BaseTools: Ignore BaseTools/Bin/Win32 directory in .gitignore

Configure .gitignore file to ignore Bin/Win32 and Lib directory.
Those two directories are generated when BaseTools are compiled at Windows.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <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@17187 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix some grammar and converge formatting of the two versions of TcpInput.c
BALATON Zoltan [Fri, 17 Apr 2015 02:25:05 +0000 (02:25 +0000)]
Fix some grammar and converge formatting of the two versions of TcpInput.c

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17186 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntelFrameworkPkg: Fix a non ASCII char in LegacyBios.h.
Qiu Shumin [Thu, 16 Apr 2015 06:50:38 +0000 (06:50 +0000)]
IntelFrameworkPkg: Fix a non ASCII char in LegacyBios.h.

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

9 years agoShellPkg/UefiShellLevel2CommandsLib: Handle the returned error
Olivier Martin [Wed, 15 Apr 2015 18:16:58 +0000 (18:16 +0000)]
ShellPkg/UefiShellLevel2CommandsLib: Handle the returned error

If this function fails in release build then the error was
not handled and SourceHandle was not valid.

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

9 years agoSourceLevelDebugPkg: Avoid NULL pointer reference.
Jeff Fan [Wed, 15 Apr 2015 06:55:12 +0000 (06:55 +0000)]
SourceLevelDebugPkg: Avoid NULL pointer reference.

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@17183 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoARM toolchain raised this compilation error when using the macro ACPI_DISPLAY_ADR().
Michael Kinney [Wed, 15 Apr 2015 04:46:50 +0000 (04:46 +0000)]
ARM toolchain raised this compilation error when using the macro ACPI_DISPLAY_ADR().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <Michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Tested-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17182 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRollback r17180.
Shumin Qiu [Wed, 15 Apr 2015 04:45:46 +0000 (04:45 +0000)]
Rollback r17180.

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

9 years agoMdePkg: Add Bluetooth related definition.
Shumin Qiu [Wed, 15 Apr 2015 03:07:08 +0000 (03:07 +0000)]
MdePkg: Add Bluetooth related definition.

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

9 years agoMdeModulePkg: PCD/Pei: eliminate unused but set variable
Laszlo Ersek [Wed, 15 Apr 2015 01:06:15 +0000 (01:06 +0000)]
MdeModulePkg: PCD/Pei: eliminate unused but set variable

- SVN r14866:

  MdePkg and MdeModulePkg Pcd: Add the new EFI_GET_PCD_INFO_PROTOCOL and
  EFI_GET_PCD_INFO_PPI support for PI 1.2.1 compliance.

added the "DataBase" local variable to PcdPeimInit(), and both set it and
used it.

- SVN r14869:

  MdeModulePkg and Nt32Pkg Pcd: Add the new EFI_GET_PCD_INFO_PROTOCOL and
  EFI_GET_PCD_INFO_PPI support for PI 1.2.1  compliance.

changed the PcdPeimInit() function, but "DataBase" remained both set and
used.

- SVN r17173:

  MdeModulePkg Pcd: Check the input SkuId in SetSku()

changed the function again; and this time "DataBase" became
set-but-unused. It triggers the following build error, when building
ArmVirtualizationQemu.dsc with gcc-4.8:

  MdeModulePkg/Universal/PCD/Pei/Pcd.c:150:21: error: variable 'DataBase'
  set but not used [-Werror=unused-but-set-variable]
     PEI_PCD_DATABASE  *DataBase;
                       ^
  cc1: all warnings being treated as errors

Fix the error by removing the DataBase variable, restoring the pre-r14866
state locally, when the BuildPcdDatabase() function was called, but its
return value was thrown away.

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

9 years agoArmVirtualizationPkg: Xen: shuffle init order to deal with incoherency
Ard Biesheuvel [Tue, 14 Apr 2015 11:56:56 +0000 (11:56 +0000)]
ArmVirtualizationPkg: Xen: shuffle init order to deal with incoherency

In order to prevent memory corruption issues caused by the fact that,
under virtualization, the guest is incoherent with the hypervisor's view
of memory until it enables its caches and MMU, this patch reshuffles the
init sequence so that the Xen shared memory regions are not touched
before the caches and MMU are enabled.

In addition, the loaded image itself is invalidated by virtual address,
to ensure that any runtime changes (such as the applied relocations) will
not suddenly become invisible once we turn the caches on.

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Olivier Martin <Olivier.Martin@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17178 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmVirtualizationPkg: invalidate PEI memory region by VA
Ard Biesheuvel [Tue, 14 Apr 2015 11:55:42 +0000 (11:55 +0000)]
ArmVirtualizationPkg: invalidate PEI memory region by VA

This updates ArmVirtualizationMemoryInitPeiLib so that the PEI memory
region, i.e., the region that is used both before and after the MMU
and caches are enabled, is invalidated by virtual address before
enabling the MMU.

This prevents issues where data we modified with the caches and MMU
off may be shadowed by clean cachelines in system caches or in lower
level caches on other CPUs, resulting in the this data to become
invisible once we turn the MMU and caches on.

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

9 years agoArmPkg: remove cache maintenance by VA operation range size threshold
Ard Biesheuvel [Tue, 14 Apr 2015 11:54:40 +0000 (11:54 +0000)]
ArmPkg: remove cache maintenance by VA operation range size threshold

This removes the range size threshold for virtual address based cache
maintenance instructions that operate on VA ranges to be 'promoted' to
use set/way instructions.

Doing so is unsafe: set/way operations are fundamentally different
from VA operations, and really only suitable for cleaning or invalidating
a cache when turning it on or off.

To quote the ARM ARM (DDI0487A_d G3.4):
"""
Since the set/way instructions are performed only locally, there is no
guarantee of the atomicity of cache maintenance between different PEs,
even if those different PEs are each performing the same cache maintenance
instructions at the same time. Since any cacheable line can be allocated
into the cache at any time, it is possible for [a] cache line to migrate
from an entry in the cache of one PE to the cache of a different PE in a
manner that the cache line avoids being affected by set/way based cache
maintenance. Therefore, ARM strongly discourages the use of set/way
instructions to manage coherency in coherent systems.
"""

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Olivier Martin <Olivier.Martin@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17176 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg: do not fulfil MemoryInitPeiLib dependency directly via .c file
Ard Biesheuvel [Tue, 14 Apr 2015 11:52:55 +0000 (11:52 +0000)]
ArmPlatformPkg: do not fulfil MemoryInitPeiLib dependency directly via .c file

MemoryInitPeim short-circuits its MemoryInitPeiLib dependency by including
the .c file directly. This prevents us from having a special implementation
for ArmVirtualizationPkg that performs additional cache maintenance before
enabling the MMU. So instead, make it depend on the library class.

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

9 years agoArmVirtualizationPkg: make ArmVirtualizationMemoryInitPeiLib the default
Ard Biesheuvel [Tue, 14 Apr 2015 11:51:38 +0000 (11:51 +0000)]
ArmVirtualizationPkg: make ArmVirtualizationMemoryInitPeiLib the default

This updates ArmVirtualization.dsc.inc to use the MemoryInitPeiLib
implementation for virt targets. The only difference between that one
and the original one is that the original one removes memory from the
available list if it overlaps the FD region (which may be the case when
shadowing NOR flash with system RAM). This is never the case for the
Qemu target, which is the only platform affected by this change, since
the Xen target already uses this library explicitly.

This allows us to remove the Xen-specific declaration of this library
dependency. For the Qemu target, this change will not take effect until
after the MemoryInitPeim<->MemoryInitPeiLib dependency resolution is
fixed in a subsequent patch.

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

9 years agoMdeModulePkg Pcd: Check the input SkuId in SetSku()
Star Zeng [Tue, 14 Apr 2015 08:54:11 +0000 (08:54 +0000)]
MdeModulePkg Pcd: Check the input SkuId in SetSku()

then GetSku() could return the currently active SkuId.

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@17173 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSync the branch changes to trunk.
Tim He [Tue, 14 Apr 2015 06:29:13 +0000 (06:29 +0000)]
Sync the branch changes to trunk.

Update BiosID and optimize the flash layout.

Upgrade uefi shell from 1.0 to 2.0.

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

9 years agoEnable DDI1 for the second HDMI display output.
David Wei [Tue, 14 Apr 2015 06:05:51 +0000 (06:05 +0000)]
Enable DDI1 for the second HDMI display output.

Switch ball K30, P30 and G30 to be native F2 function for DDI1 HDMI.

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

9 years agoCoreboot*Pkg/Contributions.txt: Update example email address
Jordan Justen [Tue, 14 Apr 2015 00:23:29 +0000 (00:23 +0000)]
Coreboot*Pkg/Contributions.txt: Update example email address

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

This was changed for the other EDK II packages in r16724.

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: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17169 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootPayloadPkg: Rename CorebootPayloadPkgX64.dsc X64 -> Ia32X64
Jordan Justen [Tue, 14 Apr 2015 00:23:17 +0000 (00:23 +0000)]
CorebootPayloadPkg: Rename CorebootPayloadPkgX64.dsc X64 -> Ia32X64

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

9 years agoCorebootPayloadPkg: Rename CorebootPayloadPkgIA32.dsc IA32 -> Ia32
Jordan Justen [Tue, 14 Apr 2015 00:23:05 +0000 (00:23 +0000)]
CorebootPayloadPkg: Rename CorebootPayloadPkgIA32.dsc IA32 -> Ia32

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

9 years agoMdeModulePkg PiDxeS3BootScriptLib: Initialize the EFI_BOOT_SCRIPT_TABLE_HEADER.Version.
Star Zeng [Mon, 13 Apr 2015 01:56:57 +0000 (01:56 +0000)]
MdeModulePkg PiDxeS3BootScriptLib: Initialize the EFI_BOOT_SCRIPT_TABLE_HEADER.Version.

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@17166 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSave initial TSVal from TCP connection initiation packets.
BALATON Zoltan [Mon, 13 Apr 2015 01:39:29 +0000 (01:39 +0000)]
Save initial TSVal from TCP connection initiation packets.

RFC1323 says the most recently received TSVal must be echoed in TSecr in ACK packets
which was not done at first connection because the code saving the TSVal from the peer
was skipped at this point. This resulted in sending an ACK reply with a 0 TSecr that
was rejected at least by FreeBSD. This patch fixes this by updating the saved TSVal
also for connection initiation packets.
Thanks to Laszlo Ersek for analysis and help in debugging.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17165 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootPayloadPkg: Remove empty folder reference in DEC file
Maurice Ma [Fri, 10 Apr 2015 22:08:57 +0000 (22:08 +0000)]
CorebootPayloadPkg: Remove empty folder reference in DEC file

In current CorebootPayloadPkg.dec an empty 'Include' directory is
listed in [includes] section. However, this empty directory will
not be mirrored into git repo. If the source tree is pulled from git,
the 'Include' empty folder will not exist and it will cause build
failure. The fix is to remove the whole [Includes] section in the
DEC file.

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

9 years agoUpdated for ECC.exe
lhauch [Fri, 10 Apr 2015 16:00:18 +0000 (16:00 +0000)]
Updated for ECC.exe

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

9 years agoMdePkg: Add a set of PcdSetXXS APIs into PcdLib and remove the ASSERT in original...
Star Zeng [Fri, 10 Apr 2015 10:05:11 +0000 (10:05 +0000)]
MdePkg: Add a set of PcdSetXXS APIs into PcdLib and remove the ASSERT in original PcdSetXX APIs.

And also use DISABLE_NEW_DEPRECATED_INTERFACES macro to include the old PcdSetXX APIs.

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

9 years agoMdeModulePkg: Add ATTRIBUTE (+/-RT, RO) support in PCD declaration in DSC file.
Star Zeng [Fri, 10 Apr 2015 09:01:46 +0000 (09:01 +0000)]
MdeModulePkg: Add ATTRIBUTE (+/-RT, RO) support in PCD declaration in DSC file.

Also update PCD_SERVICE_PEI_VERSION and PCD_SERVICE_DXE_VERSION to match with
the new PcdDataBase binary generated by BaseTools.

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

9 years agoSourceLevelDebugPkg: Fix calculate the checksum bug and add NULL pointer check
Jeff Fan [Fri, 10 Apr 2015 08:52:48 +0000 (08:52 +0000)]
SourceLevelDebugPkg: Fix calculate the checksum bug and add NULL pointer check

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@17160 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoBaseTools/Build: Add all support skuid to the Pcd DB system skuid table
Bob Feng [Fri, 10 Apr 2015 07:06:13 +0000 (07:06 +0000)]
BaseTools/Build: Add all support skuid to the Pcd DB system skuid table

Update PcdDataBase System SkuIdTable. The system SkuId Table should have all the platform supported skuid.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Bob Feng" <bob.c.feng@intel.com>
Reviewed-by: "Chen, Hesheng" <hesheng.chen@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@17159 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoBaseTools/Build: Add SDL support
Bob Feng [Fri, 10 Apr 2015 06:59:47 +0000 (06:59 +0000)]
BaseTools/Build: Add SDL support

1.BaseTool add ATTRIBUTE (+/-RT, RO) support in PCD declaration in DSC file
2.BaseTool collect valid PCD value in DEC file and generate data base for runtime sanity check
3.BaseTool support SetPcd error.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Bob Feng" <bob.c.feng@intel.com>
Reviewed-by: "Chen, Hesheng" <hesheng.chen@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@17158 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoBaseTools/Ecc: Add ECC (EFI Code Checker) Binary into BaseTools bin directory.
Chen, Hesheng [Fri, 10 Apr 2015 06:20:39 +0000 (06:20 +0000)]
BaseTools/Ecc: Add ECC (EFI Code Checker) Binary into BaseTools bin directory.

Modify the makefile to build Ecc

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Chen, Hesheng" <hesheng.chen@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@17157 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/NvmExpressDxe: Fix possible memory leak issue in NvmExpressDxe driver.
Feng Tian [Fri, 10 Apr 2015 06:02:00 +0000 (06:02 +0000)]
MdeModulePkg/NvmExpressDxe: Fix possible memory leak issue in NvmExpressDxe driver.

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@17156 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdePkg: Fix build fail when DDK3790 tool chain is used
Scott Duplichan [Fri, 10 Apr 2015 03:00:40 +0000 (03:00 +0000)]
MdePkg: Fix build fail when DDK3790 tool chain is used

Modify the preprocessor check for variadic macro support. The existing
check assumes all Microsoft compilers with major version of 14 and greater
support variadic macros. This is almost correct. An exception is the X64
compiler from DDK3790. This compiler has version 14.00.40310.41, yet does
not support variadic macros. Both VS2005 compilers have version number
14.00.50727.762 and do support variadic macros. For simplicity, this change
suppresses the use of variadic macros for all Microsoft compilers with
version 14 or smaller. If the variadic macro support needs to be restored
for VS2005, that could be done using new logic invloving _MSC_FULL_VER.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17155 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootModulePkg/CbSupportDxe: Add EFIAPI to CbDxeEntryPoint
Scott Duplichan [Fri, 10 Apr 2015 02:42:08 +0000 (02:42 +0000)]
CorebootModulePkg/CbSupportDxe: Add EFIAPI to CbDxeEntryPoint

All image entry point functions must use EFIAPI.

Some GCC toolchains will have a build error without this fix.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17154 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootModulePkg: DEBUG print format corrections
Scott Duplichan [Fri, 10 Apr 2015 02:42:04 +0000 (02:42 +0000)]
CorebootModulePkg: DEBUG print format corrections

Fix DEBUG print formats so that pointers and 64-bit integer values
display correctly for both 32-bit and 64-bit builds.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17153 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootModulePkg: Avoid gcc compile fail caused by unrecognized pragma
Scott Duplichan [Fri, 10 Apr 2015 02:41:59 +0000 (02:41 +0000)]
CorebootModulePkg: Avoid gcc compile fail caused by unrecognized pragma

Prevent gcc from preprocessing Microsofrt specific  pragma. Otherwise
compile will fail with error: -Werror=unknown-pragma.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17152 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootPayloadPkg: Avoid page table memory allocation failure
Scott Duplichan [Fri, 10 Apr 2015 02:41:49 +0000 (02:41 +0000)]
CorebootPayloadPkg: Avoid page table memory allocation failure

Enable use of 1GB pages to avoid page table memory allocation failure.
The failure occurs when allocating enough 4KB pages to map a large
virtual address space, such as the 48-bit virtual address space of AMD
family 10h and family 15h processors. The change is needed only for the
X64 build because page tables are not used by the IA32 build.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17151 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootPayloadPkg: Use unique path for IA32 and X64 payload binaries
Scott Duplichan [Fri, 10 Apr 2015 02:41:41 +0000 (02:41 +0000)]
CorebootPayloadPkg: Use unique path for IA32 and X64 payload binaries

Use unique output directory names so that both IA32 and X64 payloads
can be built without overwriting one another.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17150 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootPayloadPkg: Add NOOPT build to accommodate source level debugging
Scott Duplichan [Fri, 10 Apr 2015 02:41:36 +0000 (02:41 +0000)]
CorebootPayloadPkg: Add NOOPT build to accommodate source level debugging

Add NOOPT build to accommodate source level debugging. The NOOPT build
avoids the use of compiler optimization so that every local variable is
accessible by a source level debugger.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17149 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootPayloadPkg: Increase payload size limit
Scott Duplichan [Fri, 10 Apr 2015 02:41:32 +0000 (02:41 +0000)]
CorebootPayloadPkg: Increase payload size limit

Increase payload size limit to accomodate large binaries, such as those
produced by Microsoft NOOPT builds and gcc DEBUG builds.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17148 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootPayloadPkg: Use extra braces to prevent gcc compile fail
Scott Duplichan [Fri, 10 Apr 2015 02:41:23 +0000 (02:41 +0000)]
CorebootPayloadPkg: Use extra braces to prevent gcc compile fail

Use extra braces around initialization data to prevent gcc compile
error: -Werror=missing-braces.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17147 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootModulePkg: Reformat asm constant to avoid gcc assembler fail
Scott Duplichan [Fri, 10 Apr 2015 02:41:14 +0000 (02:41 +0000)]
CorebootModulePkg: Reformat asm constant to avoid gcc assembler fail

The gnu assembler doesn't allow multiple '$' in an expression.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17146 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootModulePkg: Add 'ULL' suffix to avoid gcc 4.4 compile fail
Scott Duplichan [Fri, 10 Apr 2015 02:41:10 +0000 (02:41 +0000)]
CorebootModulePkg: Add 'ULL' suffix to avoid gcc 4.4 compile fail

Add ULL siffix to 64-bit constants, otherwise gcc44 reports error:
integer constant is too large for 'long' type

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

9 years agoCorebootModulePkg: Change CbParseAcpiTable prototype to avoid gcc fail
Scott Duplichan [Fri, 10 Apr 2015 02:41:01 +0000 (02:41 +0000)]
CorebootModulePkg: Change CbParseAcpiTable prototype to avoid gcc fail

Use of void** as a generic pointer to pointer is a Microsoft extension
to the C language and is not supported by gcc. Without this change, gcc
compile fails with error:
passing argument 1 of 'CbParseAcpiTable' from incompatible pointer type
note: expected 'void **' but argument is of type
'struct EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER **'

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17144 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootModulePkg: Remove unused static functions to prevent gcc build fail
Scott Duplichan [Fri, 10 Apr 2015 02:05:57 +0000 (02:05 +0000)]
CorebootModulePkg: Remove unused static functions to prevent gcc build fail

The gcc build will fail with -Werror=unused-function when a compilation
unit defines a static function but never calls it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17143 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorebootModulePkg: Fix build failure with 32-bit NOOPT target
Scott Duplichan [Fri, 10 Apr 2015 02:05:48 +0000 (02:05 +0000)]
CorebootModulePkg: Fix build failure with 32-bit NOOPT target

Fix build failure with 32-bit NOOPT target by replacing direct shift
of 64-bit integer with a function call. Otherwise Microsoft tool chains
will generate a call to function __allshl and fail to link.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17142 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg Variable: Enhance the code logic about VariableLock
Star Zeng [Fri, 10 Apr 2015 01:53:38 +0000 (01:53 +0000)]
MdeModulePkg Variable: Enhance the code logic about VariableLock

to just return EFI_SUCCESS if the variable has been in the locked list.

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

9 years agoSecurityPkg Variable: Enhance the code logic about VariableLock
Star Zeng [Fri, 10 Apr 2015 01:52:54 +0000 (01:52 +0000)]
SecurityPkg Variable: Enhance the code logic about VariableLock

to just return EFI_SUCCESS if the variable has been in the locked list.

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

9 years agoMdeModulePkg: Roll back report status code change in RuntimeDriverSetVirtualAddressMap.
Elvin Li [Fri, 10 Apr 2015 01:37:41 +0000 (01:37 +0000)]
MdeModulePkg: Roll back report status code change in RuntimeDriverSetVirtualAddressMap.

Roll back report status code to original place in RuntimeDriverSetVirtualAddressMap.
Per UEFI spec, the call to SetVirtualAddressMap() must be done with the physical mappings.
We can not assume virtual address could work in SetVirtualAddressMap (), so we can not call
report status code interface with virtual address.

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@17139 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntelFrameworkModulePkg: update comments to clarify runtime memory usage for legacy OS.
Elvin Li [Fri, 10 Apr 2015 00:49:15 +0000 (00:49 +0000)]
IntelFrameworkModulePkg: update comments to clarify runtime memory usage for legacy OS.

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

9 years agoCorebootModulePkg: Add EFIAPI to OnReadyToBoot to fix gcc compile fail
Scott Duplichan [Fri, 10 Apr 2015 00:42:30 +0000 (00:42 +0000)]
CorebootModulePkg: Add EFIAPI to OnReadyToBoot to fix gcc compile fail

Make OnReadyToBoot function match the prototype in UefiLib.h. The change
only affects gcc builds because EFIAPI ABI differs from the default ABI
when building with gcc.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17137 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg: Put report status code at the end of RuntimeDriverSetVirtualAddressMap.
Elvin Li [Thu, 9 Apr 2015 08:31:42 +0000 (08:31 +0000)]
MdeModulePkg: Put report status code at the end of RuntimeDriverSetVirtualAddressMap.

Move report status code to the end after all pointers convert and image relocation are finished.

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@17136 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntelFrameworkModulePkg: add comments to clarify runtime memory usage for legacy OS.
Elvin Li [Thu, 9 Apr 2015 07:50:34 +0000 (07:50 +0000)]
IntelFrameworkModulePkg: add comments to clarify runtime memory usage for legacy OS.

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@17135 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUefiCpuPkg: Avoid "error A2085" when DDK3790 tool chain is used
Scott Duplichan [Thu, 9 Apr 2015 03:09:17 +0000 (03:09 +0000)]
UefiCpuPkg: Avoid "error A2085" when DDK3790 tool chain is used

The DDK3790 tool chain fails when the PAUSE instruction is assembled:
error A2085: instruction or register not accepted in current CPU mode The solution is to use the .686 directive along with the .xmm directive.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17134 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg: Use LzmaDecompress support from MdeModulePkg
Olivier Martin [Wed, 8 Apr 2015 19:58:50 +0000 (19:58 +0000)]
ArmPlatformPkg: Use LzmaDecompress support from MdeModulePkg

LzmaDecompress support is moving from IntelFrameworkPkg to
MdeModulePkg.
This change ensures ArmPlatformPkg reflects this future change.

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@17133 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntelFrameworkModulePkg: Update LegacyBiosDxe to use UmaAddress and UmaSize in CSM...
David Woodhouse [Wed, 8 Apr 2015 01:44:22 +0000 (01:44 +0000)]
IntelFrameworkModulePkg: Update LegacyBiosDxe to use UmaAddress and UmaSize in CSM 0.98.

The UmaAddress/UmaSize fields allows the CSM to have writable memory
between the top of the option ROMs and the start of its read-only code segment.

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

9 years agoIntelFrameworkPkg: Update EFI_COMPATIBILITY16_TABLE to CSM 0.98.
David Woodhouse [Wed, 8 Apr 2015 01:40:47 +0000 (01:40 +0000)]
IntelFrameworkPkg: Update EFI_COMPATIBILITY16_TABLE to CSM 0.98.

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

9 years agoShellPkg: fix mv and cp command related issues
Tapan Shah [Tue, 7 Apr 2015 20:39:22 +0000 (20:39 +0000)]
ShellPkg: fix mv and cp command related issues

1.mv deletes file/directory when trying to move it to non-existing file system.
2.mv causes RSOD in system when trying to move same file at the same location.
3.Refactor mv and cp command with command name passed-in.
remove redundant move status error message when file failed to move across file system.

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@17129 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: UefiShellDebug1CommandsLib: fix hex string parsing in SETVAR
Laszlo Ersek [Tue, 7 Apr 2015 14:18:40 +0000 (14:18 +0000)]
ShellPkg: UefiShellDebug1CommandsLib: fix hex string parsing in SETVAR

The ShellCommandRunSetVar() function calls the ShellIsHexOrDecimalNumber()
UefiShellLib function to determine if the data string in the SETVAR
command is a string of hexadecimal bytes.

However, ShellIsHexOrDecimalNumber() calls ShellConvertStringToUint64()
for validation. Therefore SETVAR rejects hex strings that cannot be
interpreted as UINT64 values due to range errors, despite the fact that
the hexadecimal data string of the SETVAR command is supposed to describe
an arbitrary array of bytes, rather than UINT64 values.

The internal library function InternalShellIsHexOrDecimalNumber() comes
close, as the first idea for the fix, however it is not quite right
either; it removes a leading minus sign, plus it allows 0x / 0X prefixes.
This would not be correct for the SETVAR command.

Instead, add a trivial utility function that is specific to the SETVAR
implementation. IsStringOfHexNibbles() accepts empty strings for
simplicity, but where we call it we have already ensured that the data
string is not empty (because that is handled earlier by the "delete
variable" branch of SETVAR). An even number of nibbles is also enforced
near the call site.

Cc: Jaben Carsey <jaben.carsey@intel.com>
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@17128 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: UefiShellDebug1CommandsLib: fix SETVAR option summary
Laszlo Ersek [Tue, 7 Apr 2015 14:18:35 +0000 (14:18 +0000)]
ShellPkg: UefiShellDebug1CommandsLib: fix SETVAR option summary

The command line summary for the SETVAR command currently names "-rs"
instead of "-rt":

  SETVAR variable-name [-guid guid][-bs][-rs][-nv] [=data]

Fix it.

Cc: Jaben Carsey <jaben.carsey@intel.com>
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@17127 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd missing parameter in function header.
Jeff Fan [Tue, 7 Apr 2015 05:33:41 +0000 (05:33 +0000)]
Add missing parameter in function header.

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

9 years agoIntelFrameworkModulePkg: Put report status code after event was signaled per PI spec.
Elvin Li [Tue, 7 Apr 2015 03:33:07 +0000 (03:33 +0000)]
IntelFrameworkModulePkg: Put report status code after event was signaled per PI spec.

For PI spec vol3,
"EFI_SW_DXE_BS_PC_LEGACY_BOOT_EVENT   The event with GUID EFI_EVENT_LEGACY_BOOT_GUID was signaled."
"EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT The EFI_EVENT_GROUP_READY_TO_BOOT event was signaled."
However, in current code base, they are reported before events were signaled.

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

9 years agoMdeModulePkg: Put report status code after event was signaled per PI spec.
Elvin Li [Tue, 7 Apr 2015 03:31:17 +0000 (03:31 +0000)]
MdeModulePkg: Put report status code after event was signaled per PI spec.

For PI spec vol3,
"EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT  The EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event was signaled."
However, in current code base, it is reported before events were signaled.

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

9 years agoMdeModulePkg: Add LzmaDecompress Guid
Liming Gao [Tue, 7 Apr 2015 00:29:01 +0000 (00:29 +0000)]
MdeModulePkg: Add LzmaDecompress Guid

Move LzmaDecompress GUID definition from IntelFrameworkModulePkg to MdeModulePkg
Fix wrong commit 17111.

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

9 years agoRollback r17113.
Hao Wu [Fri, 3 Apr 2015 05:23:13 +0000 (05:23 +0000)]
Rollback r17113.

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

9 years agoMdePkg: Add ESRT Interface Definitions
Hao Wu [Fri, 3 Apr 2015 03:48:41 +0000 (03:48 +0000)]
MdePkg: Add ESRT Interface Definitions

Add EFI System Resource Table (ESRT) interface (API only).

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>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17113 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg: Add two library instances
Liming Gao [Fri, 3 Apr 2015 02:50:57 +0000 (02:50 +0000)]
MdeModulePkg: Add two library instances

Copy below two library instances from IntelFrameworkModulePkg to MdeModulePkg. Then, Platform dsc can
refer to them from MdeModulePkg, and remove the dependency of IntelFrameworkModulePkg. The ones in
IntelFrameworkModulePkg are still kept for compatibility.
1. PeiDxeDebugLibReportStatusCode
2. LzmaCustomDecompressLib

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

9 years agoMdeModulePkg: Add LzmaDecompress Guid
Liming Gao [Fri, 3 Apr 2015 02:49:51 +0000 (02:49 +0000)]
MdeModulePkg: Add LzmaDecompress Guid

Move LzmaDecompress GUID definition from IntelFrameworkModulePkg to MdeModulePkg

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

9 years agoIntelFrameworkModulePkg: Move LzmaDecompress GUID
Liming Gao [Fri, 3 Apr 2015 02:49:10 +0000 (02:49 +0000)]
IntelFrameworkModulePkg: Move LzmaDecompress GUID

Move LzmaDecompress GUID definition from IntelFrameworkModulePkg to MdeModulePkg

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

9 years agoIntelFrameworkModulePkg: Cleanup PeiDxeDebugLibReportStatusCode
Liming Gao [Fri, 3 Apr 2015 02:48:11 +0000 (02:48 +0000)]
IntelFrameworkModulePkg: Cleanup PeiDxeDebugLibReportStatusCode

Cleanup PeiDxeDebugLibReportStatusCode library instance not to depend on
IntelFrameworkPkg and IntelFrameworkModulePkg.

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

9 years agoArmPkg/BaseMemoryLib(Sym|Vstm): Do not post increment returned pointer
Olivier Martin [Thu, 2 Apr 2015 13:51:28 +0000 (13:51 +0000)]
ArmPkg/BaseMemoryLib(Sym|Vstm): Do not post increment returned pointer

InternalMemScanMem(8|16|32|64) was returning a pointer that was
post incremented from the expected returned value.

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@17108 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEmbeddedPkg/Lan9118Dxe: Fix risk of buffer overflow.
Olivier Martin [Thu, 2 Apr 2015 13:50:18 +0000 (13:50 +0000)]
EmbeddedPkg/Lan9118Dxe: Fix risk of buffer overflow.

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@17107 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEmbeddedPkg/Lan9118Dxe: Fix the reset after a receiver or transmitter error
Ronald Cron [Thu, 2 Apr 2015 13:49:05 +0000 (13:49 +0000)]
EmbeddedPkg/Lan9118Dxe: Fix the reset after a receiver or transmitter error

The Lan9118 driver did not recover after a receiver error as the error
handling code stopped the transmitter but did not restart it. Added the
restart of the transmitter.

Added also the restart of the receiver after a transmitter error and
the reactivation of the LEDs after all resets.

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@17106 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Added newline at the end of source files
Olivier Martin [Thu, 2 Apr 2015 11:32:32 +0000 (11:32 +0000)]
ShellPkg: Added newline at the end of source files

Some compilers (such as ARM toolchain) complain if there is
no new line at the end of a source file.

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

9 years agoMdePkg: Missing GUID variable in DiskInfo.h
Felix Polyudov [Thu, 2 Apr 2015 06:40:02 +0000 (06:40 +0000)]
MdePkg: Missing GUID variable in DiskInfo.h

The DiskInfo.h defines EFI_DISK_INFO_NVME_INTERFACE_GUID, but does not declare a corresponding EFI_GUID variable.
The attached patch adds "extern" statement for the variable in DiskInfo.h. It also adds variable definition to MdePkg.dec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Felix Polyudov <felixp@ami.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@17102 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRemoved MBI Device from ACPI DSDT Table.
Shifei Lu [Thu, 2 Apr 2015 02:01:26 +0000 (02:01 +0000)]
Removed MBI Device from ACPI DSDT Table.

Removed MBI Device, which is not necessary for MinnowBoard Max, from ACPI DSDT Table per Windows team's request.

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@17101 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdding Prince Agyeman and Maurice Ma as CorebootModulePkg and CorebootPayloadPkg...
Prince Agyeman [Wed, 1 Apr 2015 15:43:45 +0000 (15:43 +0000)]
Adding Prince Agyeman and Maurice Ma as CorebootModulePkg and CorebootPayloadPkg maintainers

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Prince Agyeman <prince.agyeman@intel.com>
Reviewed-by: Laurie Jarlstrom <laurie.jarlstrom@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17099 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/ArmJunoDxe: Fixed returned value
Olivier Martin [Wed, 1 Apr 2015 14:50:04 +0000 (14:50 +0000)]
ArmPlatformPkg/ArmJunoDxe: Fixed returned value

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@17098 6f19259b-4bc3-4df7-8a09-765794883524