12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Wed, 4 May 2011 21:42:19 +0000 (21:42 +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@11622 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Wed, 4 May 2011 21:42:00 +0000 (21:42 +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@11621 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Wed, 4 May 2011 21:41:39 +0000 (21:41 +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@11620 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
mdkinney [Wed, 4 May 2011 21:41:17 +0000 (21:41 +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@11619 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate 8259 PCDs to support Dynamic and DynamicEx and PatchableInModule
mdkinney [Wed, 4 May 2011 20:56:30 +0000 (20:56 +0000)]
Update 8259 PCDs to support Dynamic and DynamicEx and PatchableInModule

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

12 years agoAdd data type convert action to avoid warning.
ydong10 [Wed, 4 May 2011 03:40:43 +0000 (03:40 +0000)]
Add data type convert action to avoid warning.

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

12 years agoAdd new status code definition in PI 1.2 Errata B.
li-elvin [Wed, 4 May 2011 03:19:25 +0000 (03:19 +0000)]
Add new status code definition in PI 1.2 Errata B.

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

12 years ago1. Fixed a issue in Ip4Config.c
hhuan13 [Wed, 4 May 2011 03:15:49 +0000 (03:15 +0000)]
1. Fixed a issue in Ip4Config.c

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

12 years ago1. Enabled SSP(StorageSecurityCommandProtocol) for ATA devices.
hhuan13 [Wed, 4 May 2011 02:38:43 +0000 (02:38 +0000)]
1. Enabled SSP(StorageSecurityCommandProtocol) for ATA devices.

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

12 years ago1. Add definition for SSP(StorageSecurityCommand Protocol)
hhuan13 [Wed, 4 May 2011 02:37:23 +0000 (02:37 +0000)]
1. Add definition for SSP(StorageSecurityCommand Protocol)

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

12 years ago1.Move the definitions of SCAN_F11 and SCAN_F12 from SimpleTextIn.h to SimpleTextInEx...
vanjeff [Wed, 4 May 2011 01:06:43 +0000 (01:06 +0000)]
1.Move the definitions of SCAN_F11 and SCAN_F12 from SimpleTextIn.h to SimpleTextInEx.h because they are defined in Table - EFI Scan Codes for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
2.Include SimpleTextIn.h in SimpleTextInEx.h because EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL is an extension of the EFI_SIMPLE_TEXT_INPUT_PROTOCOL.
3.Include SimpleTextInEx.h in UefiSpec.h.

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

12 years agoRemove disabling keyboard/auxiliary interface in Driver Binding Protocol.Stop() of...
li-elvin [Wed, 4 May 2011 01:06:36 +0000 (01:06 +0000)]
Remove disabling keyboard/auxiliary interface in Driver Binding Protocol.Stop() of Ps2KeyboardDxe/Ps2MouseDxe/Ps2MouseAbsolutePointer driver so that PS/2 keyboard and mouse can be used with legacy option ROMs after all EFI drivers have been disconnected.

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

12 years agoAdd the definition of EFI_2_31_SYSTEM_TABLE_REVISION and update EFI_SYSTEM_TABLE_REVI...
vanjeff [Wed, 4 May 2011 01:01:42 +0000 (01:01 +0000)]

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

12 years agoCryptoPkg SysCall Lib: Fix warning with GCC in CrtWrapper.c
jljusten [Wed, 4 May 2011 00:56:33 +0000 (00:56 +0000)]
CryptoPkg SysCall Lib: Fix warning with GCC in CrtWrapper.c

Exit is declared to be 'noreturn' function, but GCC sees
that the empty function will return.  Therefore, GCC flags
a warning.

To work-around this, we use a function pointer, along with
a cast to force the code to think that a 'noreturn' function
is being called.

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

12 years agoCryptoPkg OpenSslSupport.h: Do not instantiate data in an include file
jljusten [Wed, 4 May 2011 00:56:11 +0000 (00:56 +0000)]
CryptoPkg OpenSslSupport.h: Do not instantiate data in an include file

Include files should never instantiate data.  Data should only
be referenced as an 'extern' within include files.

The previous code would generate a GCC warning, since the static
data items were not always referenced.

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

12 years agoAdd BlockIO2 Protocol definition.
qianouyang [Tue, 3 May 2011 18:50:46 +0000 (18:50 +0000)]
Add BlockIO2 Protocol definition.

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

12 years agoAdd BlockIO2 Protocol.
qianouyang [Tue, 3 May 2011 10:31:41 +0000 (10:31 +0000)]
Add BlockIO2 Protocol.

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

12 years agofix printout from SmbiosView command.
jcarsey [Mon, 2 May 2011 16:43:15 +0000 (16:43 +0000)]
fix printout from SmbiosView command.

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

12 years agoCorrect typo: GCC 5.4 --> GCC 4.5.
darylm503 [Thu, 28 Apr 2011 17:15:31 +0000 (17:15 +0000)]
Correct typo: GCC 5.4 --> GCC 4.5.
Change name from Intel(R) UADK to EADK, the EDK II Application Development Kit.
Add more information on restrictions present in this version.

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

12 years ago1. Fixed a bug to make sure IP,Mask,Gateway survives across rest in case "ifconfig...
hhuan13 [Thu, 28 Apr 2011 02:45:19 +0000 (02:45 +0000)]
1. Fixed a bug to make sure IP,Mask,Gateway survives across rest in case "ifconfig -s eth0 dhcp permenant".

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

12 years agofix too long lines.
jcarsey [Thu, 28 Apr 2011 01:39:31 +0000 (01:39 +0000)]
fix too long lines.

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

12 years agominor format update
hhtian [Thu, 28 Apr 2011 00:39:33 +0000 (00:39 +0000)]
minor format update

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

12 years agoStandard Libraries for EDK II.
darylm503 [Wed, 27 Apr 2011 21:42:16 +0000 (21:42 +0000)]
Standard Libraries for EDK II.
This set of three packages: AppPkg, StdLib, StdLibPrivateInternalFiles; contains the implementation of libraries based upon non-UEFI standards such as ISO/IEC-9899, the library portion of the C Language Standard, POSIX, etc.

AppPkg contains applications that make use of the standard libraries defined in the StdLib Package.

StdLib contains header (include) files and the implementations of the standard libraries.

StdLibPrivateInternalFiles contains files for the exclusive use of the library implementations in StdLib.  These files should never be directly referenced from applications or other code.

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

12 years agoEmbeddedPkg/LauterbachT32: Lauterbach T32 Debug Scripts
oliviermartin [Wed, 27 Apr 2011 17:21:31 +0000 (17:21 +0000)]
EmbeddedPkg/LauterbachT32: Lauterbach T32 Debug Scripts

These scripts are used for UEFI Source debugging with Lauterbach T32.
They can be used at different stages of the UEFI boot time.

A README.txt file explains how to use these scripts.

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

12 years agoArmPkg/PL180Mci: Fix build
oliviermartin [Wed, 27 Apr 2011 17:07:34 +0000 (17:07 +0000)]
ArmPkg/PL180Mci: Fix build

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

12 years agoArmPlatformPkg: Add missing ASM_PFX() macro in exception call back
oliviermartin [Wed, 27 Apr 2011 17:06:17 +0000 (17:06 +0000)]
ArmPlatformPkg: Add missing ASM_PFX() macro in exception call back

The ASM_PFX() was missing for some calls of the common exception callback.

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

12 years agoUpdating ShellBinPkg to include revision information in readme file.
jcarsey [Wed, 27 Apr 2011 16:56:27 +0000 (16:56 +0000)]
Updating ShellBinPkg to include revision information in readme file.

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

12 years agoFix 2 BootScript thunk issue on MEM_POLL.
jyao1 [Wed, 27 Apr 2011 07:35:20 +0000 (07:35 +0000)]
Fix 2 BootScript thunk issue on MEM_POLL.

1) MEM_POLL stall time is incorrect.
Framework version: Duration is used for Stall(), which is Microseconds.
                   Total time is: Duration(Microseconds) * LoopTimes.
PI version:        Duration is always 100ns. Delay is LoopTimes.
                   Total time is: 100ns * Delay.
So Delay = Duration(Microseconds) * LoopTimes / 100ns
         = Duration * 1000ns * LoopTimes / 100ns
         = Duration * 10 * LoopTimes

2) MEM_POLL BitMask/BitValue order is incorrect.
Framework version: First BitMask, then BitValue
PI version: First Data, then DataMask
So we revert their order in function call

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

12 years agoSolve a wrong pointer reference in QueryVariableInfo().
erictian [Wed, 27 Apr 2011 05:49:26 +0000 (05:49 +0000)]
Solve a wrong pointer reference in QueryVariableInfo().

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

12 years agoSolve a wrong pointer reference in QueryVariableInfo().
erictian [Wed, 27 Apr 2011 05:43:09 +0000 (05:43 +0000)]
Solve a wrong pointer reference in QueryVariableInfo().

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

12 years ago1. Change guid name from EFI_CERT_X509 to EFI_CERT_X509_GUID, per UEFI Specification...
vanjeff [Wed, 27 Apr 2011 02:41:10 +0000 (02:41 +0000)]
1. Change guid name from EFI_CERT_X509 to EFI_CERT_X509_GUID, per UEFI Specification. 2.3.1.
2. Add the declaration for EFI_CERT_SHA224_GUID, EFI_CERT_SHA384_GUID and EFI_CERT_SHA512_GUID.
3. Update GUIDs description per UEFI Specification, 2.3.1.

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

12 years agoArmPlatformPkg/ArmPlatformLib: Renamed ArmPlatformInitialize into ArmPlatformSecIniti...
oliviermartin [Tue, 26 Apr 2011 18:27:15 +0000 (18:27 +0000)]
ArmPlatformPkg/ArmPlatformLib: Renamed ArmPlatformInitialize into ArmPlatformSecInitialize

Some platforms require some of their controllers to be initialized in Secure world.
This function make the difference between Secure and Normal world platform initialization.

ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformNormalInitialize

Contain the code that initializes platform controllers that would be initialized in Normal World
by PlatformPei.

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

12 years agoArmPlatformPkg/Sec: Initialize the GIC when Trustzone Support is not enabled
oliviermartin [Tue, 26 Apr 2011 17:07:23 +0000 (17:07 +0000)]
ArmPlatformPkg/Sec: Initialize the GIC when Trustzone Support is not enabled

The GIC was not enabled on MPCore platform with Trustzone support disabled.

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

12 years agoArmPlatformPkg/Sec: Fix typo and Remove magic value
oliviermartin [Tue, 26 Apr 2011 17:05:05 +0000 (17:05 +0000)]
ArmPlatformPkg/Sec: Fix typo and Remove magic value

- Replace the '0' that defined the primary core by the macro ARM_PRIMARY_CORE
- Fix mispellings and coding style

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

12 years agoArmPlatform: Remove dummy padding to make the Reset Vector aligned on 32 bytes boundary
oliviermartin [Tue, 26 Apr 2011 17:00:11 +0000 (17:00 +0000)]
ArmPlatform: Remove dummy padding to make the Reset Vector aligned on 32 bytes boundary

A dummy padding was added before the Reset Vectors to force the alignment on a
32 bytes boundary in XIP code.
The correct fix is to define the alignment in the FDF file.

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

12 years agoArmPkg/PL180MciDxe: Use the new flag MMC_CMD_NO_CRC_RESPONSE
oliviermartin [Tue, 26 Apr 2011 16:54:05 +0000 (16:54 +0000)]
ArmPkg/PL180MciDxe: Use the new flag MMC_CMD_NO_CRC_RESPONSE

This new MMC flag defines if a CRC is attached to MMC Response.

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

12 years agoArmPkg/MmcDxe: Introduce MMC_CMD_NO_CRC_RESPONSE flag
oliviermartin [Tue, 26 Apr 2011 16:44:46 +0000 (16:44 +0000)]
ArmPkg/MmcDxe: Introduce MMC_CMD_NO_CRC_RESPONSE flag

Some MMC Responses do not have a CRC field in their packets.
This flag defines if the reponse to a MMC command skips the CRC field.

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

12 years agoChange BlockIo drivers to return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even the Buffer...
niruiyu [Mon, 25 Apr 2011 09:32:25 +0000 (09:32 +0000)]
Change BlockIo drivers to return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even the Buffer/BufferSize/Lba is invalid so that caller can probe the media status easier.

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

12 years agoChange BlockIo drivers to return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even the Buffer...
niruiyu [Mon, 25 Apr 2011 09:31:57 +0000 (09:31 +0000)]
Change BlockIo drivers to return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even the Buffer/BufferSize/Lba is invalid so that caller can probe the media status easier.

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

12 years agoRefine code to make code run more safely.
ydong10 [Mon, 25 Apr 2011 06:18:10 +0000 (06:18 +0000)]
Refine code to make code run more safely.

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

12 years ago1. Enabled IP4 layer auto configuration in case cable swap is detected.
hhuan13 [Mon, 25 Apr 2011 01:25:11 +0000 (01:25 +0000)]
1. Enabled IP4 layer auto configuration in case cable swap is detected.

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

12 years agoOptionRomPkg FrameBufferBltLib: Fix build warning with ICC
jljusten [Fri, 22 Apr 2011 22:22:05 +0000 (22:22 +0000)]
OptionRomPkg FrameBufferBltLib: Fix build warning with ICC

mBltLibBytesPerPixel is UINTN, and therefore it will always
be >= 0.  Instead an ASSERT is used to verify that MergedMasks
is non-zero.

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

12 years agoOptionRomPkg BltLibSample: Fix build for IPF architecture
jljusten [Fri, 22 Apr 2011 22:21:53 +0000 (22:21 +0000)]
OptionRomPkg BltLibSample: Fix build for IPF architecture

Use AsmReadItc for IPF and AsmReadTsc for IA32 & X64.

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

12 years agoFix issue that iscsi initiator name with 223 bytes can not be saved.
tye1 [Thu, 21 Apr 2011 09:59:53 +0000 (09:59 +0000)]
Fix issue that iscsi initiator name with 223 bytes can not be saved.

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

12 years agoUpdate the relevant drivers to use the correct GUID for EFI_IPSEC2_PROTOCOL.
qianouyang [Wed, 20 Apr 2011 10:01:48 +0000 (10:01 +0000)]
Update the relevant drivers to use the correct GUID for EFI_IPSEC2_PROTOCOL.

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

12 years agoAdd the correct GUID for EFI_IPSEC2_PROTOCOL.
qianouyang [Wed, 20 Apr 2011 09:59:55 +0000 (09:59 +0000)]
Add the correct GUID for EFI_IPSEC2_PROTOCOL.

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

12 years agoFix an issue that upper layer driver can not use NIC card in its driver binding stop().
tye1 [Wed, 20 Apr 2011 09:30:24 +0000 (09:30 +0000)]
Fix an issue that upper layer driver can not use NIC card in its driver binding stop().

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

12 years agoThe hotkey callback in BDS module should defer loading the boot option until the...
niruiyu [Wed, 20 Apr 2011 08:51:18 +0000 (08:51 +0000)]
The hotkey callback in BDS module should defer loading the boot option until the TPL drops to TPL_APPLICATION after the keyboard driver is enhanced to call hotkey callback in timer handler whose TPL is higher than TPL_APPLICATION.

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

12 years agoStore and get TSC Frequency with system configuration Table.
lzeng14 [Wed, 20 Apr 2011 05:14:00 +0000 (05:14 +0000)]
Store and get TSC Frequency with system configuration Table.

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

12 years agoAdd missing Type 35 support and correct SmbiosFldMiscType13 implementation.
lzeng14 [Wed, 20 Apr 2011 02:17:42 +0000 (02:17 +0000)]
Add missing Type 35 support and correct SmbiosFldMiscType13 implementation.

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

12 years agoUpdate and add some definitions to reflect the latest industry standard or for backwa...
lzeng14 [Wed, 20 Apr 2011 02:10:52 +0000 (02:10 +0000)]
Update and add some definitions to reflect the latest industry standard or for backward compatibility.

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

12 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
hhtian [Wed, 20 Apr 2011 00:18:57 +0000 (00:18 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package.

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

12 years agocheck that memory allocation was successful.
jcarsey [Tue, 19 Apr 2011 17:54:42 +0000 (17:54 +0000)]
check that memory allocation was successful.

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

12 years agofix user input validation for time command.
jcarsey [Tue, 19 Apr 2011 16:55:51 +0000 (16:55 +0000)]
fix user input validation for time command.

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

12 years agoadding shell binary package.
jcarsey [Tue, 19 Apr 2011 16:43:53 +0000 (16:43 +0000)]
adding shell binary package.

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

12 years agoPatch from open source community for CryptoPkg to allow it to build for ARM using...
qlong [Tue, 19 Apr 2011 16:25:31 +0000 (16:25 +0000)]
Patch from open source community for CryptoPkg to allow it to build for ARM using the RVCT toolchain.

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

12 years agoFix the PS2 keyboard driver to call hotkey callback even no one is calling ReadKeyStroke
niruiyu [Tue, 19 Apr 2011 06:53:29 +0000 (06:53 +0000)]
Fix the PS2 keyboard driver to call hotkey callback even no one is calling ReadKeyStroke

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

12 years agoFix the USB keyboard driver to call hotkey callback even no one is calling ReadKeyStroke
niruiyu [Tue, 19 Apr 2011 06:52:20 +0000 (06:52 +0000)]
Fix the USB keyboard driver to call hotkey callback even no one is calling ReadKeyStroke

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

12 years agoFix the terminal driver to call hotkey callback even no one is calling ReadKeyStroke
niruiyu [Tue, 19 Apr 2011 06:51:44 +0000 (06:51 +0000)]
Fix the terminal driver to call hotkey callback even no one is calling ReadKeyStroke

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

12 years agoFix NT32 Keyboard driver to call hotkey callback even no one is calling ReadKeyStroke().
niruiyu [Tue, 19 Apr 2011 06:46:55 +0000 (06:46 +0000)]
Fix NT32 Keyboard driver to call hotkey callback even no one is calling ReadKeyStroke().

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

12 years agoUpdate the description of Loaded Image Protocol Unload function to follow the UEFI2...
lgao4 [Tue, 19 Apr 2011 06:33:25 +0000 (06:33 +0000)]
Update the description of Loaded Image Protocol Unload function to follow the UEFI2.3.1 Spec.

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

12 years agoUpdate IFR version opcode value to follow the UEFI2.3.1 Spec.
lgao4 [Tue, 19 Apr 2011 06:32:27 +0000 (06:32 +0000)]
Update IFR version opcode value to follow the UEFI2.3.1 Spec.

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

12 years agoUpdate ALTCFG reference from default name token to default ID.
ydong10 [Tue, 19 Apr 2011 03:04:06 +0000 (03:04 +0000)]
Update ALTCFG reference from default name token to default ID.

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

12 years agoOvmfPkg/*.fdf: Adjust FV/FD sizes for UNIXGCC DEBUG builds
jljusten [Sun, 17 Apr 2011 05:47:43 +0000 (05:47 +0000)]
OvmfPkg/*.fdf: Adjust FV/FD sizes for UNIXGCC DEBUG builds

In some configurations the UNIXGCC build will run out of
space when a DEBUG build is enabled.  This change adjusts
the flash configuration a bit to allow the build succeed

The final flash image still remains 1MB in size.

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

12 years agoOptionRomPkg: Fix build error with BaseTools trunk
jljusten [Sun, 17 Apr 2011 05:47:30 +0000 (05:47 +0000)]
OptionRomPkg: Fix build error with BaseTools trunk

Fix build error with BaseTools trunk.  LibraryClasses
should be used instead of Libraries.

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

12 years agoOptionRomPkg: Fix Visual Studio compiler warnings
jljusten [Sun, 17 Apr 2011 05:47:13 +0000 (05:47 +0000)]
OptionRomPkg: Fix Visual Studio compiler warnings

These changes fix compiler warnings with Visual Studio 2005.

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

12 years agofix for word wrapping.
jcarsey [Fri, 15 Apr 2011 18:20:40 +0000 (18:20 +0000)]
fix for word wrapping.
fix for SimpleTextInEx callbacks.
remove an ASSERT.
fix for -noconsolein parameter.

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

12 years agoUpdate the comments for SizeofPartitionEntry field to follow the UEFI Spec.
niruiyu [Thu, 14 Apr 2011 07:04:59 +0000 (07:04 +0000)]
Update the comments for SizeofPartitionEntry field to follow the UEFI Spec.

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

12 years agochange file global variable to function local.
jcarsey [Wed, 13 Apr 2011 23:37:50 +0000 (23:37 +0000)]
change file global variable to function local.

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

12 years agorm - refine user input validation to prevent removal of CWD.
jcarsey [Wed, 13 Apr 2011 23:37:21 +0000 (23:37 +0000)]
rm - refine user input validation to prevent removal of CWD.

change colors of "set" command output.

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

12 years agomove a function to the correct library.
jcarsey [Wed, 13 Apr 2011 23:35:59 +0000 (23:35 +0000)]
move a function to the correct library.

added "ren" as an alias for "mv"

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

12 years agofix misspelling.
jcarsey [Wed, 13 Apr 2011 23:35:16 +0000 (23:35 +0000)]
fix misspelling.

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

12 years agoDo not assert in HiiBlockToConfig function when an invalid format of ConfigRequest...
ydong10 [Wed, 13 Apr 2011 03:13:13 +0000 (03:13 +0000)]
Do not assert in HiiBlockToConfig function when an invalid format of ConfigRequest is inputed, just return error.

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

12 years agoupdate Bcfg to correctly remove by option index not variable name and add driver...
jcarsey [Tue, 12 Apr 2011 21:55:07 +0000 (21:55 +0000)]
update Bcfg to correctly remove by option index not variable name and add driver order items properly.

update connect and reconnect to account for ignoring the child handle in the connect operation.

update disconnect to output correctly.

hexedit corrected to properly display status bar and title bar and refresh when required.

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

12 years agoOvmfPkg: Add QemuVideoDxe driver
jljusten [Tue, 12 Apr 2011 15:08:51 +0000 (15:08 +0000)]
OvmfPkg: Add QemuVideoDxe driver

This driver provides a UEFI Graphics Output Protocol (GOP) driver
for the QEMU Cirrus VGA hardware.  It enables 24-bit color,
and uses the standard 32-bit GOP pixel format whenever possible.

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

12 years agoOptionRomPkg BltLibSample: Add sample application for BltLib
jljusten [Tue, 12 Apr 2011 15:08:26 +0000 (15:08 +0000)]
OptionRomPkg BltLibSample: Add sample application for BltLib

This application uses BltLib to draw various items on the
screen.  It can be used as a test for a BltLib library
implementation, and it can be used to compare the results of
two BltLib implementations (such as the performance).

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

12 years agoOptionRomPkg: Add GOP based BltLib
jljusten [Tue, 12 Apr 2011 15:08:08 +0000 (15:08 +0000)]
OptionRomPkg: Add GOP based BltLib

This BltLib provides a wrapper for calling the UEFI Graphics
Output Protocol (GOP) functions for a single GOP instance.

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

12 years agoOptionRomPkg: Add FrameBufferBltLib implementation of BltLib
jljusten [Tue, 12 Apr 2011 15:07:52 +0000 (15:07 +0000)]
OptionRomPkg: Add FrameBufferBltLib implementation of BltLib

This BltLib implementation will act on the BltLib functions by
directly manipulating a memory framebuffer.  Therefore, it
should be usable by a Graphics Output Protocol (GOP) driver
to easily implement the GOP Blt function whenever a memory
framebuffer is available.

It can also be used in any situation where code would prefer to
not call the GOP Blt function, and would rather update the
framebuffer directly.  (Assuming a framebuffer is available
for the graphics device.)

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

12 years agoOptionRomPkg: Add BltLib definition
jljusten [Tue, 12 Apr 2011 15:07:34 +0000 (15:07 +0000)]
OptionRomPkg: Add BltLib definition

This library is intended to make it easy to perform blt operations
on a GOP framebuffer without using the GOP Blt function.

There can be two main forms of implementations of this library:
1) A library which interfaces directly with a framebuffer, and
   has no dependence on the GOP protocol.  Once configured with
   the framebuffer parameters, it can operate directly on the
2) A library which interfaces with the GOP protocol.  In this
   case this library provides a convenience layer and allows
   blt code to look cleaner.

Potential uses for this library:
* Video driver with a framebuffer will not need to implement
  GOP Blt function itself.  Instead it can utilize an
  implementation of this library as described in #1 above.
* OS Loader code which would like to easily use the GOP framebuffer
  after Exit Boot Services.  This would use a library instance
  as described in #1 above.
* Any other code which would like to call GOP blt, but simplify
  the code with the more convenient functions provided by this
  library interface.  (Using a library as described in #2 above.)

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

12 years agoShellPkg: Fix GCC 4.4 build issues
jljusten [Tue, 12 Apr 2011 03:18:38 +0000 (03:18 +0000)]
ShellPkg: Fix GCC 4.4 build issues

This change fixes various GCC 4.4 build issues
* EFIAPI usage inconsistencies
* multi-character literal warning ('eell')
* Filename case inconsistencies
* Use 'ULL' suffix for integers > 4GB

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

12 years agoOld driver sample code does not return an EFI_UNSUPPORTED status code if a callback...
ydong10 [Tue, 12 Apr 2011 01:15:28 +0000 (01:15 +0000)]
Old driver sample code does not return an EFI_UNSUPPORTED status code if a callback occurs for something which is unrecognized.

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

12 years agoEditTitleBar - Remove ASSERT. Complete display output for Disk and Memory output.
jcarsey [Mon, 11 Apr 2011 22:00:31 +0000 (22:00 +0000)]
EditTitleBar - Remove ASSERT.  Complete display output for Disk and Memory output.
HexEdit      - Add more user input verification.  Fix output display.

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

12 years agoSet EXECUTE flags in so RELEASE builds can tun correctly.
mdkinney [Mon, 11 Apr 2011 00:13:56 +0000 (00:13 +0000)]
Set EXECUTE flags in so RELEASE builds can tun correctly.

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

12 years agoNew EDK Shell binary(r51)
niruiyu [Sat, 9 Apr 2011 01:15:01 +0000 (01:15 +0000)]
New EDK Shell binary(r51)

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

12 years agoAdd more checks to skip allocated SMRAM regions when searching for a largest free...
rsun3 [Fri, 8 Apr 2011 05:29:22 +0000 (05:29 +0000)]
Add more checks to skip allocated SMRAM regions when searching for a largest free SMRAM region.

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

12 years agoFix Xcode, clang, and ARM build and link issues.
andrewfish [Thu, 7 Apr 2011 21:50:16 +0000 (21:50 +0000)]
Fix Xcode, clang, and ARM build and link issues.

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

12 years agoadd user input verification.
jcarsey [Thu, 7 Apr 2011 21:44:09 +0000 (21:44 +0000)]
add user input verification.

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

12 years agoShellParametersProtocol - remove parsing from within quoted parameters.
jcarsey [Thu, 7 Apr 2011 17:12:12 +0000 (17:12 +0000)]
ShellParametersProtocol - remove parsing from within quoted parameters.
Pci - Add missing enumeration in switch statement.
For - Verify parameter before dereferencing.

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

12 years agoFix ICC build error.
tye1 [Thu, 7 Apr 2011 04:50:58 +0000 (04:50 +0000)]
Fix ICC build error.

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

12 years agoAdd assertion check for TmpString against NULL.
niruiyu [Thu, 7 Apr 2011 02:02:21 +0000 (02:02 +0000)]
Add assertion check for TmpString against NULL.

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

12 years agoAdd (UINT16) static cast before passing UINT32 parameter to CreateDeviceNode
niruiyu [Thu, 7 Apr 2011 02:01:22 +0000 (02:01 +0000)]
Add (UINT16) static cast before passing UINT32 parameter to CreateDeviceNode

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

12 years agoUpdate ISID to fixed value: first 3 bytes are derived from MAC address while the...
tye1 [Wed, 6 Apr 2011 07:19:38 +0000 (07:19 +0000)]
Update ISID to fixed value: first 3 bytes are derived from MAC address while the other 3 bytes are configurable via ISCSI configuration.

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