mirror_edk2.git
11 years ago1. enable /GL optimization building on OpensslLib.
vanjeff [Fri, 26 Nov 2010 07:23:30 +0000 (07:23 +0000)]
1. enable /GL optimization building on OpensslLib.
2. add DDK3790 compiler option for IA32.

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

11 years agoFix the checking logic for the boot option enumeration.
niruiyu [Fri, 26 Nov 2010 06:33:19 +0000 (06:33 +0000)]
Fix the checking logic for the boot option enumeration.
Fix the memory leak issue.

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

11 years agoReduce DataHub TPL Level to TPL_CALLBACK, because DataHub uses GetTime() service...
lgao4 [Fri, 26 Nov 2010 06:32:35 +0000 (06:32 +0000)]
Reduce DataHub TPL Level to TPL_CALLBACK, because DataHub uses GetTime() service that must be called <= TPL_CALLBACK.

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

11 years agoSync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
lgao4 [Fri, 26 Nov 2010 01:54:49 +0000 (01:54 +0000)]
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.

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

11 years agoEHCI Controllers with a CapLen of 0 are ignored.
erictian [Fri, 26 Nov 2010 01:49:27 +0000 (01:49 +0000)]
EHCI Controllers with a CapLen of 0 are ignored.

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

11 years agoFix a bug in GetLangFromSupportedLangCodes()
niruiyu [Thu, 25 Nov 2010 07:16:31 +0000 (07:16 +0000)]
Fix a bug in GetLangFromSupportedLangCodes()

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

11 years agoFix a bug in GetLangFromSupportedLangCodes()
niruiyu [Thu, 25 Nov 2010 07:04:04 +0000 (07:04 +0000)]
Fix a bug in GetLangFromSupportedLangCodes()

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

11 years agoSet PcdResetOnMemoryTypeInformationChange to FALSE in NT32 to avoid close down in...
niruiyu [Thu, 25 Nov 2010 02:00:29 +0000 (02:00 +0000)]
Set PcdResetOnMemoryTypeInformationChange to FALSE in NT32 to avoid close down in the first start up.

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

11 years agofix unaligned device path node access.
jcarsey [Wed, 24 Nov 2010 16:12:11 +0000 (16:12 +0000)]
fix unaligned device path node access.

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

11 years agoFix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before...
niruiyu [Wed, 24 Nov 2010 03:23:30 +0000 (03:23 +0000)]
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
Pre-allocate pool for runtime phase.

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

11 years agoFix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before...
niruiyu [Wed, 24 Nov 2010 03:04:20 +0000 (03:04 +0000)]
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
Pre-allocate pool for runtime phase.

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

11 years agoAdds the missing return status description for HiiConfigRouting.ConfigToBlock() API.
lgao4 [Tue, 23 Nov 2010 11:14:39 +0000 (11:14 +0000)]
Adds the missing return status description for HiiConfigRouting.ConfigToBlock() API.

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

11 years ago Fix the bug that HiiConfigToBlock doesn't update BlockSize when Block is not large...
lgao4 [Tue, 23 Nov 2010 11:13:22 +0000 (11:13 +0000)]
 Fix the bug that HiiConfigToBlock doesn't update BlockSize when Block is not large enough

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

11 years ago1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_...
vanjeff [Tue, 23 Nov 2010 07:51:00 +0000 (07:51 +0000)]
1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE,
   use MAX_EXTENDED_DATA_SIZE as before.
2. Use DEBUG error message instead of ASSERT(FASLE) when extended data is too large
3. Expand 1 for buffer array size to avoid potential issue.

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

11 years ago1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_...
vanjeff [Tue, 23 Nov 2010 07:50:31 +0000 (07:50 +0000)]
1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE,
   use MAX_EXTENDED_DATA_SIZE as before.
2. Use DEBUG error message instead of ASSERT(FASLE) when extended data is too large
3. Expand 1 for buffer array size to avoid potential issue.

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

11 years agofix typo in comment.
jcarsey [Mon, 22 Nov 2010 22:49:12 +0000 (22:49 +0000)]
fix typo in comment.

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

11 years agoThe PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible that...
rsun3 [Mon, 22 Nov 2010 07:16:02 +0000 (07:16 +0000)]
The PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible that some HPCs in the list are not found during PCI enumeration. In this case, the PCI HotPlug Init Protocol.InitializeRootHpc() will not be called for the un-found HPCs. However, in AllRootHPCInitialized(), all reported HPCs are checked to see if it has been initialized, so TIME_OUT happens.

This check-in fix the issue by adding a flag to indicate if a HPC is found during PCI enumeration or not. This check-in also adds a debug message if any found HPC failed with initialization.

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

11 years agoUse PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset...
niruiyu [Mon, 22 Nov 2010 05:25:03 +0000 (05:25 +0000)]
Use PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.
Check memory type information after signaling the ReadyToBoot event.

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

11 years agoAdd a new PCD PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whethe...
niruiyu [Mon, 22 Nov 2010 05:23:39 +0000 (05:23 +0000)]
Add a new PCD PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.

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

11 years agoInclude BaseMemoryLib.h for macro EFI_IP4_EQUAL, EFI_IP6_EQUAL etc.
xdu2 [Mon, 22 Nov 2010 05:21:26 +0000 (05:21 +0000)]
Include BaseMemoryLib.h for macro EFI_IP4_EQUAL, EFI_IP6_EQUAL etc.

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

11 years agoCompare DXE performance token name by DXE performance string length.
lgao4 [Mon, 22 Nov 2010 05:15:11 +0000 (05:15 +0000)]
Compare DXE performance token name by DXE performance string length.

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

11 years agoFix a potential issue in calling Cpu->GetTimerValue (Cpu, 0, &CurrentTick, (UINT64...
tye1 [Thu, 18 Nov 2010 08:09:09 +0000 (08:09 +0000)]
Fix a potential issue in calling Cpu->GetTimerValue (Cpu, 0, &CurrentTick, (UINT64 *) &TimerPeriod);

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

11 years agoFix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before...
niruiyu [Thu, 18 Nov 2010 01:40:22 +0000 (01:40 +0000)]
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
Pre-allocate pool for runtime phase.

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

11 years agoUpdate the file description in IpSec.h to refer to an accurate UEFI version.
qianouyang [Wed, 17 Nov 2010 05:36:14 +0000 (05:36 +0000)]
Update the file description in IpSec.h to refer to an accurate UEFI version.

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

11 years agoFixed the K9 failure.
qianouyang [Wed, 17 Nov 2010 03:41:37 +0000 (03:41 +0000)]
Fixed the K9 failure.

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

11 years agoRemoved unnecessary GLOBAL_REMOVE_IF_UNREFERENCED.
vanjeff [Wed, 17 Nov 2010 01:25:34 +0000 (01:25 +0000)]
Removed unnecessary GLOBAL_REMOVE_IF_UNREFERENCED.

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

11 years agoAdd "Debug1" profile (all but Edit and HexEdit commands)
jcarsey [Tue, 16 Nov 2010 22:36:37 +0000 (22:36 +0000)]
Add "Debug1" profile (all but Edit and HexEdit commands)

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

11 years agoadding "Install1" profile.
jcarsey [Tue, 16 Nov 2010 22:32:21 +0000 (22:32 +0000)]
adding "Install1" profile.

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

11 years agofixes for IPF, CTRL-C support, and file redirection.
jcarsey [Tue, 16 Nov 2010 22:31:47 +0000 (22:31 +0000)]
fixes for IPF, CTRL-C support, and file redirection.

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

11 years agoadding new commands (libraries) to the build.
jcarsey [Tue, 16 Nov 2010 20:55:07 +0000 (20:55 +0000)]
adding new commands (libraries) to the build.

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

11 years agoFix PxeBcDhcp6.c comments since official UEFI 2.3 Errata D spec is published.
hhuan13 [Tue, 16 Nov 2010 07:52:05 +0000 (07:52 +0000)]
Fix PxeBcDhcp6.c comments since official UEFI 2.3 Errata D spec is published.

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

11 years agoOverride MSFT build option in INF files to remove /GL or /Oi.
vanjeff [Tue, 16 Nov 2010 02:06:29 +0000 (02:06 +0000)]
Override MSFT build option in INF files to remove /GL or /Oi.

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

11 years agoFix spelling error in comment
mdkinney [Tue, 16 Nov 2010 00:33:52 +0000 (00:33 +0000)]
Fix spelling error in comment

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

11 years agoSync EDKII BaseTools to BaseTools project r2093.
lgao4 [Mon, 15 Nov 2010 02:51:34 +0000 (02:51 +0000)]
Sync EDKII BaseTools to BaseTools project r2093.

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

11 years agoFix build error.
ydong10 [Mon, 15 Nov 2010 02:14:25 +0000 (02:14 +0000)]
Fix build error.

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

11 years agoupdate error handling to use less ASSERT.
jcarsey [Fri, 12 Nov 2010 21:40:12 +0000 (21:40 +0000)]
update error handling to use less ASSERT.

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

11 years agoUpdate return value.
jcarsey [Fri, 12 Nov 2010 19:50:46 +0000 (19:50 +0000)]
Update return value.

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

11 years agoClarify the MARCO a little.
jcarsey [Fri, 12 Nov 2010 19:46:26 +0000 (19:46 +0000)]
Clarify the MARCO a little.

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

11 years agoAdding Driver1 profile commands to the UEFI Shell 2.0.
jcarsey [Fri, 12 Nov 2010 19:40:21 +0000 (19:40 +0000)]
Adding Driver1 profile commands to the UEFI Shell 2.0.

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

11 years agoRefine coding style.
ydong10 [Fri, 12 Nov 2010 08:00:23 +0000 (08:00 +0000)]
Refine coding style.

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

11 years agoFix the issue that the high 16-bit of EAX may contain invalid data, which cause bad...
li-elvin [Fri, 12 Nov 2010 07:48:32 +0000 (07:48 +0000)]
Fix the issue that the high 16-bit of EAX may contain invalid data, which cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared.

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

11 years agoFix the issue that the high 16-bit of EAX may contain invalid data, which cause bad...
li-elvin [Fri, 12 Nov 2010 07:47:27 +0000 (07:47 +0000)]
Fix the issue that the high 16-bit of EAX may contain invalid data, which cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared.

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

11 years agoFix the issue that the high 16-bit of EAX may contain invalid data, which cause bad...
li-elvin [Fri, 12 Nov 2010 07:45:08 +0000 (07:45 +0000)]
Fix the issue that the high 16-bit of EAX may contain invalid data, which cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared.

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

11 years agoFixed build error
ydong10 [Fri, 12 Nov 2010 07:35:37 +0000 (07:35 +0000)]
Fixed build error

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

11 years agofix GCC build failure. make function definition same with declaration.
erictian [Fri, 12 Nov 2010 05:14:15 +0000 (05:14 +0000)]
fix GCC build failure. make function definition same with declaration.

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

11 years agoFix bug: The lower 2 bits of Width and stripped, Count will always be multiplied...
vanjeff [Fri, 12 Nov 2010 02:10:21 +0000 (02:10 +0000)]
Fix bug: The lower 2 bits of Width and stripped, Count will always be multiplied by 1, which will leave Count unchanged.

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

11 years agoPrint Arrow for Goto button.
lgao4 [Thu, 11 Nov 2010 09:44:51 +0000 (09:44 +0000)]
Print Arrow for Goto button.

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

11 years agofix build error
erictian [Wed, 10 Nov 2010 07:23:12 +0000 (07:23 +0000)]
fix build error

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

11 years agoReplaced MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE.
vanjeff [Wed, 10 Nov 2010 06:13:55 +0000 (06:13 +0000)]
Replaced MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE.

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

11 years agoPrevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCo...
vanjeff [Wed, 10 Nov 2010 06:12:25 +0000 (06:12 +0000)]
Prevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCode is performed at > TPL_NOTIFY or there is not enough memory to allocate a buffer for the ExtendedData associated with the status code being reported.

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

11 years agostore Year/Month/Day to variable in SetWakeupTime() because PCAT RTC Alarm registers...
erictian [Wed, 10 Nov 2010 03:18:21 +0000 (03:18 +0000)]
store Year/Month/Day to variable in SetWakeupTime() because PCAT RTC Alarm registers has not corresponding Y/M/D alarm register.

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

11 years agoFix ICC build break.
rsun3 [Wed, 10 Nov 2010 03:16:25 +0000 (03:16 +0000)]
Fix ICC build break.

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

11 years agoAdd new PCD gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress for...
lgao4 [Tue, 9 Nov 2010 07:54:53 +0000 (07:54 +0000)]
Add new PCD  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress for the MdeModulePkg that allows the platform DSC file to specify the address below which the EFI_SYSTEM_TABLE_POINTER structure is allocated.

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

11 years agoSome existing PCI adapters with UEFI option ROMs make unaligned requests through...
rsun3 [Tue, 9 Nov 2010 03:41:03 +0000 (03:41 +0000)]
Some existing PCI adapters with UEFI option ROMs make unaligned requests through the PCI I/O Protocol. Add support for unaligned requests in the PCI IO protocol implementation in the PCI Bus driver to be compatible with those UEFI option ROMs.

This solution defines a PCD Feature Flag to enabled support for unaligned requests through the PCI I/O Protocol.  This flag is disabled by default. Platforms that do want to support such EFI/UEFI drivers that make unaligned PCI I/O requests should enable this feature.

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

11 years agoMove some define code to the uni file. Also fixed some memory leak.
ydong10 [Tue, 9 Nov 2010 03:22:42 +0000 (03:22 +0000)]
Move some define code to the uni file. Also fixed some memory leak.

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

11 years agoFix tracker for build error.
ydong10 [Tue, 9 Nov 2010 02:09:56 +0000 (02:09 +0000)]
Fix tracker for build error.

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

11 years agoPer the UEFI spec, if a PCI controller is a P2P bridge, then the I/O, Memory and...
rsun3 [Mon, 8 Nov 2010 07:36:12 +0000 (07:36 +0000)]
Per the UEFI spec, if a PCI controller is a P2P bridge, then the I/O, Memory and Bus Master bits in the Command register of the PCI configuration header should be placed in the enabled state by the PCI Bus driver.

But current PCI bus driver has a bug that if a P2P bridge has no child devices detected during enumeration, the bits won’t be set. This may impact PCI hot plug capable bridges because the OS may re-assign resources for them causing the reserved resource by the firmware will be overwritten.

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

11 years agoRemove unnecessary mBdsImageHandle.
niruiyu [Mon, 8 Nov 2010 06:56:57 +0000 (06:56 +0000)]
Remove unnecessary mBdsImageHandle.

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

11 years agoRefine code to make code follow the coding style.
ydong10 [Mon, 8 Nov 2010 05:28:01 +0000 (05:28 +0000)]
Refine code to make code follow the coding style.

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

11 years agoAdd Doxygen style comments to the EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE() macros...
mdkinney [Fri, 5 Nov 2010 22:27:19 +0000 (22:27 +0000)]
Add Doxygen style comments to the EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE() macros.  Clarify that the Size and Pages parameters to these macros are assumed to be type UINTN.

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

11 years agoAdd comment that describes the TPL restrictions for the Data Hub Protocol.
mdkinney [Fri, 5 Nov 2010 20:29:16 +0000 (20:29 +0000)]
Add comment that describes the TPL restrictions for the Data Hub Protocol.

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

11 years agoFix bug in DataHub where it would skip the first record in a set when a filter is...
mdkinney [Fri, 5 Nov 2010 20:22:18 +0000 (20:22 +0000)]
Fix bug in DataHub where it would skip the first record in a set when a filter is being used.  Also add comments and update source code logic to make it easier to understand and maintain.

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

11 years agoUpdate ReadMe.txt to correct the minor errors in build steps.
niruiyu [Fri, 5 Nov 2010 08:44:29 +0000 (08:44 +0000)]
Update ReadMe.txt to correct the minor errors in build steps.

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

11 years agoRefine code to make code run more safely.
ydong10 [Fri, 5 Nov 2010 06:28:33 +0000 (06:28 +0000)]
Refine code to make code run more safely.

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

11 years agoUpdate EdkShellBinPkg to integrate a bug fix of Ping command in Shell r46
niruiyu [Fri, 5 Nov 2010 05:57:43 +0000 (05:57 +0000)]
Update EdkShellBinPkg to integrate a bug fix of Ping command in Shell r46

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

11 years agoAdd comment about usage on EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE macros.
rsun3 [Fri, 5 Nov 2010 03:08:17 +0000 (03:08 +0000)]
Add comment about usage on EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE macros.

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

11 years agoPrevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCo...
mdkinney [Thu, 4 Nov 2010 20:58:23 +0000 (20:58 +0000)]
Prevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCode is performed at > TPL_NOTIFY or there is not enough memory to allocate a buffer for the ExtendedData associated with the status code being reported

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

11 years agoAdd API to ExtractGuidedSectionLib.h to retrieve the set of registered handlers.
ydong10 [Thu, 4 Nov 2010 05:51:32 +0000 (05:51 +0000)]
Add API to ExtractGuidedSectionLib.h to retrieve the set of registered handlers.
API Function name is ExtractGuidedSectionGetHandlers.

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

11 years agoComplement fix for revision #10998 (Remove PI SMM IPL's dependency on CPU AP).
rsun3 [Thu, 4 Nov 2010 05:27:23 +0000 (05:27 +0000)]
Complement fix for revision #10998 (Remove PI SMM IPL's dependency on CPU AP).

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

11 years agoThe CurrentNumberOfxxxxx should be based on the device going away, and not the next...
vanjeff [Wed, 3 Nov 2010 05:46:11 +0000 (05:46 +0000)]
The CurrentNumberOfxxxxx should be based on the device going away, and not the next (or empty) device in the list.

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

11 years agoswaps the order of timer disable and memory map termination to make sure memory map...
vanjeff [Wed, 3 Nov 2010 03:21:29 +0000 (03:21 +0000)]
swaps the order of timer disable and memory map termination to make sure memory map unchanged.

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

11 years agoRemove PI SMM IPL's dependency on CPU AP so that PI SMM IPL can be dispatched before...
rsun3 [Wed, 3 Nov 2010 01:14:51 +0000 (01:14 +0000)]
Remove PI SMM IPL's dependency on CPU AP so that PI SMM IPL can be dispatched before the CPU AP is installed.
If PI SMM IPL will be dispatched before the CPU AP is installed for a platform, the platform developer is expected to set cache-ability of SMRAM to WB earlier to improve performance of SMM initialization.

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

11 years agoUpdate CryptoPkg for new ciphers (HMAC, Block Cipher, etc) supports.
qlong [Tue, 2 Nov 2010 06:06:38 +0000 (06:06 +0000)]
Update CryptoPkg for new ciphers (HMAC, Block Cipher, etc) supports.

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

11 years agoFix PCD token value conflict issue.
gikidy [Tue, 2 Nov 2010 05:27:15 +0000 (05:27 +0000)]
Fix PCD token value conflict issue.

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

11 years agoFix PCD token value conflict issue.
gikidy [Tue, 2 Nov 2010 05:26:30 +0000 (05:26 +0000)]
Fix PCD token value conflict issue.

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

11 years agoFix PCD token value format issue.
gikidy [Tue, 2 Nov 2010 05:23:20 +0000 (05:23 +0000)]
Fix PCD token value format issue.

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

11 years agoRefine code to make code run more safely.
ydong10 [Mon, 1 Nov 2010 09:20:56 +0000 (09:20 +0000)]
Refine code to make code run more safely.

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

11 years agoRefine code to follow the coding style.
ydong10 [Mon, 1 Nov 2010 09:00:23 +0000 (09:00 +0000)]
Refine code to follow the coding style.

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

11 years ago1. Update IPsec driver to produce EFI_IPSEC2_PROTOCOL which is defined by UEFI errata...
xdu2 [Mon, 1 Nov 2010 08:19:28 +0000 (08:19 +0000)]
1. Update IPsec driver to produce EFI_IPSEC2_PROTOCOL which is defined by UEFI errata that will appear in UEFI 2.3 specification after 2.3 errata B and future UEFI Specifications after 2.3.
2. Update IPv6 driver to consume the EFI_IPSEC2_PROTOCOL.

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

11 years agoUpdate ipsecconfig and ping6 due to ShellLib update.
xdu2 [Mon, 1 Nov 2010 08:17:43 +0000 (08:17 +0000)]
Update ipsecconfig and ping6 due to ShellLib update.

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

11 years agoAdd CryptoPkg (from UDK2010.UP3)
hhtian [Mon, 1 Nov 2010 06:30:58 +0000 (06:30 +0000)]
Add CryptoPkg (from UDK2010.UP3)

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

11 years agoAdd NetworkPkg (P.UDK2010.UP3.Network.P1)
hhtian [Mon, 1 Nov 2010 06:13:54 +0000 (06:13 +0000)]
Add NetworkPkg (P.UDK2010.UP3.Network.P1)

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

11 years agoS.M.A.R.T feature enable
erictian [Thu, 28 Oct 2010 07:44:11 +0000 (07:44 +0000)]
S.M.A.R.T feature enable

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

11 years agoCorrect Comments.
lgao4 [Thu, 28 Oct 2010 02:44:00 +0000 (02:44 +0000)]
Correct Comments.

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

11 years agoFix build break when doing 32-bit build with some certain C compiler option combinations.
rsun3 [Thu, 28 Oct 2010 02:01:43 +0000 (02:01 +0000)]
Fix build break when doing 32-bit build with some certain C compiler option combinations.

Use the library functions for shift operations in BaseLib for a 64-bit integer where the code is shared for 32-bit and 64-bit.
Defining bitfields in structures with > 32 bits will cause these types of issues on IA32 builds. So the largest bitfield should be type UINT32 with a max size of :32.

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

11 years agoRefine code to remove type converting warning.
ydong10 [Tue, 26 Oct 2010 07:52:31 +0000 (07:52 +0000)]
Refine code to remove type converting warning.

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

11 years agoCorrect Data type conversion.
lgao4 [Tue, 26 Oct 2010 03:28:44 +0000 (03:28 +0000)]
Correct Data type conversion.

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

11 years agopass build for IPF.
vanjeff [Tue, 26 Oct 2010 03:07:33 +0000 (03:07 +0000)]
pass build for IPF.

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

11 years agoUpdate HiiDatabase->ExportPackageLists() service to support NULL HII handle per...
lgao4 [Mon, 25 Oct 2010 11:12:15 +0000 (11:12 +0000)]
Update HiiDatabase->ExportPackageLists() service  to support NULL HII handle per UEFI spec.

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

11 years agoReserve one column at left screen to be more visually.
lgao4 [Mon, 25 Oct 2010 05:35:56 +0000 (05:35 +0000)]
Reserve one column at left screen to be more visually.

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

11 years agoFix the following three issues:
lgao4 [Mon, 25 Oct 2010 05:32:17 +0000 (05:32 +0000)]
Fix the following three issues:
  1. When question is grayout, its value is not gray.
  2. When type Ui UP action, Repaint is not trigged when next MenuOption is above the TopOfScreen.
  3. When type Ui Down action, TopOfScreen is not calculated correctly when screen roll is required.

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

11 years agoFix a cut-n-paste error in the comment for the "read keystroke" function.
darylm503 [Sun, 24 Oct 2010 22:03:38 +0000 (22:03 +0000)]
Fix a cut-n-paste error in the comment for the "read keystroke" function.

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

11 years agoDuetPkg: Use UefiCpuPkg/CpuDxe instead of DuetPkg/CpuDxe
jljusten [Fri, 22 Oct 2010 01:08:16 +0000 (01:08 +0000)]
DuetPkg: Use UefiCpuPkg/CpuDxe instead of DuetPkg/CpuDxe

UefiCpuPkg/CpuDxe provides all the critical features
needed for DUET.  Therefore, to reduce code duplication,
DUET can use the generic UEFI CPU DXE driver.

The one notable lost feature is that DUET's CPU DXE would
call legacy video INT 10 to make sure the exception information
could be displayed on the screen.

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

11 years agoDuetPkg: Add DXE APRIORI for 8259 driver
jljusten [Fri, 22 Oct 2010 01:07:58 +0000 (01:07 +0000)]
DuetPkg: Add DXE APRIORI for 8259 driver

DUET's CpuDxe driver is directly dependent on the 8259.  This
forces the 8259 driver to run before the CPU DXE driver.  This
is required so the 8259 driver will initialize and mask all
8259 interrupts before the CPU DXE driver allows interrupts
to be enabled.

The UefiCpuPkg CPU DXE driver is not dependent on the 8259
directly.  Therefore, in order to use the UefiCpuPkg CPU DXE
driver with DUET, we add the APRIORI file to force the 8259
driver to run early before the CPU DXE driver runs.

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

11 years agoUefiCpuPkg CpuDxe: Fix bug with CPU Arch RegisterInterruptHandler
jljusten [Fri, 22 Oct 2010 01:07:48 +0000 (01:07 +0000)]
UefiCpuPkg CpuDxe: Fix bug with CPU Arch RegisterInterruptHandler

The change in r10765 introduced an issue where inherited interrupt
handlers would override the driver's RegisterInterruptHandler
functionality.

DUET installs a IDT with 256 entries early in it's boot.  Therefore,
no interrupt handlers could be installed with DUET while using
UefiCpuPkg/CpuDxe (instead of DuetPkg/CpuDxe).

This change forces the IDT to be modified when RegisterInterruptHandler
is called to ensure the UEFI handler will be installed properly.

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

11 years agoUse the correct length to copy KeyData.
niruiyu [Thu, 21 Oct 2010 01:49:28 +0000 (01:49 +0000)]
Use the correct length to copy KeyData.

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

11 years agoUse the correct length to copy KeyData.
niruiyu [Thu, 21 Oct 2010 01:49:05 +0000 (01:49 +0000)]
Use the correct length to copy KeyData.

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

11 years agoFix build issue in IPv4.
qianouyang [Wed, 20 Oct 2010 12:19:06 +0000 (12:19 +0000)]
Fix build issue in IPv4.

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

11 years agoAdd static type cast to fix ICC build failure.
niruiyu [Wed, 20 Oct 2010 09:38:35 +0000 (09:38 +0000)]
Add static type cast to fix ICC build failure.

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

11 years agoRefine code to make code run safely.
ydong10 [Tue, 19 Oct 2010 09:31:16 +0000 (09:31 +0000)]
Refine code to make code run safely.

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