10 years agoEmbeddedPkg/MmcDxe: Add 'This' pointer attribute to protocol function
oliviermartin [Thu, 1 Sep 2011 17:08:41 +0000 (17:08 +0000)]
EmbeddedPkg/MmcDxe: Add 'This' pointer attribute to protocol function

This attribute allows the EFI_MMC_HOST_PROTOCOL interface to manage
multiple instances in one driver.

EmbeddedPkg/MmcDxe: Add Revision attribute to the EFI_MMC_HOST_PROTOCOL

Note: The ARM PL180 and Omap35xx MMC host drivers has been updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12255 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOmap35xxPkg/MmcHostDxe: Clean code to respect EDK2 coding convention
oliviermartin [Thu, 1 Sep 2011 16:33:51 +0000 (16:33 +0000)]
Omap35xxPkg/MmcHostDxe: Clean code to respect EDK2 coding convention

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12254 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix bug for UefiPxeBcDxe driver to catch the return status.
sfu5 [Thu, 1 Sep 2011 08:51:00 +0000 (08:51 +0000)]
Fix bug for UefiPxeBcDxe driver to catch the return status.

Signed-off-by: sfu5
Reviewed-by: hhuan13
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12253 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix bug for UefiPxeBcDxe driver to catch the return status.
sfu5 [Thu, 1 Sep 2011 08:48:51 +0000 (08:48 +0000)]
Fix bug for UefiPxeBcDxe driver to catch the return status.

Signed-off-by: sfu5
Reviewed-by: hhuan13
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12252 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoCheck the pointer before use it.
ydong10 [Thu, 1 Sep 2011 08:44:08 +0000 (08:44 +0000)]
Check the pointer before use it.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12251 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to make code run more safely.
ydong10 [Thu, 1 Sep 2011 08:38:08 +0000 (08:38 +0000)]
Refine code to make code run more safely.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12250 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate HiiBlockToConfig function to follow spec.
ydong10 [Thu, 1 Sep 2011 08:19:55 +0000 (08:19 +0000)]
Update HiiBlockToConfig function to follow spec.

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12249 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove, correct and refine some debug messages.
lzeng14 [Thu, 1 Sep 2011 06:37:55 +0000 (06:37 +0000)]
Remove, correct and refine some debug messages.

Signed-off-by: lzeng14
Reviewed-by: erictian
Reviewed-by: qianouyang
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12248 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEdkCompatibilityPkg: Add BootScriptThunkHelper driver
jljusten [Wed, 31 Aug 2011 18:58:35 +0000 (18:58 +0000)]
EdkCompatibilityPkg: Add BootScriptThunkHelper driver

Signed-off-by: jljusten
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12247 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoIntelFrameworkModulePkg: Add AcpiS3SaveDxe driver
jljusten [Wed, 31 Aug 2011 18:57:46 +0000 (18:57 +0000)]
IntelFrameworkModulePkg: Add AcpiS3SaveDxe driver

Signed-off-by: jljusten
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12246 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Update iSCSI UI to be more user-friendly.
tye1 [Wed, 31 Aug 2011 12:00:09 +0000 (12:00 +0000)]
1. Update iSCSI UI to be more user-friendly.
2. Fix potential memory leak issue in IScsiConfig.c.

Signed-off-by: tye
Reviewed-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12245 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove out of date copyright from command help info.
tye1 [Wed, 31 Aug 2011 11:14:57 +0000 (11:14 +0000)]
Remove out of date copyright from command help info.

Signed-off-by: tye
Reviewed-by: jcarsey
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12244 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRollback SMRAM Lock location
mdkinney [Wed, 31 Aug 2011 02:26:36 +0000 (02:26 +0000)]
Rollback SMRAM Lock location

Signed-off-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12243 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix GCC build errors.
darylm503 [Wed, 31 Aug 2011 00:02:56 +0000 (00:02 +0000)]
Fix GCC build errors.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12240 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEmbeddedPkg/MmcDxe: Card Presence Detect Race Condition
oliviermartin [Tue, 30 Aug 2011 18:02:38 +0000 (18:02 +0000)]
EmbeddedPkg/MmcDxe: Card Presence Detect Race Condition

The MMC driver defaults to assume a card is not present.  It then starts a timer in MmcDxeInitialize to check for card presence every 200ms.

However it does not immediately check to see if a card is present so if the EFI driver connection process occurs less than 200ms after the driver load, the connection process for partition
or filesystem drivers will fail because MediaPresent still is FALSE.  To resolve this race condition, we need to immediately perform the presence check in the Start routine.

EmbeddedPkg/MmcDxe: Media ID Handling

Initialize the MMC device on Start or when presence changes instead of doing it on the Block IO calls. This way the layered drivers can be stopped and rebuilt with new Media IDs instead of
experiencing errors on calls to Block IO.

Proposed-by: Eugene Cohen (HP)
Reviewed-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12237 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg: Fix ARM RealView EB and VE builds (2)
oliviermartin [Tue, 30 Aug 2011 17:12:13 +0000 (17:12 +0000)]
ArmPlatformPkg: Fix ARM RealView EB and VE builds (2)

This file is missing from the earlier commit (ArmPlatformPkg: Fix ARM RealView EB and VE builds).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12235 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg: Update list of pending patches
oliviermartin [Tue, 30 Aug 2011 17:09:34 +0000 (17:09 +0000)]
ArmPlatformPkg: Update list of pending patches

BaseTools has recently been updated in edk2. Some of the BaseTools patches are now available in edk2 mainline.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12234 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg: Fix ARM RealView EB and VE builds
oliviermartin [Tue, 30 Aug 2011 16:54:48 +0000 (16:54 +0000)]
ArmPlatformPkg: Fix ARM RealView EB and VE builds

Tested with RVCTLINUX and ARMGCC toolchains.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12233 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd new op-code samples, includes efi varstore, refresh guid group and ref op-code.
ydong10 [Tue, 30 Aug 2011 12:39:53 +0000 (12:39 +0000)]
Add new op-code samples, includes efi varstore, refresh guid group and ref op-code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12232 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnable the follow feature for string op-code:
ydong10 [Tue, 30 Aug 2011 12:33:41 +0000 (12:33 +0000)]
Enable the follow feature for string op-code:
1. Show old string before enter new.
2. Enable cursor moves left or right and insert new char or remove the char before the cursor.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12231 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance the SmmBaseHelper driver to support changing SMBASE/IORestart/AutoHALTRestart...
rsun3 [Tue, 30 Aug 2011 09:12:43 +0000 (09:12 +0000)]
Enhance the SmmBaseHelper driver to support changing SMBASE/IORestart/AutoHALTRestart CPU Save State registers for Framework SMM driver.

Signed-off-by: rsun3
Reviewed-by: jfan12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12230 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate CSM module to provide the general solution when the Timer Arch Protocol is...
li-elvin [Tue, 30 Aug 2011 05:52:28 +0000 (05:52 +0000)]
Update CSM module to provide the general solution when the Timer Arch Protocol is not 8254 timer. CSM module should set 8254 timer to 54ms for the execution in real mode.

Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12229 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg: Add ACPI S3 Save State drivers
jljusten [Mon, 29 Aug 2011 22:19:48 +0000 (22:19 +0000)]
MdeModulePkg: Add ACPI S3 Save State drivers

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12228 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUefiCpuPkg: Add S3Resume2Pei PEIM
jljusten [Mon, 29 Aug 2011 22:19:13 +0000 (22:19 +0000)]
UefiCpuPkg: Add S3Resume2Pei PEIM

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12227 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg: Add PostBootScriptTable PPI
jljusten [Mon, 29 Aug 2011 22:18:48 +0000 (22:18 +0000)]
MdeModulePkg: Add PostBootScriptTable PPI

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12226 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg: Add BootScriptExecutorDxe driver
jljusten [Mon, 29 Aug 2011 22:18:19 +0000 (22:18 +0000)]
MdeModulePkg: Add BootScriptExecutorDxe driver

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12225 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg: Add PiDxeS3BootScriptLib
jljusten [Mon, 29 Aug 2011 22:17:27 +0000 (22:17 +0000)]
MdeModulePkg: Add PiDxeS3BootScriptLib

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12224 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs
jljusten [Mon, 29 Aug 2011 22:16:50 +0000 (22:16 +0000)]
MdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12223 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdePkg: Add S3 library interfaces and base implementations
jljusten [Mon, 29 Aug 2011 22:16:28 +0000 (22:16 +0000)]
MdePkg: Add S3 library interfaces and base implementations

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12222 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoIntelFrameworkModulePkg: Add AcpiSupportDxe driver
jljusten [Mon, 29 Aug 2011 22:15:21 +0000 (22:15 +0000)]
IntelFrameworkModulePkg: Add AcpiSupportDxe driver

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12221 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix issue with SMBIOS driver assumming memory exists below 4GB.
andrewfish [Mon, 29 Aug 2011 20:47:22 +0000 (20:47 +0000)]
Fix issue with SMBIOS driver assumming memory exists below 4GB.

approved-by: andrewfish
reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12220 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in Duet, Unix...
lgao4 [Mon, 29 Aug 2011 13:36:03 +0000 (13:36 +0000)]
Fix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in Duet, Unix and Emulator platform.

Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12218 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove unnecessary global macros in SecMain.inf.
niruiyu [Mon, 29 Aug 2011 04:58:13 +0000 (04:58 +0000)]
Remove unnecessary global macros in SecMain.inf.

Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12217 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoSync BaseTools Branch (version r2271) to EDKII main trunk.
lgao4 [Fri, 26 Aug 2011 07:49:27 +0000 (07:49 +0000)]
Sync BaseTools Branch (version r2271) to EDKII main trunk.

  BaseTool Branch:

Signed-off-by: lgao4
Reviewed-by: hchen30
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12215 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoSync BaseTools Branch (version r2271) to EDKII main trunk.
lgao4 [Fri, 26 Aug 2011 07:46:26 +0000 (07:46 +0000)]
Sync BaseTools Branch (version r2271) to EDKII main trunk.

  BaseTool Branch:

Signed-off-by: lgao4
Reviewed-by: hchen30
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12214 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFixed memory leak and buffer overrun for string op-code.
ydong10 [Fri, 26 Aug 2011 01:54:49 +0000 (01:54 +0000)]
Fixed memory leak and buffer overrun for string op-code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12213 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg: Define PPI to convey performance information from SEC phase to PEI.
xdu2 [Thu, 25 Aug 2011 12:03:53 +0000 (12:03 +0000)]
MdeModulePkg: Define PPI to convey performance information from SEC phase to PEI.

Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12212 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoIntelFrameworkModulePkg/GenericBdsLib: update GenericBdsLib to report status code...
xdu2 [Thu, 25 Aug 2011 11:58:51 +0000 (11:58 +0000)]
IntelFrameworkModulePkg/GenericBdsLib: update GenericBdsLib to report status code for OS Loader Load and OS Loader Start.

Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12211 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg: Add OEM specific Report Status Code definition for OS Loader Load,...
xdu2 [Thu, 25 Aug 2011 11:58:19 +0000 (11:58 +0000)]
MdeModulePkg: Add OEM specific Report Status Code definition for OS Loader Load, OS Loader Start, S3 Suspend Start and S3 Suspend End.

Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12210 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFixed build error reported by ICC and GCC
erictian [Thu, 25 Aug 2011 10:19:11 +0000 (10:19 +0000)]
Fixed build error reported by ICC and GCC

Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12209 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRestoreLockBox in DXE with Length NULL, Buffer NULL will fail to get data from Lockbo...
li-elvin [Thu, 25 Aug 2011 08:25:13 +0000 (08:25 +0000)]
RestoreLockBox in DXE with Length NULL, Buffer NULL will fail to get data from Lockbox. Fix this issue.

Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12208 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd a PcdPs2KbdExtendedVerification to let user to choose whether extend reset for...
li-elvin [Thu, 25 Aug 2011 08:23:00 +0000 (08:23 +0000)]
Add a PcdPs2KbdExtendedVerification to let user to choose whether extend reset for keyboard driver in start (). Add more debug information in the driver.

Signed-off-by: li-elvin
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12207 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in...
xdu2 [Thu, 25 Aug 2011 05:59:17 +0000 (05:59 +0000)]
Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds.

Signed-off-by: xdu2
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd UEFI_APPLICATION module type support for the capsule lib.
niruiyu [Thu, 25 Aug 2011 05:37:55 +0000 (05:37 +0000)]
Add UEFI_APPLICATION module type support for the capsule lib.

Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12205 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoError handling refinement at UsbIoResetPort() to avoid device state machine getting...
erictian [Thu, 25 Aug 2011 05:13:22 +0000 (05:13 +0000)]
Error handling refinement at UsbIoResetPort() to avoid device state machine getting corrupted when the device disconnect happens

Signed-off-by: erictian
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12204 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRaise TPL to prevent the BlockIo instance for USB device is removed during the locati...
niruiyu [Thu, 25 Aug 2011 03:55:39 +0000 (03:55 +0000)]
Raise TPL to prevent the BlockIo instance for USB device is removed during the locating the instance and using it.

Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12203 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix build crash while using MSFT to build OVMF, also fix some build warning report...
gikidy [Thu, 25 Aug 2011 03:19:57 +0000 (03:19 +0000)]
Fix build crash while using MSFT to build OVMF, also fix some build warning report for PCD type issues.

Signed-off-by: gikidy
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12202 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able...
tye1 [Wed, 24 Aug 2011 10:55:55 +0000 (10:55 +0000)]
Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able to function properly in UEFI2.1 platform.

Signed-off-by: tye1
Reviewed-by: lgao4
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12198 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able...
tye1 [Wed, 24 Aug 2011 10:53:54 +0000 (10:53 +0000)]
Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able to function properly in UEFI2.1 platform.

Signed-off-by: tye
Reviewed-by: lgao4
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12197 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to follow coding style.
ydong10 [Wed, 24 Aug 2011 10:10:33 +0000 (10:10 +0000)]
Refine code to follow coding style.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12196 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove CONST modifier to be spec compliance
erictian [Wed, 24 Aug 2011 09:43:08 +0000 (09:43 +0000)]
Remove CONST modifier to be spec compliance

Signed-off-by: erictian
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12195 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove CONST modifier to be spec compliance
erictian [Wed, 24 Aug 2011 09:38:10 +0000 (09:38 +0000)]
Remove CONST modifier to be spec compliance

Signed-off-by: erictian
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12194 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove CONST modifier to be spec compliance
erictian [Wed, 24 Aug 2011 09:37:08 +0000 (09:37 +0000)]
Remove CONST modifier to be spec compliance

Signed-off-by: erictian
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12193 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Refine the error handling when the PXE-v4 DHCP offer isn't valid
hhuan13 [Wed, 24 Aug 2011 08:53:22 +0000 (08:53 +0000)]
1. Refine the error handling when the PXE-v4 DHCP offer isn't valid

Signed-off-by: hhuan13
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12192 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Refine the error handling for PXE-v4 driver.
hhuan13 [Wed, 24 Aug 2011 08:48:23 +0000 (08:48 +0000)]
1. Refine the error handling for PXE-v4 driver.

Signed-off-by: hhuan13
Reviewed-by: xdu2, tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12191 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate SMM Core to use SMM Mode as soon as SMM Mode is available
mdkinney [Wed, 24 Aug 2011 06:49:21 +0000 (06:49 +0000)]
Update SMM Core to use SMM Mode as soon as SMM Mode is available

Signed-off-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12190 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to follow coding style.
ydong10 [Wed, 24 Aug 2011 06:41:27 +0000 (06:41 +0000)]
Refine code to follow coding style.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12189 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine file comments to follow coding style.
ydong10 [Wed, 24 Aug 2011 05:40:11 +0000 (05:40 +0000)]
Refine file comments to follow coding style.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12188 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: fix ShellPrint-functions to allow for escape character to prevent attribute...
jcarsey [Tue, 23 Aug 2011 15:34:23 +0000 (15:34 +0000)]
ShellPkg: fix ShellPrint-functions to allow for escape character to prevent attribute changes.

This allows for the editors to function easily.

signed-off-by: jcarsey
reviewed-by: kidzyoung

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12187 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: fix build error when converting INTN to INT32.
jcarsey [Tue, 23 Aug 2011 15:32:49 +0000 (15:32 +0000)]
ShellPkg: fix build error when converting INTN to INT32.

signed-off-by: jcarsey
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12186 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnabling usb3.0 XHCI support.
erictian [Tue, 23 Aug 2011 14:36:33 +0000 (14:36 +0000)]
Enabling usb3.0 XHCI support.

Signed-off-by: erictian
Reviewed-by: jshi19
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12185 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremove some const modifier to spec compliance.
erictian [Tue, 23 Aug 2011 14:31:40 +0000 (14:31 +0000)]
remove some const modifier to spec compliance.

Signed-off-by: erictian
Reviewed-by: jshi19
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12184 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd the missing SMBIOS_TABLE_TYPE42 pointer in SMBIOS_STRUCTURE_POINTER.
lzeng14 [Tue, 23 Aug 2011 11:25:06 +0000 (11:25 +0000)]

Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12183 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd documentation on how to build for execution within an emulation environment.
darylm503 [Mon, 22 Aug 2011 19:30:51 +0000 (19:30 +0000)]
Add documentation on how to build for execution within an emulation environment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12182 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/BdsLib: InitrdImageSize was not initialized when no initrd was
oliviermartin [Mon, 22 Aug 2011 11:01:44 +0000 (11:01 +0000)]
ArmPkg/BdsLib: InitrdImageSize was not initialized when no initrd was

The PrepareAtagList function is using this variable to determine if a
initrd was passed to the kernel.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12181 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix GCC build error.
lzeng14 [Mon, 22 Aug 2011 05:38:36 +0000 (05:38 +0000)]
Fix GCC build error.

Signed-off-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12180 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/BdsLib: Fixed parameters passed to AllocatePages()
oliviermartin [Fri, 19 Aug 2011 15:37:16 +0000 (15:37 +0000)]
ArmPkg/BdsLib: Fixed parameters passed to AllocatePages()

Typo issue ...

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12176 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRevert last commit about "Clean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH...
gikidy [Fri, 19 Aug 2011 03:13:58 +0000 (03:13 +0000)]
Revert last commit about "Clean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH and remove DevicePath.h file."

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12175 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoClean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH and remove DevicePath.h...
gikidy [Fri, 19 Aug 2011 02:54:24 +0000 (02:54 +0000)]
Clean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH and remove DevicePath.h file.

Signed-off-by: gikidy
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12174 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoSimplify the SmmPeriodicSmiLib to call AllocatePool() for every entry in the SMI...
niruiyu [Fri, 19 Aug 2011 01:37:47 +0000 (01:37 +0000)]
Simplify the SmmPeriodicSmiLib to call AllocatePool() for every entry in the SMI periodic handler list.

Signed-off-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12173 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg: Changed the reference base of the PI Global Pointer Offset
oliviermartin [Thu, 18 Aug 2011 22:02:20 +0000 (22:02 +0000)]
ArmPlatformPkg: Changed the reference base of the PI Global Pointer Offset

Before the PI Global Pointer Offsets were refered to the top of the Global Pointer region (negative offset).
After this commit the Global Pointer Offset are relative to the base of the Global Pointer region.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12172 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoBeagleBoardPkg: Use gArmTokenSpaceGuid.PcdSystemMemoryBase/Size to define System...
oliviermartin [Thu, 18 Aug 2011 21:15:50 +0000 (21:15 +0000)]
BeagleBoardPkg: Use gArmTokenSpaceGuid.PcdSystemMemoryBase/Size to define System Memory

These PCDs are used by ArmPlatformPkg/Bds to know where to load the Linux kernel and its parameters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12171 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/BdsLib: Allocate memory with AnyPage type if it failed with the one initially...
oliviermartin [Thu, 18 Aug 2011 21:11:27 +0000 (21:11 +0000)]
ArmPkg/BdsLib: Allocate memory with AnyPage type if it failed with the one initially requested

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12170 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/Bds: Add Linux 'initrd' support to BDS
oliviermartin [Thu, 18 Aug 2011 13:21:14 +0000 (13:21 +0000)]
ArmPlatformPkg/Bds: Add Linux 'initrd' support to BDS

An 'initrd' file can be specified for a Linux kernel.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12169 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/Bds: Add return carriage after the user presses 'ESC'
oliviermartin [Thu, 18 Aug 2011 11:29:26 +0000 (11:29 +0000)]
ArmPlatformPkg/Bds: Add return carriage after the user presses 'ESC'

Otherwise, the next line of the boot menu was on the same line as the 'escaped' one.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12168 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/PrePiHobListPointerLib: Fixed pointer calculation
oliviermartin [Thu, 18 Aug 2011 11:23:28 +0000 (11:23 +0000)]
ArmPlatformPkg/PrePiHobListPointerLib: Fixed pointer calculation

In the PrePi module, the global variables are located at the top of the stack.
At the opposite of the PeiCore where the global variables are located in the
middle of the stack. The top stack region is reserved for Temporary Memory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12167 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/PrePi: Removed harcoded HobList pointer calculation to use PrePeiHobLi...
oliviermartin [Thu, 18 Aug 2011 11:17:09 +0000 (11:17 +0000)]
ArmPlatformPkg/PrePi: Removed harcoded HobList pointer calculation to use PrePeiHobListPointerLib function

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12166 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg: Fix ARMGCC build
oliviermartin [Thu, 18 Aug 2011 11:12:39 +0000 (11:12 +0000)]
ArmPkg: Fix ARMGCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12165 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/PrePi: Removed second initialization of DebugAgenLib
oliviermartin [Thu, 18 Aug 2011 10:17:59 +0000 (10:17 +0000)]
ArmPlatformPkg/PrePi: Removed second initialization of DebugAgenLib

This second initialization does not make sense in this context.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12164 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/SP804TimerLib: Fix delay functions to be reentrant
oliviermartin [Thu, 18 Aug 2011 10:14:33 +0000 (10:14 +0000)]
ArmPlatformPkg/SP804TimerLib: Fix delay functions to be reentrant

In the previous implementation, if the MicroSecondDelay or NanoSecondDelay
were called while a delay function was already running, the timer HW controller
was reinitialized with the new settings and it was discarding the settings
of the first called delay function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12163 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/SP804TimerLib: Fixed macro timer base addresses
oliviermartin [Thu, 18 Aug 2011 10:06:38 +0000 (10:06 +0000)]
ArmPlatformPkg/SP804TimerLib: Fixed macro timer base addresses

The base address for the Metronome and Performance timer were reverted.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12162 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOmap35xxPkg/Library/RealTimeClockLib: Add RTC Support
oliviermartin [Thu, 18 Aug 2011 10:02:15 +0000 (10:02 +0000)]
Omap35xxPkg/Library/RealTimeClockLib: Add RTC Support

Omap35xxPkg/MmcHostDxe: Implement MmcHost protocol for Omap35xx

BeagleBoardPkg: Use Omap35xx RTC and MmcHost drivers

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12161 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOmap35xxPkg/MMCHSDxe: Fixed initialization when started from gBS->ConnectController()
oliviermartin [Thu, 18 Aug 2011 09:20:17 +0000 (09:20 +0000)]
Omap35xxPkg/MMCHSDxe: Fixed initialization when started from gBS->ConnectController()

As soon as the MMCHSDxe is initialized is reinstalled its protocol.
It was crashing when the PartitionDxe was scanning for partition headers and the the MMC driver
reinstalls its protocols in the same time. The initial DiskIo and BlockIo instances used
by PartitionDxe were not valid after this reinstallation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12160 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdded 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.
vanjeff [Thu, 18 Aug 2011 02:54:57 +0000 (02:54 +0000)]
Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.

Signed-off-by: vanjeff
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12159 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdated GCD implementation to consume the correct EFI Resources Attributes(Capabiliti...
vanjeff [Thu, 18 Aug 2011 02:05:46 +0000 (02:05 +0000)]
Updated GCD implementation to consume the correct EFI Resources Attributes(Capabilities) instead of the wrong EFI Resources Attributes(Settings).
ASSERT() if memory resource HOB includes protect memory setting but not included the corresponding protect memory capabilities

Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12158 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix mismatch between the declaration and definition of fwrite.
darylm503 [Thu, 18 Aug 2011 02:05:30 +0000 (02:05 +0000)]
Fix mismatch between the declaration and definition of fwrite.
The first parameter should be const void * instead of void *.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12157 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdded 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.
vanjeff [Thu, 18 Aug 2011 02:01:51 +0000 (02:01 +0000)]
Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.

Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12156 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRe-enable the declaration for ftello.
darylm503 [Thu, 18 Aug 2011 01:56:05 +0000 (01:56 +0000)]
Re-enable the declaration for ftello.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12155 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/SmbiosPlatformDxe: Fix Visual Studio build issue
jljusten [Wed, 17 Aug 2011 23:30:34 +0000 (23:30 +0000)]
OvmfPkg/SmbiosPlatformDxe: Fix Visual Studio build issue

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12154 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate or add comments to files and functions for use by Doxygen.
darylm503 [Wed, 17 Aug 2011 22:54:56 +0000 (22:54 +0000)]
Update or add comments to files and functions for use by Doxygen.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12153 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAllocate memory buffer to store TscFrequency, and InstallConfigurationTable with...
lzeng14 [Wed, 17 Aug 2011 07:30:34 +0000 (07:30 +0000)]
Allocate memory buffer to store TscFrequency, and InstallConfigurationTable with the pointer to this buffer.

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12151 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove the blank line.
lgao4 [Wed, 17 Aug 2011 05:04:33 +0000 (05:04 +0000)]
Remove the blank line.

Signed-off-by: lgao4
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12150 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd IScsiDxe driver to NetworkPkg in order to support iSCSI over IPv6 stack and iSCSI...
tye1 [Wed, 17 Aug 2011 02:38:08 +0000 (02:38 +0000)]
Add IScsiDxe driver to NetworkPkg in order to support iSCSI over IPv6 stack and iSCSI MPIO.

Signed-off-by: tye1
Reviewed-by: hhuan13
Reviewed-by: eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12149 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Add Uefi231 secure boot related definitions
hhuan13 [Tue, 16 Aug 2011 07:16:02 +0000 (07:16 +0000)]
1. Add Uefi231 secure boot related definitions

Signed-off-by: hhuan13
Reviewed-by: tye, qlong
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12143 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd new interfaces to support PKCS7#7 signed data and authenticode signature. Update...
tye1 [Tue, 16 Aug 2011 06:46:52 +0000 (06:46 +0000)]
Add new interfaces to support PKCS7#7 signed data and authenticode signature. Update Cryptest to validate functionality of new interfaces.

Signed-off-by: tye1
Reviewed-by: hhuan13
Reviewed-by: qlong
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12142 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1.Fix a icc build break
hhuan13 [Tue, 16 Aug 2011 06:25:47 +0000 (06:25 +0000)]
1.Fix a icc build break

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12141 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Add two performance measurement points for SMM performance measurement;
rsun3 [Tue, 16 Aug 2011 02:58:20 +0000 (02:58 +0000)]
1. Add two performance measurement points for SMM performance measurement;
2. Introduce SmmCorePlatformHookLib library class defining two platform hook points. Update PI Smm Core to call the hook points before and after invoking registered SMI handlers. A NULL instance of this library class is implemented.

Note that after this check in, DSC files consuming the PiSmmCore.inf need to be updated to add a library instance for SmmCorePlatformHookLib library class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12140 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate or add comments to files and functions for use by Doxygen.
darylm503 [Mon, 15 Aug 2011 19:05:36 +0000 (19:05 +0000)]
Update or add comments to files and functions for use by Doxygen.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12139 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/DebugAgentSymbolsOnlyLib: Fix the Firmware Base Address containing the Sec...
oliviermartin [Mon, 15 Aug 2011 17:00:09 +0000 (17:00 +0000)]
ArmPkg/DebugAgentSymbolsOnlyLib: Fix the Firmware Base Address containing the Sec module

The previous version was using the FD base address. But the FV base address
should be used instead.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12138 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/ArmDmaLib: Fix coherency issues in DmaLib
oliviermartin [Mon, 15 Aug 2011 16:55:05 +0000 (16:55 +0000)]
ArmPkg/ArmDmaLib: Fix coherency issues in DmaLib

Some coherencies issues were existing in the former version of DmaLib.
These issues could have for consequences to not make the MdeModulePkg/Bus/Usb
software stack not work.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12137 6f19259b-4bc3-4df7-8a09-765794883524