]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
13 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
mdkinney [Thu, 10 Mar 2011 22:37:39 +0000 (22:37 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

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

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

13 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
mdkinney [Thu, 10 Mar 2011 22:37:17 +0000 (22:37 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

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

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

13 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
mdkinney [Thu, 10 Mar 2011 22:32:53 +0000 (22:32 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

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

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

13 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
mdkinney [Thu, 10 Mar 2011 22:32:32 +0000 (22:32 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

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

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

13 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
mdkinney [Thu, 10 Mar 2011 22:25:34 +0000 (22:25 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

1) Update PeiDxeDebugLibReportStatusCode to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
2) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package.

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

13 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
mdkinney [Thu, 10 Mar 2011 22:19:15 +0000 (22:19 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

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

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

13 years agoUpdate DebugLib to provide support for "err" command in the EFI Shell to adjust the...
mdkinney [Thu, 10 Mar 2011 22:15:38 +0000 (22:15 +0000)]
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages.  The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol.  In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.

1) Add DebugMask.h that defines the GUID and Protocol used by the "err" EFI Shell command to get/set the global mask and get/set the module scoped masks
2) Add DxeDebugPrintErrorLevelLib that provide an implementation of the DebugPrintErrorLevbel library classes that uses the GUID and Protocol defined in DebugMask.h to "err" EFI Shell compatibility.
3) Add default mapping for the DebugPrintErrirLevelLib to the DSC file for this package.

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

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

1) Define new DebugPrintErrorLevelLib that produces an API that DebugPrint() APIs in DebugLib implementations can use to retrieve the current mask for filtering DebugPrint() statements.
2) Add a BASE type implementation of the DebugPrintErrorLevelLib that directly accessed PcdDebugPrintErrorLevel to provide backward compatibility with the current EDK II DebugLib behavior.
3) Update description of the DebugPrint() API in the DebugLib to describe the new dependency on the DebugPrintErrorLevelLib that replaces the prior dependency in the PcdDebugPrintErrorLevel PCD.
4) Update the comments in BaseDebugLibNull to match (3).
5) Update BaseDebugLibSerialPort to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
6) Update UefiDebugLinConOut to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
7) Update UefiDebugLibStdErr to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.

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

13 years agoUpdate module to pass in a valid EFI_HANDLE when is reloads and restarts itself using...
mdkinney [Thu, 10 Mar 2011 21:59:39 +0000 (21:59 +0000)]
Update module to pass in a valid EFI_HANDLE when is reloads and restarts itself using the PeCoffLib.

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

13 years agoAdd performance library instances for SMM performance measurement.
rsun3 [Thu, 10 Mar 2011 07:39:51 +0000 (07:39 +0000)]
Add performance library instances for SMM performance measurement.

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

13 years agoEnhance PcAt IsaAcpi driver to support enable/disable separated functions per PCD...
niruiyu [Thu, 10 Mar 2011 07:33:42 +0000 (07:33 +0000)]
Enhance PcAt IsaAcpi driver to support enable/disable separated functions per PCD settings.

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

13 years agoFixed typos per the PI Spec 1.2 Errata B.
vanjeff [Thu, 10 Mar 2011 05:14:10 +0000 (05:14 +0000)]
Fixed typos per the PI Spec 1.2 Errata B.

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

13 years agofix null DevicePath issue.
erictian [Thu, 10 Mar 2011 05:01:15 +0000 (05:01 +0000)]
fix null DevicePath issue.

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

13 years ago1. The old refresh string code also update the time/date opcode. But for the reason...
ydong10 [Thu, 10 Mar 2011 02:28:15 +0000 (02:28 +0000)]
1. The old refresh string code also update the time/date opcode. But for the reason that time/date opcode updates the string with the same size, so skip the refresh code for it.
2. Also, the clean old string action used save attribute with paint string action which makes the background show abnormal.  Now using the normal attribute to clean the old string.

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

13 years agoUpdated the GUID name to follow PI Spec, 1.2 Errata B.
vanjeff [Thu, 10 Mar 2011 01:20:15 +0000 (01:20 +0000)]
Updated the GUID name to follow PI Spec, 1.2 Errata B.

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

13 years agoUpdate comment per the latest PI spec Errata B.
li-elvin [Thu, 10 Mar 2011 00:57:18 +0000 (00:57 +0000)]
Update comment per the latest PI spec Errata B.

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

13 years agoUpdate HiiCompareLanguage to support case that language in String package is "en...
lgao4 [Tue, 8 Mar 2011 08:50:26 +0000 (08:50 +0000)]
Update HiiCompareLanguage to support case that language in String package is "en" and the input language is "en-US".

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

13 years agoDo the following enhancement for SetupBrowser:
lgao4 [Tue, 8 Mar 2011 06:55:15 +0000 (06:55 +0000)]
Do the following enhancement for SetupBrowser:
  1. Support Scroll up and down. When hit the top, the last page will be showed. When hit the bottom, the first page will be showed.
  2. Show forms page by page based on the option (including unselected and selected).
  3. Add PCD to configure whether TEXT statement is set to Grayout option.

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

13 years agoBug description:
ydong10 [Tue, 8 Mar 2011 06:01:23 +0000 (06:01 +0000)]
Bug description:
  When the menu is refresh type, and the old string is longer than new string, after refresh, some old string will still show.
The mainly change is:
  1. This change cleans the old string first and then paints the new string.
  2. Fixed old code checks grayout flag not correct.

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

13 years agoAdd AHCI support for DUET.
lzeng14 [Tue, 8 Mar 2011 05:42:37 +0000 (05:42 +0000)]
Add AHCI support for DUET.

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

13 years agofix a invalid pointer conversion when builing 32bit image.
erictian [Tue, 8 Mar 2011 01:32:34 +0000 (01:32 +0000)]
fix a invalid pointer conversion when builing 32bit image.

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

13 years agoAdd missing .h file to INF file
gdong1 [Tue, 8 Mar 2011 01:22:30 +0000 (01:22 +0000)]
Add missing .h file to INF file

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

13 years agoFix up the UnixPkg to work with clang on OS X. XCLANG toolchain configuration has...
andrewfish [Tue, 8 Mar 2011 00:12:30 +0000 (00:12 +0000)]
Fix up the UnixPkg to work with clang on OS X. XCLANG toolchain configuration has already been checked into BaseTools project.

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

13 years agoECP package BootScriptSaveOnS3SaveStateThunk driver needs to support framework 32bit...
lgao4 [Mon, 7 Mar 2011 02:23:00 +0000 (02:23 +0000)]
ECP package BootScriptSaveOnS3SaveStateThunk driver needs to support framework 32bit dispatch code. It must be loaded into <4G memory.

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

13 years agoFix minor Xcode build issues.
andrewfish [Sat, 5 Mar 2011 13:23:47 +0000 (13:23 +0000)]
Fix minor Xcode build issues.

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

13 years agoFix Xcode build issue.
andrewfish [Sat, 5 Mar 2011 13:21:54 +0000 (13:21 +0000)]
Fix Xcode build issue.

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

13 years agoUnixPkg: Fix build for Linux
jljusten [Sat, 5 Mar 2011 08:08:47 +0000 (08:08 +0000)]
UnixPkg: Fix build for Linux

UnixPkg/UnixSnpDxe is currently BSD/OS X specific.
Therefore we only build it if "-D NETWORK_SUPPORT"
is used on the build command line.

UnixPkg/build.sh and UnixPkg/build64.sh are updated to
automatically define NETWORK_SUPPORT if building on OS X.

<net/if_dl.h> and <net/bpf.h> are also only included in
UnixPkg/Include/Common/UnixInclude.h if __APPLE__ is defined.

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

13 years agoUnixPkg: Use build flag to prevent FatPkg from being required
jljusten [Sat, 5 Mar 2011 08:08:23 +0000 (08:08 +0000)]
UnixPkg: Use build flag to prevent FatPkg from being required

In the default case we use FatBinPkg from the edk2 tree.
"-D COMPILE_BINS" can be used on the command line if FatPkg
is present and needs to be built.

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

13 years agoCorrect incoming buffer size comparison to the incoming buffer, not the existing...
jcarsey [Fri, 4 Mar 2011 16:22:15 +0000 (16:22 +0000)]
Correct incoming buffer size comparison to the incoming buffer, not the existing buffer.

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

13 years agowhen timeout is 0, infinite loop on the timeout request to follow UEFI spec
erictian [Fri, 4 Mar 2011 01:26:40 +0000 (01:26 +0000)]
when timeout is 0, infinite loop on the timeout request to follow UEFI spec

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

13 years agoFix the bug that BDS assumes any boot option resides in the FV is Shell which causes...
niruiyu [Tue, 1 Mar 2011 06:46:24 +0000 (06:46 +0000)]
Fix the bug that BDS assumes any boot option resides in the FV is Shell which causes that the non-Shell FV boot option is removed by GenericBdsLib.

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

13 years agoSymptom:
ydong10 [Mon, 28 Feb 2011 09:31:09 +0000 (09:31 +0000)]
Symptom:
  The "Configuration Changed. Reset to apply it now?" screen does not show up after restoring setup values to default using the F9 hot-key.
RootCause:
  gResetRequired flag was not set after default value restored
Solution:
  Set gResetRequired flag to TRUE after default setup values are restored.

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

13 years agoPuts SMM variable common definitions in SmmVariableCommon.h.
gdong1 [Mon, 28 Feb 2011 07:31:45 +0000 (07:31 +0000)]
Puts SMM variable common definitions in SmmVariableCommon.h.
Fixed a bug that SMM_VARIABLE_COMMUNICATE_VARIABLE_INFO_ENTRY was misused as SMM_VARIABLE_COMMUNICATE_QUERY_VARIABLE_INFO.

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

13 years agoclean non-ASCII char
hhtian [Sat, 26 Feb 2011 06:23:18 +0000 (06:23 +0000)]
clean non-ASCII char

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

13 years agoOvmfPkg: Add create-release.py script
jljusten [Wed, 23 Feb 2011 22:21:00 +0000 (22:21 +0000)]
OvmfPkg: Add create-release.py script

This script builds OVMF IA32 and X64, and packages
both versions for release.

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

13 years agoThe input StringInfo should be kept for HiiStringIdToImage() function.
lgao4 [Wed, 23 Feb 2011 10:07:38 +0000 (10:07 +0000)]
The input StringInfo should be kept for HiiStringIdToImage() function.

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

13 years ago1.Refine all the goto and action opcode. When the menu link to the sub form, use...
ydong10 [Wed, 23 Feb 2011 05:08:04 +0000 (05:08 +0000)]
1.Refine all the goto and action opcode. When the menu link to the sub form, use the goto opcode and show the arrow. Others use the action opcode.
2.update the front page info. move down one line.

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

13 years ago1.Reposition the platform info. Move from the old position to left one block space...
ydong10 [Wed, 23 Feb 2011 05:05:47 +0000 (05:05 +0000)]
1.Reposition the platform info. Move from the old position to left one block space and down one block space.
2.Show the arrow on all the form, old logical not include the front page.

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

13 years agoHiiCompareLanguage should use the exact match method, old code use the best match...
ydong10 [Wed, 23 Feb 2011 03:21:04 +0000 (03:21 +0000)]
HiiCompareLanguage should use the exact match method, old code use the best match method.

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

13 years agoUpdate PeiCore and DxeCore to verify FFS data checksum.
lgao4 [Wed, 23 Feb 2011 03:09:55 +0000 (03:09 +0000)]
Update PeiCore and DxeCore to verify FFS data checksum.

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

13 years agoSourceLevelDebugPkg: Pack CPU context structures
jljusten [Tue, 22 Feb 2011 16:36:12 +0000 (16:36 +0000)]
SourceLevelDebugPkg: Pack CPU context structures

Use #pragma pack to ensure that ASM and C code agree on
the structure layout between various compilers.

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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.
Notes:
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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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