11 years agoFix dec file to pass new stricter error checking.
andrewfish [Mon, 6 Dec 2010 17:50:31 +0000 (17:50 +0000)]
Fix dec file to pass new stricter error checking.

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

11 years agoRefine code to make code more safely.
ydong10 [Mon, 6 Dec 2010 09:14:47 +0000 (09:14 +0000)]
Refine code to make code more safely.

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

11 years agoDuetPkg: Update create boot disk script to not modify bootsect.com
jljusten [Mon, 6 Dec 2010 06:06:54 +0000 (06:06 +0000)]
DuetPkg: Update create boot disk script to not modify bootsect.com

Previously the script would modify DuetPkg/BootSector/bin/bootsect.com.
Now a temporary file is used in place of bootsect.com.

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

11 years agoMdePkg: Fix GCC Thunk support for IA32
jljusten [Mon, 6 Dec 2010 06:06:35 +0000 (06:06 +0000)]
MdePkg: Fix GCC Thunk support for IA32

In r11047 Ia32/Thunk.S was modified.  However, the current
implemention of Ia32/Thunk.S has contant values in the code
which must be updated if the code is changed.

This change updates those constants for the r11047 change.

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

11 years agoDuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during boot
jljusten [Mon, 6 Dec 2010 06:05:41 +0000 (06:05 +0000)]
DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during boot

PcdResetOnMemoryTypeInformationChange is required to
be set to TRUE for ACPI S4 support.

These platforms do not support ACPI S4.

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

11 years agoDuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64
jljusten [Mon, 6 Dec 2010 06:04:38 +0000 (06:04 +0000)]
DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64

The C ellipses parameters are passed to functions differently
by default with GCC 4.4.  To make sure they are properly sent to
VariableGetBestLanguage, we add 'EFIAPI' to this function.

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

11 years agoSync EDKII BaseTools to BaseTools project r2100.
lgao4 [Mon, 6 Dec 2010 05:17:09 +0000 (05:17 +0000)]
Sync EDKII BaseTools to BaseTools project r2100.

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

11 years agoUpdate PEI/DXE/SMM dispatchers to include DEBUG ((DEBUG_DISPATCH, )) macros to log...
mdkinney [Sat, 4 Dec 2010 20:05:09 +0000 (20:05 +0000)]
Update PEI/DXE/SMM dispatchers to include DEBUG ((DEBUG_DISPATCH, )) macros to log the evaluation of all dependency expressions.

This logging can be enabled by setting the DEBUG_DISPATCH bit(0x80) of the PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel.

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

11 years agoFixed a bug for OPTION_NII(62) defined in RFC 5970.
hhuan13 [Fri, 3 Dec 2010 08:00:22 +0000 (08:00 +0000)]
Fixed a bug for OPTION_NII(62) defined in RFC 5970.

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

11 years agofix for exit was specified in the startup script.
jcarsey [Wed, 1 Dec 2010 20:31:45 +0000 (20:31 +0000)]
fix for exit was specified in the startup script.

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

11 years agoTo align w/ UEFI 2.3 Spec, PXE driver installs PxeBc, LoadFile and SNP Protocol on...
hhuan13 [Wed, 1 Dec 2010 07:04:48 +0000 (07:04 +0000)]
To align w/ UEFI 2.3 Spec, PXE driver installs PxeBc, LoadFile and SNP Protocol on IPV4/V6 child handle separately.

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

11 years agoUpdate comments for PI 1.2 SMM support.
mdkinney [Wed, 1 Dec 2010 06:17:44 +0000 (06:17 +0000)]
Update comments for PI 1.2 SMM support.

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

11 years agoFix the bug that <continue> may not boot the first boot option but return back to...
niruiyu [Wed, 1 Dec 2010 05:57:13 +0000 (05:57 +0000)]
Fix the bug that <continue> may not boot the first boot option but return back to front page.

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

11 years agoRemove unused files to make it easier to add new thunks.
andrewfish [Wed, 1 Dec 2010 02:25:46 +0000 (02:25 +0000)]
Remove unused files to make it easier to add new thunks.

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

11 years agoFix token dup caused by merge.
andrewfish [Wed, 1 Dec 2010 01:15:16 +0000 (01:15 +0000)]
Fix token dup caused by merge.

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

11 years ago2nd wave of r11105 checkin.2nd wave of r11105 checkin.
andrewfish [Wed, 1 Dec 2010 00:41:31 +0000 (00:41 +0000)]
2nd wave of r11105 checkin.2nd wave of r11105 checkin.

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

11 years agoAdding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator...
andrewfish [Tue, 30 Nov 2010 23:38:40 +0000 (23:38 +0000)]
Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator. Cleaned up POSIX include situation by centralizing it in a single file, like NT32. Fixed TPL issue with TPL High not being emulated correctly, it was possible to take a timer tick when the locks in the DXE core should have prevented this. Remove some unused files to make things easier to maintain.

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

11 years agoSync update to improve compiler compatibility
mdkinney [Mon, 29 Nov 2010 21:58:46 +0000 (21:58 +0000)]
Sync update to improve compiler compatibility

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

11 years agoFix ICC 9.1 build break
mdkinney [Mon, 29 Nov 2010 21:52:24 +0000 (21:52 +0000)]
Fix ICC 9.1 build break

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

11 years agoFirst try to get log time at TPL level <= TPL_CALLBACK, then fill time into DataHub.
lgao4 [Mon, 29 Nov 2010 04:41:58 +0000 (04:41 +0000)]
First try to get log time at TPL level <= TPL_CALLBACK, then fill time into DataHub.

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

11 years agoLost a file in last check-in.
rsun3 [Mon, 29 Nov 2010 03:37:13 +0000 (03:37 +0000)]
Lost a file in last check-in.

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

11 years agoAdd a new Timer Library instance SecPeiDxeTimerLibUefiCpu into UefiCpuPkg. This libra...
rsun3 [Mon, 29 Nov 2010 03:30:38 +0000 (03:30 +0000)]
Add a new Timer Library instance SecPeiDxeTimerLibUefiCpu into UefiCpuPkg. This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in that it uses the local APIC library so that it supports x2APIC mode.

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

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)]

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

vanjeff [Wed, 10 Nov 2010 06:13:55 +0000 (06:13 +0000)]

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