11 years agoAdd definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM...
rsun3 [Tue, 22 Feb 2011 10:05:06 +0000 (10:05 +0000)]
Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec.

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

11 years agofix refresh menu save attribute error. not consider the grayout attribute.
ydong10 [Tue, 22 Feb 2011 08:05:56 +0000 (08:05 +0000)]
fix refresh menu save attribute error. not consider the grayout attribute.

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

11 years agoAdd comments for the two parameters of DxeTscTimerLibConstructor.
lzeng14 [Tue, 22 Feb 2011 06:21:52 +0000 (06:21 +0000)]
Add comments for the two parameters of DxeTscTimerLibConstructor.

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

11 years agoUpdate the arrow position.
ydong10 [Mon, 21 Feb 2011 10:46:14 +0000 (10:46 +0000)]
Update the arrow position.
Use the parameter” LEFT_SKIPPED_COLUMNS” to adjust the position from the beginning of the line to the beginning of the menu string.
The arrow position and the beginning of the menu string are fixed in one block space.

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

11 years agoA minor change for the format of usage align with spec.
gikidy [Mon, 21 Feb 2011 08:07:22 +0000 (08:07 +0000)]
A minor change for the format of usage align with spec.

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

11 years agoFix a bug in PxeBcDriver (When disconnect PxeBc driver under shell environment will...
hhuan13 [Fri, 18 Feb 2011 06:06:46 +0000 (06:06 +0000)]
Fix a bug in PxeBcDriver (When disconnect PxeBc driver under shell environment will cause a exception)

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

11 years agoRefine coding style.
ydong10 [Fri, 18 Feb 2011 02:11:53 +0000 (02:11 +0000)]
Refine coding style.

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

11 years agoUpdate inappropriate comments.
ydong10 [Thu, 17 Feb 2011 00:45:08 +0000 (00:45 +0000)]
Update inappropriate comments.

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

11 years agoCorrect copyright year
hhtian [Wed, 16 Feb 2011 12:21:31 +0000 (12:21 +0000)]
Correct copyright year

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

11 years agoFix shell timezone bugs (corresponding Shell SVN r47)
niruiyu [Wed, 16 Feb 2011 08:55:19 +0000 (08:55 +0000)]
Fix shell timezone bugs (corresponding Shell SVN r47)

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

11 years agoUpdate HiiCompareLanguage() function to use GetBestLanguage() API to do RFC4646 langu...
lgao4 [Wed, 16 Feb 2011 06:02:07 +0000 (06:02 +0000)]
Update HiiCompareLanguage() function to use GetBestLanguage() API to do RFC4646 language compare.

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

11 years agoupdate comments and correct reclaim algorithm if there is no record existing in FTW...
erictian [Wed, 16 Feb 2011 05:31:53 +0000 (05:31 +0000)]
update comments and correct reclaim algorithm if there is no record existing in FTW working block.

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

11 years agoEnhance BMM to support changing FlowControl setting in Front Page.
ydong10 [Wed, 16 Feb 2011 05:31:39 +0000 (05:31 +0000)]
Enhance BMM to support changing FlowControl setting in Front Page.

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

11 years agoPer PI spec, StatusCode related structure is not required to be defined as packed...
lgao4 [Wed, 16 Feb 2011 01:25:56 +0000 (01:25 +0000)]
Per PI spec, StatusCode related structure is not required to be defined as packed byte. So, StatusCode related structures are updated from packed to unpacked.
1. This patch is an incompatible change for the binary image built based on previous EDKII code. But, it is a compatible change for source.
2. This change will make StatusCode related definition in MdePkg to align the one defined in EcpPkg. Then, EDK driver based on EcpPkg can work together EDKII core.

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

11 years agoPer PI1.2B spec, for the case that TE Image Relocation Data Directory Entry Virtual...
lgao4 [Wed, 16 Feb 2011 01:18:28 +0000 (01:18 +0000)]
Per PI1.2B spec, for the case that TE Image Relocation Data Directory Entry Virtual Address is non-zero, but the Relocation Data Directory Size is zero, BasePeCoffLib should only handle such case as PIC TE image.

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

11 years agoupdate copyright format
hhtian [Tue, 15 Feb 2011 12:13:00 +0000 (12:13 +0000)]
update copyright format

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

11 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:

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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
    When call function HiiSetString to update the string which has no old string exist for one language, it will failed.
    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

11 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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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


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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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