mirror_edk2.git
10 years agoEmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Mode
oliviermartin [Fri, 3 Jun 2011 09:09:18 +0000 (09:09 +0000)]
EmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Mode

The MMC controller might be ready for data but not be in a 'ready' state
to send or receive commands.
This fix waits for the MMC controller to be in the correct state.

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

10 years agoEmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg
oliviermartin [Fri, 3 Jun 2011 09:07:31 +0000 (09:07 +0000)]
EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg

The MmcDxe is not ARM architecture specific.

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

10 years agoGet BlockIo mapping interfaces working. Still need to work on detecting block size...
andrewfish [Fri, 3 Jun 2011 03:31:32 +0000 (03:31 +0000)]
Get BlockIo mapping interfaces working. Still need to work on detecting block size of devices, but you can map a .dmg file no problem at this point.

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

10 years agoFix the issue when checking the value of KeyDescriptor->Modifier to see if it was...
vanjeff [Thu, 2 Jun 2011 06:51:59 +0000 (06:51 +0000)]
Fix the issue when checking the value of KeyDescriptor->Modifier to see if it was out of bounds.

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

10 years agoAdd return status check for SetVariable.
niruiyu [Thu, 2 Jun 2011 01:48:33 +0000 (01:48 +0000)]
Add return status check for SetVariable.

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

10 years agoAdd new definition for XHCI support
erictian [Wed, 1 Jun 2011 05:12:19 +0000 (05:12 +0000)]
Add new definition for XHCI support

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

10 years ago1. Add error handling for PXE-IPV6.
hhuan13 [Wed, 1 Jun 2011 03:30:05 +0000 (03:30 +0000)]
1. Add error handling for PXE-IPV6.

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

10 years agoMake shell not ASSERT on older versions of EFI. On a Mac if you soft load Hii, Device...
andrewfish [Wed, 1 Jun 2011 02:27:02 +0000 (02:27 +0000)]
Make shell not ASSERT on older versions of EFI. On a Mac if you soft load Hii, DevicePathToText, and ComponentName drivers from edk2, then with this patch the new Shell will run.

Reviewed by: jcarsey

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

10 years agoAdd BlockIO support to the emulator, still needs testing. Also update Emulator start...
andrewfish [Tue, 31 May 2011 20:23:36 +0000 (20:23 +0000)]
Add BlockIO support to the emulator, still needs testing. Also update Emulator start code to only pass 2 args in place of 3. The 3rd argument is not needed. Still need a function as the BaseLib functoin does not have the correct calling conventions. Cleanup build script for binary shell case.

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

10 years agoFix the bug that WinNtBlockIo fails to properly allocate a buffer.
niruiyu [Tue, 31 May 2011 05:56:20 +0000 (05:56 +0000)]
Fix the bug that WinNtBlockIo fails to properly allocate a buffer.

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

10 years agoUpdate the comments of InstallConfigurationTable to follow UEFI Spec.
niruiyu [Tue, 31 May 2011 03:15:58 +0000 (03:15 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.

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

10 years agoUpdate the comments of InstallConfigurationTable to follow UEFI Spec.
niruiyu [Tue, 31 May 2011 03:14:30 +0000 (03:14 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.

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

10 years agoUpdate the IPsec driver to check in invalid parameter of ProcessExt() according to...
qianouyang [Tue, 31 May 2011 02:03:57 +0000 (02:03 +0000)]
Update the IPsec driver to check in invalid parameter of ProcessExt() according to UEFI Spec.

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

10 years agoAdd new call back return value; also add some sample code to use it.
ydong10 [Tue, 31 May 2011 00:59:15 +0000 (00:59 +0000)]
Add new call back return value; also add some sample code to use it.

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

10 years agoUpdate code to pass packaging tool.
lzeng14 [Mon, 30 May 2011 09:56:57 +0000 (09:56 +0000)]
Update code to pass packaging tool.

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

10 years agoMdeModulePkg: Fixed memory corruption when BlockIo2 is not present
geekboy15a [Fri, 27 May 2011 20:04:45 +0000 (20:04 +0000)]
MdeModulePkg: Fixed memory corruption when BlockIo2 is not present

Fixed NULL pointer reference of BlockIo2.Media in partition code.  This resulted
in the interrupt vector table being corrupted in a legacy (CSM) based system.

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

10 years ago1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling...
vanjeff [Fri, 27 May 2011 05:30:30 +0000 (05:30 +0000)]
1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling GraphicConSoleConOutSetPosition().
2. Rename the internal function name EraseCursor() to FlushCursor() to remove the confusion on this function name. And add detailed function description for it.

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

10 years agoUpdate the comments to describe the purpose of Removable array.
niruiyu [Fri, 27 May 2011 03:24:34 +0000 (03:24 +0000)]
Update the comments to describe the purpose of Removable array.

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

10 years agoSync BaseTools Branch (version r2161) to EDKII main trunk.
lgao4 [Thu, 26 May 2011 07:35:18 +0000 (07:35 +0000)]
Sync BaseTools Branch (version r2161) to EDKII main trunk.

  BaseTool Branch:
  https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100

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

10 years agoOriginally BDS only creates boot options for removable media, the patch creates boot...
niruiyu [Thu, 26 May 2011 06:34:07 +0000 (06:34 +0000)]
Originally BDS only creates boot options for removable media, the patch creates boot options for fixed media as well.

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

10 years agoAdd more status code in drivers.
li-elvin [Thu, 26 May 2011 06:29:30 +0000 (06:29 +0000)]
Add more status code in drivers.

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

10 years agoAdd more status code in drivers.
li-elvin [Thu, 26 May 2011 06:28:21 +0000 (06:28 +0000)]
Add more status code in drivers.

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

10 years agoFix ICC build break.
lgao4 [Thu, 26 May 2011 04:53:24 +0000 (04:53 +0000)]
Fix ICC build break.
Signed-off-by: lgao4
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11704 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove ASSERT within Ls for RTC error and associated changes.
jcarsey [Wed, 25 May 2011 22:29:40 +0000 (22:29 +0000)]
Remove ASSERT within Ls for RTC error and associated changes.

TimeDate.c: replace magic number with constant.
Ls.c: use new warning printout string and remove an ASSERT.  also replace magic number with constant.
The UNI file: add new warning printout string.

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

10 years agoSync BaseTools Branch (version r2157) to EDKII main trunk.
lgao4 [Wed, 25 May 2011 10:45:15 +0000 (10:45 +0000)]
Sync BaseTools Branch (version r2157) to EDKII main trunk.

  BaseTool Branch:
  https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100

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

10 years agoFix ICC build break.
ydong10 [Wed, 25 May 2011 08:15:05 +0000 (08:15 +0000)]
Fix ICC build break.

Signed-off-by: ydong10
Reviewed-by:

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

10 years agoMake sure the return value of MapKey is correct by moving the assignment into memory...
erictian [Wed, 25 May 2011 03:04:31 +0000 (03:04 +0000)]
Make sure the return value of MapKey is correct by moving the assignment into memory lock protection region

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

10 years agoCpuDxe entry point () only register exception handlers unassigned before.
vanjeff [Wed, 25 May 2011 02:35:34 +0000 (02:35 +0000)]
CpuDxe entry point () only register exception handlers unassigned before.

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

10 years agoAdd the DriverFamilyOverride support in DxeCore.
niruiyu [Tue, 24 May 2011 03:32:42 +0000 (03:32 +0000)]
Add the DriverFamilyOverride support in DxeCore.

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

10 years agoUpdate BasePrintLib to handle the unaligned GUID.
lgao4 [Tue, 24 May 2011 02:08:31 +0000 (02:08 +0000)]
Update BasePrintLib to handle the unaligned GUID.

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

10 years agoPer PI 1.2 errata B spec, for SetMemoryAttributes() service of CPU Architecture Proto...
rsun3 [Tue, 24 May 2011 01:56:29 +0000 (01:56 +0000)]
Per PI 1.2 errata B spec, for SetMemoryAttributes() service of CPU Architecture Protocol, EFI_INVALID_PARAMETER should be returned for cases:
If Attributes specifies a combination of memory attributes that cannot be set together, then EFI_INVALID_PARAMETER is returned. For example, if both EFI_MEMORY_UC and EFI_MEMORY_WT are set.

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

10 years agoFixed SCT test failed caused by driver sample.
ydong10 [Mon, 23 May 2011 14:13:08 +0000 (14:13 +0000)]
Fixed SCT test failed caused by driver sample.

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

10 years agoChange Partition/ScsiDxe driver to produce Block IO revision 3.
niruiyu [Mon, 23 May 2011 07:47:19 +0000 (07:47 +0000)]
Change Partition/ScsiDxe driver to produce Block IO revision 3.

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

10 years agoAdd BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to UefiScsiLib.
niruiyu [Mon, 23 May 2011 07:45:40 +0000 (07:45 +0000)]
Add BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to UefiScsiLib.

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

10 years agoAdd core SMBIOS 2.7.0 and 2.7.1 support.
lzeng14 [Mon, 23 May 2011 04:24:51 +0000 (04:24 +0000)]
Add core SMBIOS 2.7.0 and 2.7.1 support.

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

10 years agoAdd core SMBIOS 2.7.0 and 2.7.1 support.
lzeng14 [Mon, 23 May 2011 03:24:12 +0000 (03:24 +0000)]
Add core SMBIOS 2.7.0 and 2.7.1 support.

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

10 years agoAdd two new methods to get default value, also add sample code in sample driver.
ydong10 [Fri, 20 May 2011 02:58:35 +0000 (02:58 +0000)]
Add two new methods to get default value, also add sample code in sample driver.
Add sample code to use time opcode

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

10 years agoAdd new definition used for new call back return type and new action type.
ydong10 [Fri, 20 May 2011 02:56:26 +0000 (02:56 +0000)]
Add new definition used for new call back return type and new action type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11687 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine some call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 02:48:59 +0000 (02:48 +0000)]
Refine some call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11686 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOrder sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocol...
lzeng14 [Fri, 20 May 2011 02:25:12 +0000 (02:25 +0000)]
Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].

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

10 years agoOrder sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocol...
lzeng14 [Fri, 20 May 2011 02:21:35 +0000 (02:21 +0000)]
Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].

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

10 years agoOrder sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocol...
lzeng14 [Fri, 20 May 2011 02:14:48 +0000 (02:14 +0000)]
Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].

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

10 years agoRefine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 01:58:48 +0000 (01:58 +0000)]
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11682 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 01:33:42 +0000 (01:33 +0000)]
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11681 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 01:28:17 +0000 (01:28 +0000)]
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11680 6f19259b-4bc3-4df7-8a09-765794883524

10 years agofix memory leak at AccessAtaDevice() of AtaBus.
erictian [Thu, 19 May 2011 09:40:42 +0000 (09:40 +0000)]
fix memory leak at AccessAtaDevice() of AtaBus.

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

10 years agoUpdate the function's descriptions (which is in AtaBus, AtaAtapiPassThru, Partition...
qianouyang [Thu, 19 May 2011 06:12:58 +0000 (06:12 +0000)]
Update the function's descriptions (which is in AtaBus, AtaAtapiPassThru, Partition drivers) to make them be consistent with the code.

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

10 years agoupdate due to a DSC error.
jcarsey [Tue, 17 May 2011 20:55:57 +0000 (20:55 +0000)]
update due to a DSC error.

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

10 years agoClarify an error in Map command.
jcarsey [Tue, 17 May 2011 20:32:47 +0000 (20:32 +0000)]
Clarify an error in Map command.
Revert a change in Map command that affected some consistent map names being printed correctly.
Fix a library instance mapping in DSC.

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

10 years agoCalculateSum8() and CalculateSum16() defined in BaseLib are used to calculate checksum.
lzeng14 [Tue, 17 May 2011 12:13:35 +0000 (12:13 +0000)]
CalculateSum8() and CalculateSum16() defined in BaseLib are used to calculate checksum.

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

10 years agoChange the type of the IoData field of EFI_SMM_SAVE_STATE_IO_INFO from UINTN to UINT6...
rsun3 [Tue, 17 May 2011 10:04:08 +0000 (10:04 +0000)]
Change the type of the IoData field of EFI_SMM_SAVE_STATE_IO_INFO from UINTN to UINT64 to follow the PI spec.

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

10 years agoAccording to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should be 8-bit...
lzeng14 [Tue, 17 May 2011 08:56:03 +0000 (08:56 +0000)]
According to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should be 8-bit checksum of the file data, not the entire file, correct the comments.

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

10 years agoA complement fix for revision 11664 to update GCC assembly files : clear the directio...
rsun3 [Tue, 17 May 2011 08:35:20 +0000 (08:35 +0000)]
A complement fix for revision 11664 to update GCC assembly files : clear the direction flag in interrupt/exception handlers' assembly entry code before calling C functions to follow the UEFI calling convention.

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

10 years agoCleanup MpService interface. Still needs more testing, but now it is much closer...
andrewfish [Tue, 17 May 2011 03:48:27 +0000 (03:48 +0000)]
Cleanup MpService interface. Still needs more testing, but now it is much closer to PI spec.

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

10 years agoFixed an error when parse time opcode.
ydong10 [Tue, 17 May 2011 01:27:05 +0000 (01:27 +0000)]
Fixed an error when parse time opcode.

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

10 years agoadd required 'profiles.txt' file to the binary releases.
jcarsey [Mon, 16 May 2011 22:20:11 +0000 (22:20 +0000)]
add required 'profiles.txt' file to the binary releases.
add 'minimal' version of the shell (without any profiles).
update to current ShellPkg tip version.

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

10 years agoadd support to easily remove profiles and shell levels. the libraries will not do...
jcarsey [Mon, 16 May 2011 22:12:20 +0000 (22:12 +0000)]
add support to easily remove profiles and shell levels.  the libraries will not do anything (but no longer fail), if the PCDs are changed to remove their functionality.

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

10 years agoadded support for -i and -o for HII based configurations.
jcarsey [Mon, 16 May 2011 21:08:34 +0000 (21:08 +0000)]
added support for -i and -o for HII based configurations.
added support for all EFI_DRIVER_CONFIGURATION(2) based configurations.
added support for display of all configurable handles.

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

10 years agoClear the direction flag in interrupt/exception handlers' assembly entry code before...
rsun3 [Mon, 16 May 2011 06:10:42 +0000 (06:10 +0000)]
Clear the direction flag in interrupt/exception handlers' assembly entry code before calling C functions to follow the UEFI calling convention.

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

10 years agoInOsEmuPkg/Unix: Return scan code for Pause key
jljusten [Mon, 16 May 2011 04:47:53 +0000 (04:47 +0000)]
InOsEmuPkg/Unix: Return scan code for Pause key

Port of UnixPkg r11659 change.

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

10 years agoInOsEmuPkg: Rename EmuPthreadThunk to EmuThreadThunk
jljusten [Mon, 16 May 2011 04:47:40 +0000 (04:47 +0000)]
InOsEmuPkg: Rename EmuPthreadThunk to EmuThreadThunk

This reflects that the threading system may vary in the
OS/thunk layer.

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

10 years agoInOsEmuPkg PcdEmuFileSystem: Set to architecture independent path
jljusten [Mon, 16 May 2011 04:47:14 +0000 (04:47 +0000)]
InOsEmuPkg PcdEmuFileSystem: Set to architecture independent path

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

10 years agoInOsEmuPkg PosixFileSystem: Fix memory corruption issue
jljusten [Mon, 16 May 2011 04:47:00 +0000 (04:47 +0000)]
InOsEmuPkg PosixFileSystem: Fix memory corruption issue

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

10 years agoReturn scan code for Pause key.
vanjeff [Mon, 16 May 2011 02:56:43 +0000 (02:56 +0000)]
Return scan code for Pause key.

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

10 years agoReturn scan code for Pause key.
vanjeff [Mon, 16 May 2011 02:04:16 +0000 (02:04 +0000)]
Return scan code for Pause key.

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

10 years agoUpdate PS/2 keyboard driver to return scan code for Pause key.
vanjeff [Mon, 16 May 2011 02:00:34 +0000 (02:00 +0000)]
Update PS/2 keyboard driver to return scan code for Pause key.

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

10 years agoUpdate USB keyboard driver to return scan code for Pause key.
vanjeff [Mon, 16 May 2011 01:51:53 +0000 (01:51 +0000)]
Update USB keyboard driver to return scan code for Pause key.

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

10 years agoAdd definition of SCAN_PAUSE for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
vanjeff [Mon, 16 May 2011 01:49:42 +0000 (01:49 +0000)]
Add definition of SCAN_PAUSE for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.

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

10 years agoFix minor clang build issue.
andrewfish [Sun, 15 May 2011 17:34:49 +0000 (17:34 +0000)]
Fix minor clang build issue.

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

10 years agoInOsEmuPkg PcdEmuFileSystem: Match current setting in UnixPkg
jljusten [Sun, 15 May 2011 17:23:46 +0000 (17:23 +0000)]
InOsEmuPkg PcdEmuFileSystem: Match current setting in UnixPkg

The emulated filesystem support will crash
if a non-existent path is specified.

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

10 years agoInOsEmuPkg: Use EdkShellBinPkg by default
jljusten [Sun, 15 May 2011 17:23:33 +0000 (17:23 +0000)]
InOsEmuPkg: Use EdkShellBinPkg by default

The following can be defined on the build command line:
* BUILD_NEW_SHELL: Build & run the UefiShell
* USE_NEW_SHELL: Use the pre-build UefiShell binary
* BUILD_OLD_SHELL: Use the GCC shell binary previously built

For the FAT driver:
* BUILD_FAT: Build the fat driver from source

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

10 years agoInOsEmuPkg/Sec: Update assembly code when calling EFIAPI functions
jljusten [Sun, 15 May 2011 17:23:17 +0000 (17:23 +0000)]
InOsEmuPkg/Sec: Update assembly code when calling EFIAPI functions

For X64 the stack should be 16-byte aligned before calling a
function, and a register spill area should be reserved.

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

10 years agoInOsEmuPkg/Unix: Rebase firmware SEC image
jljusten [Sun, 15 May 2011 17:23:04 +0000 (17:23 +0000)]
InOsEmuPkg/Unix: Rebase firmware SEC image

Apply PE/COFF relocation to SEC image within the firmware
volume so it will be able to run at the address that
it was loaded.

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

10 years agoInOsEmuPkg: Match filename case of the generate FD file
jljusten [Sun, 15 May 2011 17:22:50 +0000 (17:22 +0000)]
InOsEmuPkg: Match filename case of the generate FD file

On systems with a case sensetive filesystem, this change
will allow the FD to be loaded.

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

10 years agoInOsEmuPkg: Fix warnings with GCC44 toolchain
jljusten [Sun, 15 May 2011 17:22:37 +0000 (17:22 +0000)]
InOsEmuPkg: Fix warnings with GCC44 toolchain

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

10 years agoInOsEmuPkg/Unix: Link to pthread library
jljusten [Sun, 15 May 2011 17:22:15 +0000 (17:22 +0000)]
InOsEmuPkg/Unix: Link to pthread library

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

10 years agoAdded generic EFIABI SEC to InOsEmuPkg. Add library to abstract FV cracking and remov...
andrewfish [Sat, 14 May 2011 16:00:22 +0000 (16:00 +0000)]
Added generic EFIABI SEC to InOsEmuPkg. Add library to abstract FV cracking and remove code from original Sec/OS App. Add a PeiServicesLib wrapper for SEC that uses passed in PEI list and can abstract FV reading. Don't load images for XIP code and just run from FV directly on Mac OS X, or from dlopen on Linux. Moved temp ram switch code into generic SEC. Fixed design issue with PeiServiceTablePointerLib.

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

10 years agoadd those missing device path nodes into the union structure of EFI_DEV_PATH and...
erictian [Fri, 13 May 2011 06:17:10 +0000 (06:17 +0000)]
add those missing device path nodes into the union structure of EFI_DEV_PATH and EFI_DEV_PTR

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

10 years agoAdd MP support. Based on PcdEmuApCount APs (Application Processors) are created in...
andrewfish [Fri, 13 May 2011 00:03:26 +0000 (00:03 +0000)]
Add MP support. Based on PcdEmuApCount APs (Application Processors) are created in the CpuRuntimeDxe driver. If PcdEmuApCount > 0 then the MpServices protocol is created on top of pthreads and the APs are availible to use vis the MpService protocol.

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

10 years agoClean up DEC files: Remove section header comment blocks that do not provide any...
hhtian [Thu, 12 May 2011 14:24:24 +0000 (14:24 +0000)]
Clean up DEC files: Remove section header comment blocks that do not provide any information

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

10 years agoFix bug where the config change to point to the executable ended up in one of my...
andrewfish [Wed, 11 May 2011 20:05:05 +0000 (20:05 +0000)]
Fix bug where the config change to point to the executable ended up in one of my local files that does not get checked in.

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

10 years agoAdd InOsEmuPkg. Like UnixPkg and Nt32Pkg, but EFI code can be common and does not...
andrewfish [Wed, 11 May 2011 18:31:20 +0000 (18:31 +0000)]
Add InOsEmuPkg. Like UnixPkg and Nt32Pkg, but EFI code can be common and does not require including system include files. Currently only Unix 64-bit is supported and it has only been tested on Mac OS X. Not all features are ported over, but GOP, via X11,  and access to local file systems are supported and you can boot to the shell.

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

10 years agoSync BaseTools Branch (version r2149) to EDKII main trunk.
lgao4 [Wed, 11 May 2011 10:26:49 +0000 (10:26 +0000)]
Sync BaseTools Branch (version r2149) to EDKII main trunk.

  BaseTool Branch:
  https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100

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

10 years agoRemove duplicate PCD declaration
mdkinney [Tue, 10 May 2011 19:20:18 +0000 (19:20 +0000)]
Remove duplicate PCD declaration

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:52:22 +0000 (17:52 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:51:58 +0000 (17:51 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:51:36 +0000 (17:51 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:51:18 +0000 (17:51 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:51:00 +0000 (17:51 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:50:40 +0000 (17:50 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:50:20 +0000 (17:50 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:49:59 +0000 (17:49 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:49:17 +0000 (17:49 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:48:32 +0000 (17:48 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoClean up DEC files:
mdkinney [Mon, 9 May 2011 17:48:14 +0000 (17:48 +0000)]
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

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

10 years agoAdd Pointer check for NULL before referring it and remove unnecessary pointer check...
qianouyang [Fri, 6 May 2011 07:15:41 +0000 (07:15 +0000)]
Add Pointer check for NULL before referring it and remove unnecessary pointer check in AtaAtapiPassThru and Partition Drivers.

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

10 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Thu, 5 May 2011 16:16:00 +0000 (16:16 +0000)]
Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx

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

10 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Thu, 5 May 2011 16:15:35 +0000 (16:15 +0000)]
Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx

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

10 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Thu, 5 May 2011 16:15:13 +0000 (16:15 +0000)]
Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx

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

10 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Wed, 4 May 2011 21:43:25 +0000 (21:43 +0000)]
Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx

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