]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
11 years agoArmPlatformPkg: Introduced 'ArmPlatformSecLib'
oliviermartin [Wed, 2 May 2012 20:13:32 +0000 (20:13 +0000)]
ArmPlatformPkg: Introduced 'ArmPlatformSecLib'

The function only used in Secure Firmware used to be mixed with
the Non-Secure/Normal functions in ArmPlatformLib.
When the Secure Firmware was not required for some platforms (eg:
BeagleBoard), these functions were empty functions.
This new interface has been created to clean the ArmPlatformLib
interface between the SEC and PEI phases.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13260 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmGicLib: Replaced 'ArmGicAcknowledgeSgiFrom' by 'ArmGicAcknowledgeInterrupt'
oliviermartin [Wed, 2 May 2012 20:09:16 +0000 (20:09 +0000)]
ArmPkg/ArmGicLib: Replaced 'ArmGicAcknowledgeSgiFrom' by 'ArmGicAcknowledgeInterrupt'

The function 'ArmGicAcknowledgeSgiFrom' was actually acknowledging Interrupts (and not only SGIs).

ArmPkg/ArmGicLib: Introduced the PCD PcdGicPrimaryCoreId

This PCD defines the Id of the primary core in the GIC.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13259 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmGicLib: Changed ArmGicSendSgiTo() to allow to send a specific SGI
oliviermartin [Wed, 2 May 2012 20:08:03 +0000 (20:08 +0000)]
ArmPkg/ArmGicLib: Changed ArmGicSendSgiTo() to allow to send a specific SGI

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13258 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmLib: Added ARM Cpu IDs
oliviermartin [Wed, 2 May 2012 20:06:36 +0000 (20:06 +0000)]
ArmPkg/ArmLib: Added ARM Cpu IDs

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13257 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmLib: Fixed MpCore macros
oliviermartin [Wed, 2 May 2012 20:05:36 +0000 (20:05 +0000)]
ArmPkg/ArmLib: Fixed MpCore macros

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13256 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEmbeddedPkg/SerialDxe: Do not block UART when no data is available on the port
oliviermartin [Wed, 2 May 2012 20:04:42 +0000 (20:04 +0000)]
EmbeddedPkg/SerialDxe: Do not block UART when no data is available on the port

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13255 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPlatformPkg/PL35xSmc: Added function PL35xSmcSetRefresh
oliviermartin [Wed, 2 May 2012 20:04:00 +0000 (20:04 +0000)]
ArmPlatformPkg/PL35xSmc: Added function PL35xSmcSetRefresh

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13254 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmLib: Added new functions to access ARM coprocessors
oliviermartin [Wed, 2 May 2012 20:02:39 +0000 (20:02 +0000)]
ArmPkg/ArmLib: Added new functions to access ARM coprocessors

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13253 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoARM Packages: Fixed th 'NS' (Non Secure) bit in the MMU page Table Descriptor
oliviermartin [Wed, 2 May 2012 20:00:54 +0000 (20:00 +0000)]
ARM Packages: Fixed th 'NS' (Non Secure) bit in the MMU page Table Descriptor

The 'NS' bit must only be set in Secure world to define the Non-Secure region
of the Non-Secure World.
This bit must not be set in Non-Secure World.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13252 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/PeCoffExtraActionLib: Enabled DS-5 command line when using ARM Toolchain v5
oliviermartin [Wed, 2 May 2012 19:58:46 +0000 (19:58 +0000)]
ArmPkg/PeCoffExtraActionLib: Enabled DS-5 command line when using ARM Toolchain v5

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13251 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmCpuLib: Removed unused files
oliviermartin [Wed, 2 May 2012 19:57:43 +0000 (19:57 +0000)]
ArmPkg/ArmCpuLib: Removed unused files

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13250 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmCpuLib: Replaced complex functions ArmCpuSynchronizeWait & ArmCpuSynchroniz...
oliviermartin [Wed, 2 May 2012 19:55:32 +0000 (19:55 +0000)]
ArmPkg/ArmCpuLib: Replaced complex functions ArmCpuSynchronizeWait & ArmCpuSynchronizeSignal by sev & wfe

Previsouly the synchronization of MpCore was using the SGI (Software
Generated Interrupt) to synchronize MpCore during the early boot.
This commit replaced this mechanism by the more appropriate SEV/WFE
instructions (Send/Wait Event instructions).
That also eases the port to a new cpu/platform.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13249 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPlatformPkg/ArmPlatformGlobalVariableLib: Fixed calculation of GlobalVariableBase
oliviermartin [Wed, 2 May 2012 19:54:21 +0000 (19:54 +0000)]
ArmPlatformPkg/ArmPlatformGlobalVariableLib: Fixed calculation of GlobalVariableBase

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13248 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPlatformPkg: Removed the 'Identify' functions
oliviermartin [Wed, 2 May 2012 19:52:49 +0000 (19:52 +0000)]
ArmPlatformPkg: Removed the 'Identify' functions

This function was introduced in some drivers to check if the ARM controller
was present in the memory map.
It was using a 8 bit access to get the value from the Identification registers.
These accesses could generate access error on some buses. Instead of replacing
the 8bit access by a 32bit access, these fcuntions have been removed because
they are only useful when the boot firmware is ported on a new platform.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13247 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPlatformPkg/ArmPlatformGlobalVariableLib: Added new function ArmPlatformGetGlobalV...
oliviermartin [Wed, 2 May 2012 19:51:08 +0000 (19:51 +0000)]
ArmPlatformPkg/ArmPlatformGlobalVariableLib: Added new function ArmPlatformGetGlobalVariableAddress()

This function returns the address of a Global Variable in the Global Variable Region.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13246 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPlatformPkg: Renamed and Invoked earlier ArmPlatformNormalInitialize()
oliviermartin [Wed, 2 May 2012 19:49:35 +0000 (19:49 +0000)]
ArmPlatformPkg: Renamed and Invoked earlier ArmPlatformNormalInitialize()

- ArmPlatformNormalInitialize() has been renamed into ArmPlatformInitialize()
- Make the function be called at the early stage of the PEI phase as some
  platforms require their interconnects or clocks to be initialize before any
  access to Timers or UARTs.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13245 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg: Replaced gArmTokenSpaceGuid.PcdGicNumInterrupts by ArmGicGetMaxNumInterrupts()
oliviermartin [Wed, 2 May 2012 19:48:00 +0000 (19:48 +0000)]
ArmPkg: Replaced gArmTokenSpaceGuid.PcdGicNumInterrupts by ArmGicGetMaxNumInterrupts()

The maximum number of interrupts can be retrieve through the GIC distributor.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13244 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoARM Packages: Minor changes (fixed mispelling, line endings, incorrect comments)
oliviermartin [Wed, 2 May 2012 19:46:40 +0000 (19:46 +0000)]
ARM Packages: Minor changes (fixed mispelling, line endings, incorrect comments)

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13243 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg: Fix EHCI module build warning reported by VS2005 tool chain.
erictian [Wed, 2 May 2012 06:21:43 +0000 (06:21 +0000)]
MdeModulePkg: Fix EHCI module build warning reported by VS2005 tool chain.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13241 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUefiCpuPkg S3Resume2: Move the call to RestoreS3PageTables() earlier before SMM S3...
rsun3 [Wed, 2 May 2012 02:23:18 +0000 (02:23 +0000)]
UefiCpuPkg S3Resume2: Move the call to RestoreS3PageTables() earlier before SMM S3 resume.

SMM S3 resume may change memory cache type for flash memory range and thus RestoreS3PageTables() in which loops are executed to create page table would have negative performance impact on S3 resume. Move the call to RestoreS3PageTables() earlier before SMM S3 resume can avoid this issue.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13231 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEmulatorPkg/build.sh: Fix link issue for openSUSE
jljusten [Mon, 30 Apr 2012 23:50:08 +0000 (23:50 +0000)]
EmulatorPkg/build.sh: Fix link issue for openSUSE

Search for libdl to fix a link error on openSUSE 12.1

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13230 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixes issues with "Discard Changes and Exit" option in IPv6 driver's Advance Configur...
tye1 [Sat, 28 Apr 2012 09:43:31 +0000 (09:43 +0000)]
Fixes issues with "Discard Changes and Exit" option in IPv6 driver's Advance Configuration menu.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed-by: Qianouyang <qian.ouyang@intel.com>
Reviewed-by: Fu, Siyuan <Siyuan.fu@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13229 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago Enhances PE image hash algorithm in DxeImageVerificationLib and DxeTpmMeasureBootLib.
tye1 [Sat, 28 Apr 2012 07:48:15 +0000 (07:48 +0000)]
 Enhances PE image hash algorithm in DxeImageVerificationLib and DxeTpmMeasureBootLib.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed by: Dong, Eric <yong.dong@intel.com>
Reviewed by: Dong, Guo <guo.dong@intel.com>

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

11 years agoMdeModulePkg: Enlarge timeout value to wait set_address request success for large...
erictian [Sat, 28 Apr 2012 05:09:21 +0000 (05:09 +0000)]
MdeModulePkg: Enlarge timeout value to wait set_address request success for large capacity usb hard disk

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Li Elvin <elvin.li@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13227 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg: Skip to manage usb debug port in EDKII EHCI driver if it's used by...
erictian [Sat, 28 Apr 2012 05:02:54 +0000 (05:02 +0000)]
MdeModulePkg: Skip to manage usb debug port in EDKII EHCI driver if it's used by usb debug port driver

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13226 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnhance the error handling for AllocatePool and AllocatePages function.
ydong10 [Fri, 27 Apr 2012 02:48:46 +0000 (02:48 +0000)]
Enhance the error handling for AllocatePool and AllocatePages function.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13225 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnable print error info when execute the application.
ydong10 [Fri, 27 Apr 2012 01:47:35 +0000 (01:47 +0000)]
Enable print error info when execute the application.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13224 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate comments in DmpStore.c to be more suitable.
lzeng14 [Fri, 27 Apr 2012 01:18:41 +0000 (01:18 +0000)]
Update comments in DmpStore.c to be more suitable.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13223 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoReturn EFI_INVALID_PARAMETER when Type has either EVT_NOTIFY_SIGNAL or EVT_NOTIFY_WAI...
lzeng14 [Thu, 26 Apr 2012 03:32:53 +0000 (03:32 +0000)]
Return EFI_INVALID_PARAMETER when Type has either EVT_NOTIFY_SIGNAL or EVT_NOTIFY_WAIT set and NotifyTpl is not a supported TPL level.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13222 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnhance code to more safely and follow coding style.
ydong10 [Thu, 26 Apr 2012 02:00:30 +0000 (02:00 +0000)]
Enhance code to more safely and follow coding style.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13221 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoPatch include:
ydong10 [Thu, 26 Apr 2012 01:50:34 +0000 (01:50 +0000)]
Patch include:
1.Change function name to avoid name conflict.
2.Refine check for Pe Image.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13220 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd description for PeiPerformanceIdArray parameter of InternalSearchForLogEntry().
lzeng14 [Wed, 25 Apr 2012 10:12:09 +0000 (10:12 +0000)]
Add description for PeiPerformanceIdArray parameter of InternalSearchForLogEntry().

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13219 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix UNIX GCC build fail.
lzeng14 [Wed, 25 Apr 2012 08:09:36 +0000 (08:09 +0000)]
Fix UNIX GCC build fail.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13218 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix typo "Debugt".
vanjeff [Wed, 25 Apr 2012 08:03:26 +0000 (08:03 +0000)]
Fix typo "Debugt".

Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13217 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd new extension PerformanceLib APIs to store ID info.
lzeng14 [Tue, 24 Apr 2012 09:15:10 +0000 (09:15 +0000)]
Add new extension PerformanceLib APIs to store ID info.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13216 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd new extension PerformanceLib APIs to store ID info.
lzeng14 [Tue, 24 Apr 2012 09:12:36 +0000 (09:12 +0000)]
Add new extension PerformanceLib APIs to store ID info.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13215 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd new extension PerformanceLib APIs to store ID info.
lzeng14 [Tue, 24 Apr 2012 08:42:24 +0000 (08:42 +0000)]
Add new extension PerformanceLib APIs to store ID info.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13214 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate copyright format
hhtian [Tue, 24 Apr 2012 06:49:39 +0000 (06:49 +0000)]
Update copyright format

Signed-off-by: Hot Tian <hot.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix build fail for DDK.
ydong10 [Tue, 24 Apr 2012 06:08:47 +0000 (06:08 +0000)]
Fix build fail for DDK.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13212 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoValidate some fields in PE image to make sure not access violation for later code.
ydong10 [Tue, 24 Apr 2012 03:00:32 +0000 (03:00 +0000)]
Validate some fields in PE image to make sure not access violation for later code.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13211 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate IfConfig.c to use TPL_CALLBACK instead of TPL_CALLBACK - 1 to follow UEFI...
lzeng14 [Tue, 24 Apr 2012 02:41:33 +0000 (02:41 +0000)]
Update IfConfig.c to use TPL_CALLBACK instead of TPL_CALLBACK - 1 to follow UEFI spec.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13210 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate HiiFont Service to return error status instead of ASSERT for the invalid input.
lgao4 [Tue, 24 Apr 2012 01:59:55 +0000 (01:59 +0000)]
Update HiiFont Service to return error status instead of ASSERT for the invalid input.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13209 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg PiSmmCore: Fix a bug in SmmLoadImage() in PiSmmCore that in-correct...
rsun3 [Tue, 24 Apr 2012 01:38:40 +0000 (01:38 +0000)]
MdeModulePkg PiSmmCore: Fix a bug in SmmLoadImage() in PiSmmCore that in-correct status codes may be returned.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13208 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoShellPkg: hide flashing cursor during startup.
jcarsey [Mon, 23 Apr 2012 18:00:41 +0000 (18:00 +0000)]
ShellPkg: hide flashing cursor during startup.

signed-off-by: jaben carsey <jaben.carsey@intel.com>
reviewed-by: erik bjorge <erik.c.bjorge@intel.com>

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

11 years agoShellPkg: removed memory leak.
jcarsey [Mon, 23 Apr 2012 17:58:15 +0000 (17:58 +0000)]
ShellPkg: removed memory leak.

removed unnecessary GetVariable call.

signed-off-by: jaben carsey <jaben.carsey@intel.com>
reviewed-by: erik bjorge <erik.c.bjorge@intel.com>

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

11 years agoRefine the code to have same function to process the string info. Also update the...
ydong10 [Mon, 23 Apr 2012 10:26:04 +0000 (10:26 +0000)]
Refine the code to have same function to process the string info. Also update the logic to process special char.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13205 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix common AuthVariable protection issue.
tye1 [Mon, 23 Apr 2012 06:17:17 +0000 (06:17 +0000)]
Fix common AuthVariable protection issue.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed by: Dong, Guo <guo.dong@intel.com>

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

12 years agoAdd code to check boot option variable before use it
ydong10 [Thu, 19 Apr 2012 09:57:11 +0000 (09:57 +0000)]
Add code to check boot option variable before use it

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13203 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate comments for NULL PlatformSecureLib instance.
sfu5 [Wed, 18 Apr 2012 02:02:38 +0000 (02:02 +0000)]
Update comments for NULL PlatformSecureLib instance.

Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13202 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate function comments to remove confused description on PerformanceLib EndPerforma...
lgao4 [Tue, 17 Apr 2012 09:45:59 +0000 (09:45 +0000)]
Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13201 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate function comments to remove confused description on PerformanceLib EndPerforma...
lgao4 [Tue, 17 Apr 2012 09:45:30 +0000 (09:45 +0000)]
Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13200 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCorrect function comments on DxeServicesLib GetFileBufferByFilePath API.
lgao4 [Tue, 17 Apr 2012 09:42:44 +0000 (09:42 +0000)]
Correct function comments on DxeServicesLib GetFileBufferByFilePath API.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13199 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd 3 missing fields for EFI_ACPI_5_0_PCCT_SUBSPACE_GENERIC
jyao1 [Mon, 16 Apr 2012 22:51:06 +0000 (22:51 +0000)]
Add 3 missing fields for EFI_ACPI_5_0_PCCT_SUBSPACE_GENERIC

signed-off-by: jyao1 <jiewen.yao@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13198 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python...
darylm503 [Mon, 16 Apr 2012 22:12:42 +0000 (22:12 +0000)]
AppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python 2.7.3 made them unavailable from the python.org web site.

These files are a subset of the python-2.7.2.tgz distribution from python.org.  Changed files from PyMod-2.7.2 have been copied into the corresponding directories of this tree, replacing the original files in the distribution.

Signed-off-by: daryl.mcdaniel@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13197 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd missing secure boot build option
hhtian [Mon, 16 Apr 2012 01:31:17 +0000 (01:31 +0000)]
Add missing secure boot build option

Signed-off-by: Hot Tian <hot.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13196 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Fixed build after latest BaseTools syncup
oliviermartin [Fri, 13 Apr 2012 10:17:39 +0000 (10:17 +0000)]
ArmPlatformPkg: Fixed build after latest BaseTools syncup

BaseTools now raises an error when a PCD is not declared in a DEC.
This change:
- Remove undeclared PCDs
- Add PCD declaration to DEC file

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13195 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEDK II Packages: Added License.txt files
oliviermartin [Thu, 12 Apr 2012 16:40:32 +0000 (16:40 +0000)]
EDK II Packages: Added License.txt files

License.txt is a per-project document showing the license terms
used by that project.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13194 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemoves irrelevant parameter during negotiation to avoid login fail.
tye1 [Thu, 12 Apr 2012 09:54:59 +0000 (09:54 +0000)]
Removes irrelevant parameter during negotiation to avoid login fail.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed by: Ouyang, Qian <qian.ouyang@intel.com>
Reviewed by: Tian, Feng<feng.tian@intel.com>

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

12 years agoAdd check before using it to avoid access violation.
ydong10 [Thu, 12 Apr 2012 09:02:52 +0000 (09:02 +0000)]
Add check before using it to avoid access violation.

Signed-off-by: Dong Eric <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13192 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate the default return value of UserPhysicalPresent to TRUE.
sfu5 [Thu, 12 Apr 2012 07:19:46 +0000 (07:19 +0000)]
Update the default return value of UserPhysicalPresent to TRUE.

Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13191 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoKeep StdErr same logic initialization with ConOut, e.g. initialize gST->StandardError...
li-elvin [Thu, 12 Apr 2012 02:16:47 +0000 (02:16 +0000)]
Keep StdErr same logic initialization with ConOut, e.g. initialize gST->StandardErrorHandle and gST->StdErr in Consplitter entrypoint.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13190 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagemen...
rsun3 [Thu, 12 Apr 2012 01:49:27 +0000 (01:49 +0000)]
MdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagementFeature() to clear 4 related R/W bits in the PMCSR register, leaving other bits preserved.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13189 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFatBinPkg/License.txt: Sync with License.txt in FatPkg
jljusten [Wed, 11 Apr 2012 23:19:56 +0000 (23:19 +0000)]
FatBinPkg/License.txt: Sync with License.txt in FatPkg

The License.txt file in FatPkg was changed to add UEFI.
This change syncronizes the License.txt file from FatPkg
into FatBinPkg.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13188 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEDK II Packages: Add Contributions.txt and License.txt files
jljusten [Wed, 11 Apr 2012 23:19:46 +0000 (23:19 +0000)]
EDK II Packages: Add Contributions.txt and License.txt files

Contributions.txt documents the contribution process for all
tianocore projects. The conents of Contributions.txt should
match in all cases.

License.txt is a per-project document showing the license terms
used by that project.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoNt32Pkg: Add Secure Boot build option including Custom Mode setup
leegrosenbaum [Wed, 11 Apr 2012 16:23:41 +0000 (16:23 +0000)]
Nt32Pkg: Add Secure Boot build option including Custom Mode setup

If –D SECURE_BOOT_ENABLE is specified with the build command, Secure Boot support is enabled including custom mode setup.
This allows Secure Boot to be configured through setup allowing Nt32Pkg to be a fully functional Secure Boot reference platforms.

Signed-off-by: lee.g.rosenbaum@intel.com
Reviewed-by: jiewen.yao@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13186 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd more check for the bmp file to avoid access violation.
ydong10 [Wed, 11 Apr 2012 07:56:50 +0000 (07:56 +0000)]
Add more check for the bmp file to avoid access violation.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
Reviewed-by: Zhang Chao <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13185 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEnable Help string scroll when the help info can't show all at current page.
ydong10 [Wed, 11 Apr 2012 05:44:40 +0000 (05:44 +0000)]
Enable Help string scroll when the help info can't show all at current page.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13184 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCurrent IPF version SwitchStack implementation uses loadrs instruction to restore...
li-elvin [Wed, 11 Apr 2012 01:56:48 +0000 (01:56 +0000)]
Current IPF version SwitchStack implementation uses loadrs instruction to restore dirty partition of register stack from the backing store, but there is no guarantee to make the backing store valid before. So  add flushrs before loadrs to make sure backing store valid.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Li Kevin <kevin.y.li@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13183 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUefiCpuPkg MtrrLib: For MtrrSetAllMtrrs(), do not set FE/E bits in IA32_MTRR_DEF_TYPE...
rsun3 [Wed, 11 Apr 2012 01:41:29 +0000 (01:41 +0000)]
UefiCpuPkg MtrrLib: For MtrrSetAllMtrrs(), do not set FE/E bits in IA32_MTRR_DEF_TYPE MSR after the MSR is restored.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13182 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdded VS2010 support in edksetup script.
lgao4 [Tue, 10 Apr 2012 07:45:35 +0000 (07:45 +0000)]
Added VS2010 support in edksetup script.

Signed-off-by: Yu Wang <yu.wang@intel.com>
Reviewed-by: Jikui Su <jikui.su@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13181 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTools Trunk (version r2518) to EDKII main trunk.
lgao4 [Tue, 10 Apr 2012 07:28:51 +0000 (07:28 +0000)]
Sync BaseTools Trunk (version r2518) to EDKII main trunk.

Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13180 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTools Trunk (version r2518) to EDKII main trunk.
lgao4 [Tue, 10 Apr 2012 07:22:37 +0000 (07:22 +0000)]
Sync BaseTools Trunk (version r2518) to EDKII main trunk.

Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13179 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTools Trunk (version r2518) to EDKII main trunk.
lgao4 [Tue, 10 Apr 2012 07:18:20 +0000 (07:18 +0000)]
Sync BaseTools Trunk (version r2518) to EDKII main trunk.

Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13178 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: Fix build warning on Xhci driver with XCode 32 tool chain.
erictian [Tue, 10 Apr 2012 06:33:40 +0000 (06:33 +0000)]
MdeModulePkg: Fix build warning on Xhci driver with XCode 32 tool chain.

Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13177 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove unused PCDs in OVMF Platform.
lgao4 [Tue, 10 Apr 2012 02:49:59 +0000 (02:49 +0000)]
Remove unused PCDs in OVMF Platform.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13176 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate code to avoid potential access violation.
ydong10 [Tue, 10 Apr 2012 02:27:05 +0000 (02:27 +0000)]
Update code to avoid potential access violation.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Ouyang Qian <Ouyang.qian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13175 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoNew Shell binaries based on EDKII core r12898 and Shell r57.
niruiyu [Thu, 5 Apr 2012 09:07:27 +0000 (09:07 +0000)]
New Shell binaries based on EDKII core r12898 and Shell r57.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13163 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd pointer check for NULL before dereference it.
sfu5 [Thu, 5 Apr 2012 02:39:46 +0000 (02:39 +0000)]
Add pointer check for NULL before dereference it.

Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13162 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAppPkg/Applications/Python: Fix bug where the StdLib\lib\site-python and StdLib\lib...
darylm503 [Wed, 4 Apr 2012 23:40:55 +0000 (23:40 +0000)]
AppPkg/Applications/Python: Fix bug where the StdLib\lib\site-python and StdLib\lib\python.27\site-customize directories were not being processed.  Fix bug where unicode strings were not being correctly encoded in the "idna" encoding before being passed to low-level networking functions.  Correct problem where a spurious message, "Shell: Incorrect redirection syntax - '2>/dev/null'", was being output by PyDoc.

Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: jordan.l.justen@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13161 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoOvmfPkg: Add custom mode setup if the Secure Boot build option is specified.
leegrosenbaum [Wed, 4 Apr 2012 17:35:06 +0000 (17:35 +0000)]
OvmfPkg: Add custom mode setup if the Secure Boot build option is specified.

If –D SECURE_BOOT_ENABLE is specified with the build command, Secure Boot support is enabled including custom mode setup.

This allows Secure Boot to be configured through setup allowing OvmfPkgX64, OvmfPkgIa32 and OvmfPkg3264 to be a fully functional Secure Boot reference platforms.
Remove redundant library class definitions for BaseCryptLib and OpenSslLib.

Signed-off-by: Lee Rosenbaum <lee.g.rosenbaum@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13160 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoWhen transfer from Unicode to hex number, current code only consider the 0-9 case...
ydong10 [Sun, 1 Apr 2012 07:28:09 +0000 (07:28 +0000)]
When transfer from Unicode to hex number, current code only consider the 0-9 case, not include the A-F case, now update code to consider all.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13159 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd two new interfaces Pkcs7GetSigners and Pkcs7FreeSigners to BaseCryptLib.
tye1 [Sat, 31 Mar 2012 04:49:02 +0000 (04:49 +0000)]
Add two new interfaces Pkcs7GetSigners and Pkcs7FreeSigners to BaseCryptLib.

Signed-off by: tye1
Reviewed-by: geekboy15a
Reviewed-by: sfu5
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13158 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate common authenticated variable (non PK/KEK/DB/DBX) support to comply with lates...
tye1 [Sat, 31 Mar 2012 04:42:20 +0000 (04:42 +0000)]
Update common authenticated variable (non PK/KEK/DB/DBX) support to comply with latest UEFI spec.

Signed-off by: tye1
Reviewed-by: geekboy15a
Reviewed-by: sfu5
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13157 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIf setting variable in Runtime and there has been a same GUID and name variable exist...
lzeng14 [Fri, 30 Mar 2012 07:19:44 +0000 (07:19 +0000)]
If setting variable in Runtime and there has been a same GUID and name variable existed in system without RT attribute, return EFI_WRITE_PROTECTED.

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

12 years agoMdeModulePkg/UsbBusDxe:Correct typos in usb debug message
erictian [Fri, 30 Mar 2012 03:33:27 +0000 (03:33 +0000)]
MdeModulePkg/UsbBusDxe:Correct typos in usb debug message

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

12 years agoupdate code to follow coding style.
czhang46 [Fri, 30 Mar 2012 01:27:14 +0000 (01:27 +0000)]
update code to follow coding style.

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

12 years agoStdLib: Add STDC macros, for MSFT compilers, to improve compatibility with various...
darylm503 [Thu, 29 Mar 2012 22:24:30 +0000 (22:24 +0000)]
StdLib: Add STDC macros, for MSFT compilers, to improve compatibility with various Open-Source software packages.

Defines __STDC__, __STDC_VERSION__, and __STDC_HOSTED as specified by ISO/IEC 9899.

Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: jordan.l.justen@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13153 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. Fix UNIXGCC IPF build failure in SecurityPkg.
sfu5 [Thu, 29 Mar 2012 06:54:46 +0000 (06:54 +0000)]
1. Fix UNIXGCC IPF build failure in SecurityPkg.

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

12 years agoStdLib/Include/stdarg.h: Added the __va_copy macro for Python compatibility.
darylm503 [Wed, 28 Mar 2012 22:17:44 +0000 (22:17 +0000)]
StdLib/Include/stdarg.h:  Added the __va_copy macro for Python compatibility.
AppPkg/Applications/Python:  Deleted obsolete and incomplete PyMod-2.7.1.  Changes to enable compilation using GCC 4.4 on both Windows and Linux hosts.

Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: jaben.carsey@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13147 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. Fix GCC build failure in SecurityPkg.
sfu5 [Wed, 28 Mar 2012 09:06:35 +0000 (09:06 +0000)]
1. Fix GCC build failure in SecurityPkg.

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

12 years agoMdeModulePkg/XhciDxe: Event Ring traverse algorithm enhancement to avoid that those...
erictian [Tue, 27 Mar 2012 12:07:38 +0000 (12:07 +0000)]
MdeModulePkg/XhciDxe: Event Ring traverse algorithm enhancement to avoid that those completed async transfer events don't get handled in time and are flushed by newer coming events.

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

12 years ago1. Remove “Force clear PK” feature in AuthVarialbe driver.
sfu5 [Tue, 27 Mar 2012 08:17:23 +0000 (08:17 +0000)]
1. Remove “Force clear PK” feature in AuthVarialbe driver.
2. Update API ForceClearPK() to UserPhysicalPresent() in PlatformSecureLib.
2. Update SecureBootConfigDxe driver and AuthVariable driver to support Custom Secure Boot Mode feature.
3. Fix some bugs in AuthVariable driver.

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

12 years agoSearching for files starts on an 8 byte aligned boundary after the end of the Extende...
lzeng14 [Tue, 27 Mar 2012 01:57:51 +0000 (01:57 +0000)]
Searching for files starts on an 8 byte aligned boundary after the end of the Extended Header if it exists.

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

12 years agoAppPkg/Applications/Sockets: Address GCC and Linux compilation problems.
darylm503 [Tue, 27 Mar 2012 00:47:35 +0000 (00:47 +0000)]
AppPkg/Applications/Sockets: Address GCC and Linux compilation problems.
  1) Fix copyright and license notices.
  2) Replace '\' in include paths with '/'.
  3) Fix case mismatch between include paths and actual files and directories.

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

12 years agocorrect removal of commit 12951.
jcarsey [Mon, 26 Mar 2012 21:00:39 +0000 (21:00 +0000)]
correct removal of commit 12951.

submitted-by: jaben.carsey@intel.com

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

12 years agoEmbeddedPkg/MmcDxe: Fixed XCLANG build
oliviermartin [Mon, 26 Mar 2012 12:28:05 +0000 (12:28 +0000)]
EmbeddedPkg/MmcDxe: Fixed XCLANG build

Move the constant array from its declaration inside the function to a global declaration.

Signed-off-by: Andrew Fish <afish@apple.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13140 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/PrePi: Added Firmware Version String to the 'welcome' statement
oliviermartin [Mon, 26 Mar 2012 11:08:32 +0000 (11:08 +0000)]
ArmPlatformPkg/PrePi: Added Firmware Version String to the 'welcome' statement

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

12 years agoArmPlatformPkg/Sec: Change initial 'welcome' string from 'UEFI Firmware' to 'Secure...
oliviermartin [Mon, 26 Mar 2012 11:06:29 +0000 (11:06 +0000)]
ArmPlatformPkg/Sec: Change initial 'welcome' string from 'UEFI Firmware' to 'Secure/Boot Firmware'

The 'SEC' component is not part of the UEFI software stack.

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

12 years agoArmPlatformPkg/SP805WatchdogDxe: Removed late initialization capability from the...
oliviermartin [Mon, 26 Mar 2012 11:05:25 +0000 (11:05 +0000)]
ArmPlatformPkg/SP805WatchdogDxe: Removed late initialization capability from the watchdog

The watchdog driver is a UEFI architectural driver. The watchdog controller
is always going to be intialized.

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

12 years agoArmPlatformPkg: Fixed gcc build (minor change)
oliviermartin [Mon, 26 Mar 2012 11:04:25 +0000 (11:04 +0000)]
ArmPlatformPkg: Fixed gcc build (minor change)

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