mirror_edk2.git
9 years agominor format update
hhtian [Tue, 15 Feb 2011 12:12:21 +0000 (12:12 +0000)]
minor format update

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

9 years agoTscTimerLib in PerformancePkg is a BASE type library, which should be used by any...
lzeng14 [Tue, 15 Feb 2011 02:02:06 +0000 (02:02 +0000)]
TscTimerLib in PerformancePkg is a BASE type library, which should be used by any module type.
But its constructor uses the global variable mTscFrequency to store frequency, which doesn't work on XIP PEIM.
Split it to two LIBs for PEI and DXE separately.

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

9 years agocorrect Intel's copyright date as the changes checked-in at r11273 & r11272 are contr...
erictian [Sat, 12 Feb 2011 03:29:24 +0000 (03:29 +0000)]
correct Intel's copyright date as the changes checked-in at r11273 & r11272 are contributed by third party.

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

9 years agoCorrect comments in DevicePathDxe.inf.
lgao4 [Sat, 12 Feb 2011 01:53:24 +0000 (01:53 +0000)]
Correct comments in DevicePathDxe.inf.
gEfiDevicePathUtilitiesProtocolGuid should be produced by this module.

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

9 years agoAdd four PCDs for the different color settings of Subtitle and Text Filed on Browser.
lgao4 [Sat, 12 Feb 2011 01:51:25 +0000 (01:51 +0000)]
Add four PCDs for the different color settings of Subtitle and Text Filed on Browser.

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

9 years agoUpdate DEBUG log information to specify SMM driver to be loaded in SmmCore
lgao4 [Sat, 12 Feb 2011 01:46:33 +0000 (01:46 +0000)]
Update DEBUG log information to specify SMM driver to be loaded in SmmCore

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

9 years agoCorrect typo in word in DxeCore.
lgao4 [Sat, 12 Feb 2011 01:34:05 +0000 (01:34 +0000)]
Correct typo in word in DxeCore.

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

9 years agoUpdates function description per UEFI2.3d. No impact is for functionality. The main...
lgao4 [Sat, 12 Feb 2011 01:29:17 +0000 (01:29 +0000)]
Updates function description per UEFI2.3d. No impact is for functionality. The main changes include:
1. For LoadImage() service, EFI_ACCESS_DENIED return status is added, and EFI_SECURITY_VIOLATION return status description is updated. Meanwhile, EFI_PE32_IMAGE_PROTOCOL. LoadPeImage() in MdeModulePkg is also updated to match LoadImage() service.

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

9 years agoUpdate function description per UEFI2.3d. The main changes include:
lgao4 [Sat, 12 Feb 2011 01:26:11 +0000 (01:26 +0000)]
Update function description per UEFI2.3d. The main changes include:
1.    If string is a unicode string, its description doesn’t need to specify unicode word again, because by default, string is UCS-2 (Table 6) encoded.
2.    EFI_UNSUPPORTED return status is missing for EFI_EAP_PROTOCOL.SetDesiredAuthMethod() function.
3.    For LoadImage() service, EFI_ACCESS_DENIED return status is added, and EFI_SECURITY_VIOLATION return status description is updated.

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

9 years agoAdd new FV extension type 0x0002 and its related structure per PI1.2B.
lgao4 [Sat, 12 Feb 2011 01:23:24 +0000 (01:23 +0000)]
Add new FV extension type 0x0002 and its related structure per PI1.2B.

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

9 years agoUEFI table also need to be in ACPI NVS memory, because some data field
jyao1 [Fri, 11 Feb 2011 06:40:20 +0000 (06:40 +0000)]
UEFI table also need to be in ACPI NVS memory, because some data field
could be updated by OS present agent. For example, BufferPtrAddress in
SMM communication ACPI table.

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

9 years agoAdd SmmPeriodicSmiLib to MdePkg.
mdkinney [Fri, 11 Feb 2011 00:09:16 +0000 (00:09 +0000)]
Add SmmPeriodicSmiLib to MdePkg.

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

9 years ago1) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable detection if...
mdkinney [Thu, 10 Feb 2011 23:27:12 +0000 (23:27 +0000)]
1) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable detection if hardware flow control is enabled.  The default is to not perform cable detection.
2) Update BaseSerialPortLib16550 to use this new PCD.

This addresses an issue that was introduced on Feb 3, 2011 when all references to Carrier Detect(CD) were removed from the BaseSerialPortLib16550.  When that change was made, a target would block on the first Tx operation if hardware flow control was enabled and no cable or serial application was running on a host. Now the behavior when no cable is connected or no serial app is running on the host is controlled through a PCD.  The default is for the target to continue execution even if there is no cable or serial app running.  If PcdSerialDetectCable is set to TRUE, then the target will block on any transmit that does not have a cable connected or a serial app running in the host.

If hardware flow control is disabled, then this update will have no impact on behavior.

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

9 years agoClean up BaseSerialPortLib16550 to remove references and checks for Carrier Detect...
mdkinney [Fri, 4 Feb 2011 01:19:59 +0000 (01:19 +0000)]
Clean up BaseSerialPortLib16550 to remove references and checks for Carrier Detect(CD).  This is not required for this library implementation.  The only signals used for Hardware Flow Control are RTS/CTS.

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

9 years agoMake the default toolchain for Linux CodeSourcery.
andrewfish [Thu, 3 Feb 2011 18:30:58 +0000 (18:30 +0000)]
Make the default toolchain for Linux CodeSourcery.

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

9 years agoFixes to get CodeSourcery GCC and RVCT 3.1 compiling.
andrewfish [Thu, 3 Feb 2011 01:49:07 +0000 (01:49 +0000)]
Fixes to get CodeSourcery GCC and RVCT 3.1 compiling.

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

9 years agoFix issue with fixing tabs.
andrewfish [Wed, 2 Feb 2011 23:19:30 +0000 (23:19 +0000)]
Fix issue with fixing tabs.

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

9 years agoRemove tabs.
andrewfish [Wed, 2 Feb 2011 22:54:50 +0000 (22:54 +0000)]
Remove tabs.

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

9 years agoRemove tabs from all text files in the package.
andrewfish [Wed, 2 Feb 2011 22:52:07 +0000 (22:52 +0000)]
Remove tabs from all text files in the package.

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

9 years agoUpdate to match changes in the ArmPkg.
andrewfish [Wed, 2 Feb 2011 22:37:37 +0000 (22:37 +0000)]
Update to match changes in the ArmPkg.

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

9 years agoSync up ArmPkg with patch from mailing list. Changed name of BdsLib.h to BdsUnixLib...
andrewfish [Wed, 2 Feb 2011 22:35:30 +0000 (22:35 +0000)]
Sync up ArmPkg with patch from mailing list. Changed name of BdsLib.h to BdsUnixLib.h and fixed a lot of issues with Xcode building.

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

9 years agoAdd the missing up/down arrow in UNI string.
lgao4 [Tue, 1 Feb 2011 06:23:21 +0000 (06:23 +0000)]
Add the missing up/down arrow in UNI string.

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

9 years agoAdd ArmPlatformPkg from ARM Ltd. patch.
andrewfish [Tue, 1 Feb 2011 05:41:42 +0000 (05:41 +0000)]
Add ArmPlatformPkg from ARM Ltd. patch.

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

9 years agoFix EBL GetCurrentIpAddress & GetCurrentMacAddress commands. Add variable services...
andrewfish [Tue, 1 Feb 2011 05:37:22 +0000 (05:37 +0000)]
Fix EBL GetCurrentIpAddress & GetCurrentMacAddress commands. Add variable services commands. Fix arugment parsing in EBL. All fixes from ARM Ltd.

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

9 years agoReplace INTERWORK_FUNC, with GCC_ASM_EXPORT() and GCC_ASM_IMPORT() and update the...
andrewfish [Tue, 1 Feb 2011 05:01:35 +0000 (05:01 +0000)]
Replace INTERWORK_FUNC, with GCC_ASM_EXPORT() and GCC_ASM_IMPORT() and update the rest of the MdePkg ARM assembler to use the macro. Leave the old INTERWORK_FUNC macro in place until we can make sure all the other packages have been updated and then it can be removed.

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

9 years agoAdd assertion after memory allocation.
niruiyu [Mon, 31 Jan 2011 04:15:27 +0000 (04:15 +0000)]
Add assertion after memory allocation.

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

9 years agoCorrect comments for EFI_LEGACY_PIRQ_ENTRY.
jyao1 [Mon, 31 Jan 2011 02:37:03 +0000 (02:37 +0000)]
Correct comments for EFI_LEGACY_PIRQ_ENTRY.

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

9 years agoOvmfPkg NvVarsFileLib: Leverage SerializeVariablesLib
jljusten [Sun, 30 Jan 2011 19:50:08 +0000 (19:50 +0000)]
OvmfPkg NvVarsFileLib: Leverage SerializeVariablesLib

Utilize SerializeVariablesLib to simplify this library's
implementation.

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

9 years agoOvmfPkg: Add SerializeVariablesLib library instance
jljusten [Sun, 30 Jan 2011 19:49:54 +0000 (19:49 +0000)]
OvmfPkg: Add SerializeVariablesLib library instance

This library implements the library class interface defined at:
OvmfPkg/Include/Library/SerializeVariablesLib.h

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

9 years agoOvmfPkg: Add SerializeVariablesLib library class
jljusten [Sun, 30 Jan 2011 19:49:37 +0000 (19:49 +0000)]
OvmfPkg: Add SerializeVariablesLib library class

This library provides an interface for converting the system
variables into a binary and also restoring the system variables
from that binary.

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

9 years agoAdd back the BdsDeleteBootOption to pass build.
niruiyu [Fri, 28 Jan 2011 09:21:43 +0000 (09:21 +0000)]
Add back the BdsDeleteBootOption to pass build.

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

9 years agoDon't need to update its copy right. It is same to previous version.
lgao4 [Fri, 28 Jan 2011 08:19:23 +0000 (08:19 +0000)]
Don't need to update its copy right. It is same to previous version.

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

9 years agoPcAtChipsetPkg/PciHostBridgeDxe: Fix enum type mismatch
jljusten [Fri, 28 Jan 2011 08:12:11 +0000 (08:12 +0000)]
PcAtChipsetPkg/PciHostBridgeDxe: Fix enum type mismatch

The previous code was comparing enums with a different type.

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

9 years agoRoll back previous change. GCC assembly file should use .S postfix.
lgao4 [Fri, 28 Jan 2011 05:22:14 +0000 (05:22 +0000)]
Roll back previous change. GCC assembly file should use .S postfix.

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

9 years agoBDS enhancement: enumerate & show all legacy boot options in Boot Manager so that...
niruiyu [Fri, 28 Jan 2011 02:36:26 +0000 (02:36 +0000)]
BDS enhancement: enumerate & show all legacy boot options in Boot Manager so that user is able to boot any devices in the same type in Boot Manager without changing the legacy dev order.

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

9 years agoRemove ; from end of EFI_PEI_PCI_CFG_ADDRESS() macro that prevents the macro from...
mdkinney [Thu, 27 Jan 2011 18:56:07 +0000 (18:56 +0000)]
Remove ; from end of EFI_PEI_PCI_CFG_ADDRESS() macro that prevents the macro from being used in expressions.

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

9 years agoUpdate comments of BIT1 and BIT2 to align UEFI Spec 2.3d for EFI_PARTITION_ENTRY...
niruiyu [Thu, 27 Jan 2011 04:54:22 +0000 (04:54 +0000)]
Update comments of BIT1 and BIT2 to align UEFI Spec 2.3d for EFI_PARTITION_ENTRY.Attributes in UefiGpt.h

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

9 years agoOvmfPkg ResetSystemLib: Fix build issue with VS2005
jljusten [Thu, 27 Jan 2011 01:08:52 +0000 (01:08 +0000)]
OvmfPkg ResetSystemLib: Fix build issue with VS2005

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

9 years agoUpdated IntelFrameworkPkg\Include\Guid\DataHubRecords.h same with ECP definition
li-elvin [Wed, 26 Jan 2011 09:08:45 +0000 (09:08 +0000)]
Updated IntelFrameworkPkg\Include\Guid\DataHubRecords.h same with ECP definition

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

9 years agoIf RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the status code...
li-elvin [Wed, 26 Jan 2011 07:57:13 +0000 (07:57 +0000)]
If RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the status code handler cannot work in runtime (after exit boot service). It should be allocated in runtime memory.

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

9 years agofix word typo
erictian [Wed, 26 Jan 2011 04:30:22 +0000 (04:30 +0000)]
fix word typo

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

9 years agofix arm gcc build error
erictian [Wed, 26 Jan 2011 04:24:54 +0000 (04:24 +0000)]
fix arm gcc build error

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

9 years agoNetworkPkg: Update the IpsecConfig application to fix the GCC4.5 build issue.
qianouyang [Tue, 25 Jan 2011 02:56:06 +0000 (02:56 +0000)]
NetworkPkg: Update the IpsecConfig application to fix the GCC4.5 build issue.

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

9 years ago Support proportional Font and Font output flags.
lgao4 [Mon, 24 Jan 2011 04:58:45 +0000 (04:58 +0000)]
  Support proportional Font and Font output flags.
  1. Abstract the maximum baseline and character height in Proportional Font package as its baseline and line height, and use fixed height as base line and line height for simple font packages.
  2. Update logic to handle string without EFI_HII_OUT_FLAG_CLIP_CLEAN_Y flag when string height exceeds the line height, and handle the string without EFI_HII_OUT_FLAG_CLIP_CLEAN_X flag when string wide exceeds the screen wide.
  3. Calculate Origin point by adding BaseLine on Starting position, and calculate the left-top corner of character by Origin point and CELL information.

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

9 years agoCorrect file name.
lgao4 [Mon, 24 Jan 2011 04:54:52 +0000 (04:54 +0000)]
Correct file name.

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

9 years agoFix bounds check on parameter of type EFI_GCD_IO_TYPE to use EfiGcdIoTypeMaximum...
mdkinney [Fri, 21 Jan 2011 18:49:36 +0000 (18:49 +0000)]
Fix bounds check on parameter of type EFI_GCD_IO_TYPE to use EfiGcdIoTypeMaximum instead of EfiGcdMemoryTypeMaximum.  Also fix typo in DEBUG() message string for gDS->AllocateIoSpace() calls.

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

9 years agoMdeModulePkg HiiDatabaseDxe: Fix build error on GCC 4.4
jljusten [Fri, 21 Jan 2011 16:51:12 +0000 (16:51 +0000)]
MdeModulePkg HiiDatabaseDxe: Fix build error on GCC 4.4

Remove extra left side (lvalue) type casting that generated
warnings with GCC 4.4.

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

9 years agoOvmfPkg: Add support for memory above 4GB
jljusten [Fri, 21 Jan 2011 16:51:00 +0000 (16:51 +0000)]
OvmfPkg: Add support for memory above 4GB

When QEMU has more than 3.5GB of RAM, it will map the
additional memory above 4GB.  This change will make that
RAM accessible to OVMF.

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

9 years agoOvmfPkg: Add NullMemoryTestDxe driver
jljusten [Fri, 21 Jan 2011 16:50:47 +0000 (16:50 +0000)]
OvmfPkg: Add NullMemoryTestDxe driver

This driver will find untested memory in the system, and
make it available to the system.

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

9 years agoOvmfPkg: Add DEBUG messages to dump the contents of CMOS
jljusten [Fri, 21 Jan 2011 16:50:31 +0000 (16:50 +0000)]
OvmfPkg: Add DEBUG messages to dump the contents of CMOS

The contents of CMOS on boot can describe some aspects of
the system configuration.  For example, the size of memory
available to qemu/kvm.

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

9 years agoNetworkPkg: comments clean up.
xdu2 [Fri, 21 Jan 2011 08:00:22 +0000 (08:00 +0000)]
NetworkPkg: comments clean up.

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

9 years agoNetworkPkg: Add IN/OUT modifier.
xdu2 [Fri, 21 Jan 2011 05:18:29 +0000 (05:18 +0000)]
NetworkPkg: Add IN/OUT modifier.

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

9 years agoEnhance code to avoid build error.
ydong10 [Fri, 21 Jan 2011 04:41:37 +0000 (04:41 +0000)]
Enhance code to avoid build error.

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

9 years agoProcessCumulative() function always calculates the average performance by dividing...
lzeng14 [Thu, 20 Jan 2011 11:18:14 +0000 (11:18 +0000)]
ProcessCumulative() function always calculates the average performance by dividing the count of performance record.
When the count is zero, it will report exception, so it needs to be enhanced to check the dividend.

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

9 years agoNetworkPkg-IpSecDxe: Remove extra space in function type definition to beautify doxyg...
xdu2 [Thu, 20 Jan 2011 10:22:46 +0000 (10:22 +0000)]
NetworkPkg-IpSecDxe: Remove extra space in function type definition to beautify doxygen output.

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

9 years agoNetworkPkg: Update the IpsecDxe driver related PCDs in NetworkPkg.dec.
qianouyang [Thu, 20 Jan 2011 08:44:28 +0000 (08:44 +0000)]
NetworkPkg: Update the IpsecDxe driver related PCDs in NetworkPkg.dec.

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

9 years agoFixed HiiSetString failed. Tracker NUM:204479
ydong10 [Thu, 20 Jan 2011 02:51:09 +0000 (02:51 +0000)]
Fixed HiiSetString failed. Tracker NUM:204479
Reason:
    When call function HiiSetString to update the string which has no old string exist for one language, it will failed.
Solution:
    When no old string exist, update with new string.

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

9 years agoExport EDKII_GLUE_DebugPrintErrorLevel and EDKII_GLUE_DebugPropertyMask macro
lgao4 [Tue, 18 Jan 2011 02:12:32 +0000 (02:12 +0000)]
Export EDKII_GLUE_DebugPrintErrorLevel and EDKII_GLUE_DebugPropertyMask macro

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

9 years agoEnhance the code to avoid the potential of return address of local variable to output...
tye1 [Mon, 17 Jan 2011 05:54:13 +0000 (05:54 +0000)]
Enhance the code to avoid the potential of return address of local variable to output structure.

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

9 years agoUpdate the GUID value to be consist with the one in DEC file.
gdong1 [Mon, 17 Jan 2011 02:18:45 +0000 (02:18 +0000)]
Update the GUID value to be consist with the one in DEC file.

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

9 years agoFixed 3 ECC errors.
gdong1 [Sun, 16 Jan 2011 05:05:45 +0000 (05:05 +0000)]
Fixed 3 ECC errors.

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

9 years agoOvmfPkg EmuVariableFvb: Use 64-bit NV storage PCD
jljusten [Sun, 16 Jan 2011 03:32:47 +0000 (03:32 +0000)]
OvmfPkg EmuVariableFvb: Use 64-bit NV storage PCD

Change from using PcdFlashNvStorageVariableBase to
PcdFlashNvStorageVariableBase64.

This will make sure the EMU Variable FVB will
function in systems with more than 4GB of memory.

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

9 years agoOvmfPkg ResetSystemLib: Add shutdown support for OVMF
jljusten [Thu, 13 Jan 2011 05:46:52 +0000 (05:46 +0000)]
OvmfPkg ResetSystemLib: Add shutdown support for OVMF

This library will allow the UEFI RuntimeServices
ResetSystem call to function with OVMF.

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

9 years agoOvmfPkg/PlatformPei: Set PM base address OVMF
jljusten [Thu, 13 Jan 2011 05:46:24 +0000 (05:46 +0000)]
OvmfPkg/PlatformPei: Set PM base address OVMF

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

9 years agoOvmfPkg/build.sh: Recognize '-p' switch
jljusten [Thu, 13 Jan 2011 05:46:03 +0000 (05:46 +0000)]
OvmfPkg/build.sh: Recognize '-p' switch

This allows the .dsc file to be specified for the build.

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

9 years agoFix potential memory access violation
ydong10 [Thu, 13 Jan 2011 02:25:24 +0000 (02:25 +0000)]
Fix potential memory access violation

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

9 years agoRefine code to make code follow the coding style.
ydong10 [Thu, 13 Jan 2011 01:05:59 +0000 (01:05 +0000)]
Refine code to make code follow the coding style.

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

9 years agoAdd SMM FTW wrapper driver since non-SMM FTW protocol can be used by some consumers...
gdong1 [Wed, 12 Jan 2011 09:05:27 +0000 (09:05 +0000)]
Add SMM FTW wrapper driver since non-SMM FTW protocol can be used by some consumers (Such as capsule update) when SMM FTW driver is applied.

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

9 years agoFix an K9 issue in variable driver.
gdong1 [Wed, 12 Jan 2011 04:35:39 +0000 (04:35 +0000)]
Fix an K9 issue in variable driver.

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

9 years agoRemove extra {} inside DEBUG_CODE() macro
mdkinney [Tue, 11 Jan 2011 23:12:13 +0000 (23:12 +0000)]
Remove extra {} inside DEBUG_CODE() macro

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

9 years agoClean up GCD DEBUG() macros so DEBUG_CODE() is only used to enable/disable the DBG...
mdkinney [Tue, 11 Jan 2011 23:11:23 +0000 (23:11 +0000)]
Clean up GCD DEBUG() macros so DEBUG_CODE() is only used to enable/disable the DBG MMIO and GCD I/O map dumps

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

9 years agoEnhance BDS to support Boot/Driver option whose option number >= 0xFF.
niruiyu [Mon, 10 Jan 2011 05:56:55 +0000 (05:56 +0000)]
Enhance BDS to support Boot/Driver option whose option number >= 0xFF.

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

9 years agoOvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib
jljusten [Sun, 9 Jan 2011 03:51:16 +0000 (03:51 +0000)]
OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib

Add PlatformFvbDataRead and PlatformFvbBlocksErased functions.

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

9 years agoOvmfPkg EMU FVB: Convert to FVB2 protocol
jljusten [Sun, 9 Jan 2011 03:50:58 +0000 (03:50 +0000)]
OvmfPkg EMU FVB: Convert to FVB2 protocol

Convert from using EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL
to EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL.

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

9 years agoOvmfPkg PlatformFvbLib: Change PlatformFvbDataWritten
jljusten [Sun, 9 Jan 2011 03:50:39 +0000 (03:50 +0000)]
OvmfPkg PlatformFvbLib: Change PlatformFvbDataWritten

The new parameters closely match the
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL Write function
parameters.

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

9 years agoOvmfPkg/build.sh: Add features and replace build32/64.sh
jljusten [Sun, 9 Jan 2011 03:50:21 +0000 (03:50 +0000)]
OvmfPkg/build.sh: Add features and replace build32/64.sh

Add a single build.sh to replace build32.sh & build64.sh.

The script watches for various parameters:
-a: allows selecting IA32 or X64 (default)
-b: allows selecting RELEASE or DEBUG (default)
-t: allows selecting the toolchain

When running qemu, the script doesn't always add -hda now.
If the user provides a disk parameter (for example, -fda, -hda
or -cdrom), then -hda will not be added to the qemu command line.

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

9 years agoFix InternalMemScanMem* functions so that they return the pointer to the matched...
darylm503 [Fri, 7 Jan 2011 23:00:16 +0000 (23:00 +0000)]
Fix InternalMemScanMem* functions so that they return the pointer to the matched object, as specified, instead of the following object.
Replaces the fix instituted in rev. 10821 with a more understandable, sustainable, and efficient fix that behaves the same regardless of compiler.

Reviewed by two peers.
Fixes HSD tracker 204556.

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

9 years agoFix ICC9 compiler failure
niruiyu [Fri, 7 Jan 2011 10:11:46 +0000 (10:11 +0000)]
Fix ICC9 compiler failure

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

9 years agoFix 32-bit build break
mdkinney [Fri, 7 Jan 2011 00:41:08 +0000 (00:41 +0000)]
Fix 32-bit build break

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

9 years agoFix typo in __switchiu8() to use r0 in place of r3.
andrewfish [Thu, 6 Jan 2011 21:46:54 +0000 (21:46 +0000)]
Fix typo in __switchiu8() to use r0 in place of r3.

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

9 years agoFix the bug that duplicate HDD is shown in the BMM.
niruiyu [Thu, 6 Jan 2011 09:45:03 +0000 (09:45 +0000)]
Fix the bug that duplicate HDD is shown in the BMM.

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

9 years ago1. fix AtaPassThru.PassThru() sct failure
erictian [Thu, 6 Jan 2011 05:44:50 +0000 (05:44 +0000)]
1. fix AtaPassThru.PassThru() sct failure
2. avoid reenumerate existing device to reduce boot time at AtaBus.

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

9 years agoAdd DEBUG() macros for DEBUG_CACHE to MTRR Library show all changes memory caches...
mdkinney [Thu, 6 Jan 2011 02:57:26 +0000 (02:57 +0000)]
Add DEBUG() macros for DEBUG_CACHE to MTRR Library show all changes memory caches setting changes.
If DEBUG_PROPERTY_DEBUG_CODE_ENABLED is also set in PcdDebugPropertyMask, then the entire set of MTRRs will be displayed on every memory cache setting change.

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

9 years agoAdd DEBUG() macros to all GCD services to monitor all changes to the GCD Memory and...
mdkinney [Thu, 6 Jan 2011 02:51:08 +0000 (02:51 +0000)]
Add DEBUG() macros to all GCD services to monitor all changes to the GCD Memory and GCD I/O maps when DEBUG_GCD is set in PcdDebugPrintErrorLevel.
If DEBUG_PROPERTY_DEBUG_CODE_ENABLED is also set in PcdDebugPropertyMask, then the GCD Memory and I/O Maps will be dumped every time there is a GCD change.

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

9 years agoFix Copyright year to 2011
mdkinney [Thu, 6 Jan 2011 02:47:38 +0000 (02:47 +0000)]
Fix Copyright year to 2011

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

9 years agoDefine bits for PcdDebugPrintErrorLevel to monitor Global Coherency Domain(GCD) and...
mdkinney [Thu, 6 Jan 2011 02:46:35 +0000 (02:46 +0000)]
Define bits for PcdDebugPrintErrorLevel to monitor Global Coherency Domain(GCD) and memory cache setting changes.

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

9 years agoCorrect return value check.
jyao1 [Wed, 5 Jan 2011 13:43:00 +0000 (13:43 +0000)]
Correct return value check.

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

9 years agoNetworkPkg: Update Ipsecconfig Application to print the keys of SAD in concise way.
qianouyang [Wed, 5 Jan 2011 09:41:57 +0000 (09:41 +0000)]
NetworkPkg: Update Ipsecconfig Application to print the keys of SAD in concise way.

If the SAD is set manually, print its keys in Ascci string format.
If the SAD is created by IKE, print its keys in Hex format.

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

9 years agoin Recovery path, doesn't warm reset even if MemoryTypeInfo data is changed.
erictian [Wed, 5 Jan 2011 02:33:47 +0000 (02:33 +0000)]
in Recovery path, doesn't warm reset even if MemoryTypeInfo data is changed.

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

9 years agoUse REPORT_STATUS_CODExxx() macros directly.
mdkinney [Mon, 3 Jan 2011 19:25:00 +0000 (19:25 +0000)]
Use REPORT_STATUS_CODExxx() macros directly.

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

9 years agoUse REPORT_STATUS_CODExxx() macros directly.
mdkinney [Mon, 3 Jan 2011 19:24:17 +0000 (19:24 +0000)]
Use REPORT_STATUS_CODExxx() macros directly.

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

9 years agoEdkCompatibilityPkg RuntimeDxe Lib: Fix GCC warning
jljusten [Mon, 3 Jan 2011 18:53:51 +0000 (18:53 +0000)]
EdkCompatibilityPkg RuntimeDxe Lib: Fix GCC warning

Fix warning seen with GCC 4.4.

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

9 years agoNetworkPkg/IpSecDxe: Add missing EFIAPI for callback functions
jljusten [Mon, 3 Jan 2011 03:17:20 +0000 (03:17 +0000)]
NetworkPkg/IpSecDxe: Add missing EFIAPI for callback functions

Callback functions must always use EFIAPI.

GCC 4.4 X64 flagged these mismatches in EFIAPI usage.

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

9 years agoFix build issue.
qianouyang [Sat, 1 Jan 2011 08:45:57 +0000 (08:45 +0000)]
Fix build issue.

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

9 years agoAdd IPsec/Ikev2 support.
qianouyang [Fri, 31 Dec 2010 10:43:54 +0000 (10:43 +0000)]
Add IPsec/Ikev2 support.

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

9 years agoOvmfPkg: Work around issue seen with kvm + grub2 (efi)
jljusten [Fri, 31 Dec 2010 07:55:51 +0000 (07:55 +0000)]
OvmfPkg: Work around issue seen with kvm + grub2 (efi)

When OVMF is run with kvm and grub2 (efi), an exception
occurs when mmx/sse registers are accessed.

As a work around, this change eliminates firmware usage
of these register types.

First, only the BaseMemoryLib implementation
MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
is used.

Second, the GCC compiler is passes the additional
'-mno-mmx -mno-sse' parameters.

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

9 years agoOvmfPkg: Add USB support
jljusten [Fri, 31 Dec 2010 07:55:38 +0000 (07:55 +0000)]
OvmfPkg: Add USB support

Add USB drivers to OVMF build

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

9 years agoOvmfPkg README: Group network information together
jljusten [Fri, 31 Dec 2010 07:55:23 +0000 (07:55 +0000)]
OvmfPkg README: Group network information together

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

9 years agoOvmfPkg: Add build32.sh and build64.sh scripts
jljusten [Fri, 31 Dec 2010 07:55:11 +0000 (07:55 +0000)]
OvmfPkg: Add build32.sh and build64.sh scripts

These scripts are similar to those found under DuetPkg & UnixPkg.

The scripts simplify building and running OVMF under systems that
have the bash shell available.

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

9 years ago1. Add new API supports for PEM & X509 key retrieving & verification;
qlong [Fri, 31 Dec 2010 07:22:48 +0000 (07:22 +0000)]
1. Add new API supports for PEM & X509 key retrieving & verification;
2. Add new MD4 hash supports;
3. Add corresponding test case in Cryptest utility;
4. Fix MACRO definition issue in OpensslLib.inf and parameter checking issues in some wrapper implementations.

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