]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agoUse SmmStatusCode protocol in EfiInitializeSmmDriverLib() funciton.
lgao4 [Fri, 31 Dec 2010 04:36:50 +0000 (04:36 +0000)]
Use SmmStatusCode protocol in EfiInitializeSmmDriverLib() funciton.

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

13 years ago1. Invoke InstallConfigurationTable () in OnReadyToBoot() to avoid the new registered...
gdong1 [Fri, 31 Dec 2010 04:31:42 +0000 (04:31 +0000)]
1. Invoke InstallConfigurationTable () in OnReadyToBoot() to avoid the new registered table may be NULL.
2. For SMM variable driver, it doesn’t need to mark the variable storage region of the FLASH as RUNTIME, so only keep it for non-SMM variable driver.

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

13 years agoUpdate the Timeout used for Write() operations to consider the case where the Tx...
mdkinney [Thu, 30 Dec 2010 22:30:57 +0000 (22:30 +0000)]
Update the Timeout used for Write() operations to consider the case where the Tx FIFO is full on entry to Write().

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

13 years agoPrevent a NULL device path from being passed into REPORT_STATUS_CODE_WITH_DEVICE_PATH...
mdkinney [Thu, 30 Dec 2010 22:29:54 +0000 (22:29 +0000)]
Prevent a NULL device path from being passed into REPORT_STATUS_CODE_WITH_DEVICE_PATH by building child device path before using any of the Serial I/O Protocol services.
This guarantees that child device path is valid even if an error is returned from one of Serial I/O Protocol services in Start().

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

13 years agoShow PEIM GUID in PERF log.
lgao4 [Thu, 30 Dec 2010 09:38:38 +0000 (09:38 +0000)]
Show PEIM GUID in PERF log.

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

13 years agoEnable number input for numeric, date and time opcode
ydong10 [Thu, 30 Dec 2010 07:26:56 +0000 (07:26 +0000)]
Enable number input for numeric, date and time opcode

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

13 years agoFix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull. It...
mdkinney [Thu, 30 Dec 2010 01:07:39 +0000 (01:07 +0000)]
Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull.  It will ASSERT() due to the recent addition of a CONSTRUCTOR to BaseDebugLibSerialPort that calls SerialPortInitialize().
The fix is to change SerialPortInitialize() to always return RETURN_SUCCESS instead of RETURN_UNSUPPORTED.

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

13 years agoAdd mapping for PlatformHookLib to [LibraryClasses] section
mdkinney [Wed, 29 Dec 2010 18:28:38 +0000 (18:28 +0000)]
Add mapping for PlatformHookLib to [LibraryClasses] section

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

13 years agoUpdate Ipsecconfig application.
qianouyang [Wed, 29 Dec 2010 10:44:12 +0000 (10:44 +0000)]
Update Ipsecconfig application.
1. add the support of "--tunnel-dest" and "tunnel-source" parameters.
2. transfer to EFI_IPSEC_SA_DATA2.

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

13 years agoClean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus driver/PCI...
rsun3 [Tue, 28 Dec 2010 10:10:10 +0000 (10:10 +0000)]
Clean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus driver/PCI host bridge drivers/LPC/VGA device drivers.
1. Fix the incorrect definition of EFI_PCI_IO_ATTRIBUTE_VGA_IO_16 (does not conform to the UEFI spec) in PciIo.h.
2. Add missing definitions of ISA and VGA IO attributes in PCI Root Bridge IO protocol.
3. Improve the algorithm in the PCI bus driver to get PCI platform policy from PCI Platform Protocol and PCI Override Protocol.
4. Update the PCI bus driver to use the PCI platform policy to determine the supported attributes that are returned by the EFI_PCI_IO_PROTOCOL.Attributes() function. This is required by the PI spec.
5. Add a backward compatibility workaround for PCI VGA drivers in Option ROM, which typically sets VGA_IO without checking supported attributes.
6. Update the PCI host bridge driver in PcAtChipsetPkg to report VGA_IO_16 and ISA_IO_16 instead of VGA_IO/ISA_IO attributes. Modern chipsets don’t have hardware capability to control 10-bit or 16-bit decoding for ISA/VGA aliases.
7. Update LPC/VGA device drivers to check supported attributes of VGA_IO/VGA_IO_16 or ISA_IO/ISA_IO_16.

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

13 years agoAdd missing @param to function header comment.
mdkinney [Mon, 27 Dec 2010 17:16:55 +0000 (17:16 +0000)]
Add missing @param to function header comment.

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

13 years agoFix CYG GCC build fail on retf.
jyao1 [Sun, 26 Dec 2010 07:25:12 +0000 (07:25 +0000)]
Fix CYG GCC build fail on retf.

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

13 years agoReplace @@ symbol since GCC does not recognize it.
jyao1 [Sat, 25 Dec 2010 12:52:52 +0000 (12:52 +0000)]
Replace @@ symbol since GCC does not recognize it.

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

13 years agoFix GCC build failure.
jyao1 [Fri, 24 Dec 2010 11:06:17 +0000 (11:06 +0000)]
Fix GCC build failure.

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

13 years agoRemove ASSERT here for the zero attributes means deleting preexisting variable.
gdong1 [Fri, 24 Dec 2010 07:03:25 +0000 (07:03 +0000)]
Remove ASSERT here for the zero attributes means deleting preexisting variable.

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

13 years agoAdd support for BootOption with USB Class or USB WWID device path node.
xdu2 [Fri, 24 Dec 2010 05:33:08 +0000 (05:33 +0000)]
Add support for BootOption with USB Class or USB WWID device path node.

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

13 years ago1. update MatchUsbWwid() to check Vendor Id, Product Id and Interface Number.
xdu2 [Fri, 24 Dec 2010 05:32:34 +0000 (05:32 +0000)]
1. update MatchUsbWwid() to check Vendor Id, Product Id and Interface Number.
2. update SerialNumber comparing logic to handle possible NULL-terminator in WWID device path
3. fix bug in UsbIo->UsbIoGetSupportedLanguages(): TableSize is size in bytes of LangIDTable instead of number of LangID.

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

13 years ago1. Support inconsistent if opcode used in string/password opcode.
ydong10 [Thu, 23 Dec 2010 06:47:50 +0000 (06:47 +0000)]
1. Support inconsistent if opcode used in string/password opcode.
2. Add sample code of using inconsistent if opcode in string opcode.

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

13 years ago1. support numeric item +/- action generate callback
ydong10 [Thu, 23 Dec 2010 05:58:30 +0000 (05:58 +0000)]
1. support numeric item +/- action generate callback
2. when user change numeric opcode, call to refresh form.

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