lgao4 [Fri, 16 Dec 2011 08:52:13 +0000 (08:52 +0000)]
Sync BaseTool trunk (version r2474) into EDKII BaseTools.
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12883
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 16 Dec 2011 05:49:36 +0000 (05:49 +0000)]
Refine file header format to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12882
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 16 Dec 2011 05:48:06 +0000 (05:48 +0000)]
Refine file header format to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12881
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 16 Dec 2011 05:46:57 +0000 (05:46 +0000)]
Refine file header format to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12880
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 15 Dec 2011 22:26:15 +0000 (22:26 +0000)]
Add a PcdEmulatorLazyLoadSymbols that allows non-lazy symbol loading. The problem with lazy symbol loading is it only happens after you hit a breakpoint. This means you can't add breakpoints from the GUI and have them hit, this requires symbols being loaded as modules load so the breakpoints can get resolved.
Added arguments to SecGdbScriptBreak() to enable lldb python symbol load/unload script.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12879
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 15 Dec 2011 18:54:18 +0000 (18:54 +0000)]
ArmPlatformPkg: Fix ARM EB and VE builds
The EDID protocol defintions were missing from their ArmPlatformLcdLib.inf INF files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12878
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 08:27:53 +0000 (08:27 +0000)]
Fix the issue to clear the high 16-bit of EAX before use it Thunk code.
This patch updates MdePkg BaseLib, EcpPkg EdkIIGlueLib BaseLib and ThunkLib.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12877
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 08:27:17 +0000 (08:27 +0000)]
Fix the issue to clear the high 16-bit of EAX before use it Thunk code.
This patch updates MdePkg BaseLib, EcpPkg EdkIIGlueLib BaseLib and ThunkLib.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12876
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 06:56:57 +0000 (06:56 +0000)]
Update PcdSetPtr() API to set the output buffer size to the max buffer size when the input buffer size is larger than the max buffer size. This behavior follows API description.
Signed-off-by: lgao4
Reviewed-by: jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12875
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 06:50:54 +0000 (06:50 +0000)]
Enhance DXE dispatcher logic to check the duplicated FV image bases on FvHob2 and FvNameGuid per PI spec.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12874
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 15 Dec 2011 06:43:28 +0000 (06:43 +0000)]
Add comments for EFI_CACHE_SRAM_TYPE_DATA because of the inconsistency between CacheSubclass 0.9 and SMBIOS specifications.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12873
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 15 Dec 2011 06:42:15 +0000 (06:42 +0000)]
Add comments for EFI_CACHE_SRAM_TYPE_DATA because of the inconsistency between CacheSubclass 0.9 and SMBIOS specifications.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12872
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 15 Dec 2011 06:38:40 +0000 (06:38 +0000)]
Exchange the sequence of Asynchronous and Synchronous in CACHE_SRAM_TYPE_DATA according to SMBIOS specification.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12871
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Thu, 15 Dec 2011 06:13:46 +0000 (06:13 +0000)]
MdePkg: Per PI 1.2 Errata C, update the function description of SetMemorySpaceAttributes() DXE Service to add a new returned status code EFI_NOT_AVAILABLE_YET.
Signed-off-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12870
6f19259b-4bc3-4df7-8a09-
765794883524
jyao1 [Thu, 15 Dec 2011 05:34:57 +0000 (05:34 +0000)]
InstallAcpiTable() - Do not update the checksum in the passed in buffer – the buffer is an IN buffer and should be treated as such.
signed-off-by: jyao1
reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12869
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 15 Dec 2011 02:59:03 +0000 (02:59 +0000)]
Update for SecurityPkg.
Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used.
But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING.
Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12868
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 15 Dec 2011 02:57:46 +0000 (02:57 +0000)]
Update for NetworkPkg.
Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used.
But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING.
Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12867
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 15 Dec 2011 02:56:46 +0000 (02:56 +0000)]
Update for IntelFrameworkModulePkg.
Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used.
But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING.
Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12866
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 15 Dec 2011 02:54:49 +0000 (02:54 +0000)]
Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used.
But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING.
Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal.
Update for MdeModulePkg.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12865
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 02:41:50 +0000 (02:41 +0000)]
Correct one comment to match the function name.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12864
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 02:39:16 +0000 (02:39 +0000)]
Update UEFI spec version from UEFI2.3 to UEFI2.3.1
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12863
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 14 Dec 2011 10:43:36 +0000 (10:43 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Add PL180 MCI support to ARM RTSM
The MMC controller is accessible through the ARM RTSM model.
A filesystem can be added on a MMC file to be accessible through the
UEFI firmware running on RTSM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12862
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 14 Dec 2011 10:39:07 +0000 (10:39 +0000)]
ArmPlatformPkg: Renamed 'DebugSecExtraActionLib' into 'ArmPlatformSecExtraActionLib'
This library interface is not related to adding extra action to debug support.
But it adds extra action to the ArmPlatform/Sec component.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12861
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 14 Dec 2011 10:35:04 +0000 (10:35 +0000)]
ArmPlatformPkg/LcdPlatformLib: Produce the protocols EFI_EDID_DISCOVERED_PROTOCOL and EFI_EDID_ACTIVE_PROTOCOL
These two EDID protocols are excepted to be produced by the GOP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12860
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 14 Dec 2011 10:25:56 +0000 (10:25 +0000)]
EmbeddedPkg: Fix Runtime driver module type
The module types of the RTC and Reset drivers have been
changed from DXE_DRIVER to DXE_RUNTIME_DRIVER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12859
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 14 Dec 2011 10:22:43 +0000 (10:22 +0000)]
ArmPlatformPkg/Sec: Fixed Monitor stack setup
Because GET_CORE_POS(MpId) returns 0x0 for the primary core, the
stack position must be defined by the top of the stack. It means
stack_size must be added to the stack base.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12858
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 14 Dec 2011 07:51:54 +0000 (07:51 +0000)]
Refine wording in SourceLevelDebugPkg/Readme.txt.
Signed-off-by: niruiyu
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12857
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 14 Dec 2011 06:15:48 +0000 (06:15 +0000)]
Update EDKII BuildNotes to say the default tool chain tag is VS2008 instead of VS2005
Signed-off-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12856
6f19259b-4bc3-4df7-8a09-
765794883524
qianouyang [Wed, 14 Dec 2011 05:32:27 +0000 (05:32 +0000)]
Update NetworkPkg package version from 0.92 to 0.93.
Signed-off-by: qianouyang
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12855
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 14 Dec 2011 02:14:02 +0000 (02:14 +0000)]
Update SourceLevelDebugPkg version: 0.70 -> 0.71
Signed-off-by: vanjeff
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12854
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 14 Dec 2011 02:13:01 +0000 (02:13 +0000)]
Update IntelFrameworkModulePkg version: 0.91->0.92
Signed-off-by: vanjeff
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12853
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 14 Dec 2011 02:12:17 +0000 (02:12 +0000)]
Update IntelFrameworkPkg version: 0.91->0.92
Signed-off-by: vanjeff
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12852
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 14 Dec 2011 01:42:15 +0000 (01:42 +0000)]
Update package version for MdeModulePkg, UefiCpuPkg.
MdeModulePkg 0.91->0.92
UefiCpuPkg 0.1->0.2
Signed-off-by: rsun3
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12851
6f19259b-4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 14 Dec 2011 00:17:45 +0000 (00:17 +0000)]
Update SecurityPkg package versions from 0.91 to 0.92.
Signed-off-by: gdong1
Reviewed-by: hhtian
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12850
6f19259b-4bc3-4df7-8a09-
765794883524
geekboy15a [Tue, 13 Dec 2011 18:45:44 +0000 (18:45 +0000)]
ShellPkg: Updated version number.
Signed-off-by: jcarsey
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12849
6f19259b-4bc3-4df7-8a09-
765794883524
geekboy15a [Tue, 13 Dec 2011 18:44:49 +0000 (18:44 +0000)]
ShellBinPkg: Updated version number.
Signed-off-by: jcarsey
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12848
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 13 Dec 2011 14:00:09 +0000 (14:00 +0000)]
Refine file header format to follow coding style.
Signed-off-by: ydong10
Reviewed-by: yzeng15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12847
6f19259b-4bc3-4df7-8a09-
765794883524
tye1 [Tue, 13 Dec 2011 09:46:54 +0000 (09:46 +0000)]
Update CryptoPkg package versions from 0.91 to 0.92.
Signed-off-by: tye1
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12846
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 13 Dec 2011 09:42:36 +0000 (09:42 +0000)]
SecurityPkg/VariableAuthenticated: Check if there is a NV Variable Storage header prior to use its attributes
The Variable PEI and RuntimeDxe drivers were using the attribute 'HeaderLength' of
EFI_FIRMWARE_VOLUME_HEADER without checking if a Firmware Volume Header was existing at
the base address.
In case the Firmware Volume Header does not exist or is corrupted, the attribute 'HeaderLength'
is a non valid value that can lead to a non valid physical address when accessing produces an
access error.
Signed-off-by: oliviermartin
Reviewed-by: rsun3
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12845
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 13 Dec 2011 08:59:23 +0000 (08:59 +0000)]
Update the Package version.
MdePkg 1.02->1.03
EdkCompatibilityPkg 0.91->0.92
PerformancePkg 0.1->0.2
Signed-off-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12844
6f19259b-4bc3-4df7-8a09-
765794883524
gdong1 [Tue, 13 Dec 2011 08:49:48 +0000 (08:49 +0000)]
Update SignatureSupport variable to reflect firmware capability.
Signed-off-by: gdong1
Reviewed-by: tye
Reviewed-by: sfu5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12843
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 13 Dec 2011 08:33:18 +0000 (08:33 +0000)]
Update the Package version.
Signed-off-by: niruiyu
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12842
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 13 Dec 2011 08:33:04 +0000 (08:33 +0000)]
Update the Package version.
Signed-off-by: niruiyu
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12841
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 13 Dec 2011 08:32:43 +0000 (08:32 +0000)]
Update the Package version.
Signed-off-by: niruiyu
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12840
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 13 Dec 2011 08:32:29 +0000 (08:32 +0000)]
Update the Package version.
Signed-off-by: niruiyu
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12839
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 13 Dec 2011 08:31:55 +0000 (08:31 +0000)]
Update the Package version.
Signed-off-by: niruiyu
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12838
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 13 Dec 2011 06:00:27 +0000 (06:00 +0000)]
Missing declaration of the GUID gEfiSystemNvDataFvGuid.
Signed-off-by: oliviermartin
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12837
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 12 Dec 2011 19:00:59 +0000 (19:00 +0000)]
MdeModulePkg/Variable: Check if there is a NV Variable Storage header prior to use its attributes
The Variable PEI and RuntimeDxe drivers were using the attribute 'HeaderLength' of
EFI_FIRMWARE_VOLUME_HEADER without checking if a Firmware Volume Header was existing at
the base address.
In case the Firmware Volume Header does not exist or is corrupted, the attribute 'HeaderLength'
is a non valid value that can lead to a non valid physical address when accessing produces an
access error.
Signed-off-by: oliviermartin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12836
6f19259b-4bc3-4df7-8a09-
765794883524
erictian [Mon, 12 Dec 2011 09:51:55 +0000 (09:51 +0000)]
MdeModulePkg: Fix a bug that UnregisterAtaDev() will return error when SSP protocol is not installed
Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12835
6f19259b-4bc3-4df7-8a09-
765794883524
jyao1 [Mon, 12 Dec 2011 01:26:04 +0000 (01:26 +0000)]
Update ACPI5.0 header file about ACPI spec release time.
signed-off-by: jyao1
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12834
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Sun, 11 Dec 2011 15:18:25 +0000 (15:18 +0000)]
Update OvmfPkg FDF to avoid DXE driver to be rebased on build time.
Signed-off-by: lgao4
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12833
6f19259b-4bc3-4df7-8a09-
765794883524
tye1 [Fri, 9 Dec 2011 09:25:12 +0000 (09:25 +0000)]
Fix Windows 2008 R2 installation fail issue in IPF ICC tip.
Signed-off-by: tye1
Reviewed-by: gdong1
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12832
6f19259b-4bc3-4df7-8a09-
765794883524
sfu5 [Fri, 9 Dec 2011 07:22:59 +0000 (07:22 +0000)]
1. Fix a bug when verify the CertType GUID in authentication variable data payload.
Signed-off-by: sfu5
Reviewed-by: tye1
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12831
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Fri, 9 Dec 2011 02:35:04 +0000 (02:35 +0000)]
MdeModulePkg DXE Core: Refine code to avoid UNIXGCC build break.
The UNIXGCC compiler generates an internal call for division operation when compiling CoreInternalWaitForTick(), which causes build break due to link failure. This check-in changes the implementation of CoreInternalWaitForTick() to avoid this case.
Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12830
6f19259b-4bc3-4df7-8a09-
765794883524
qianouyang [Thu, 8 Dec 2011 03:15:55 +0000 (03:15 +0000)]
IpsecConfigApp add the check for the required options (--local, --remote, Auth-algo, Auth-key) for SAD adding.
Signed-off-by: qianouyang
Reviewed-by: czhan46
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12829
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 7 Dec 2011 17:16:03 +0000 (17:16 +0000)]
ArmPlatformPkg: Coding style changes (tab and line endings) - Minor changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12828
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 7 Dec 2011 06:19:28 +0000 (06:19 +0000)]
Sync BaseTool trunk (version r2460) into EDKII BaseTools. The change mainly includes:
1. Support use expression as DSC file PCD value.
2. Update FDF parser to fix bug to get complete macro value.
3. Fix bug to replace SET statement macro and evaluate SET statement PCD value in FDF file.
4. Fix a bug for MACRO defined in conditional block cannot be processed correctly
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12827
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 7 Dec 2011 05:49:01 +0000 (05:49 +0000)]
Enable EFI_BROWSER_ACTION_CHANGED callback type for browser.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12826
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 7 Dec 2011 01:35:05 +0000 (01:35 +0000)]
Update code comments to specify the correct language format for Driver Diagnostics Protocol and Unicode Collation Protocol.
Signed-off-by: lgao4
Reviewed-by: mdkinney
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12825
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 6 Dec 2011 16:40:43 +0000 (16:40 +0000)]
BaseTools: Pending patches update
Add patch:
- ARMLINUXGCC: Set the linked base address at 0x0 (0x8000 by default)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12824
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 6 Dec 2011 16:32:11 +0000 (16:32 +0000)]
ArmPlatformPkg/Sec: Enabled VFP (if supported by platform) prior to any library invocation
Some compilers uses VFP for some 64bit operation. If the VFP coprocessor is not enabled at
this stage the processor raises an undefined exception.
To prevent this case, the VFP enabling has been moved at the beginning of the platform
initialization phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12823
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 6 Dec 2011 05:24:27 +0000 (05:24 +0000)]
MdeModulePkg DXE Core: Fix overflow and truncation issues in the implementation of the Stall() boot service to follow the UEFI spec.
Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12822
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 6 Dec 2011 04:26:55 +0000 (04:26 +0000)]
Fix ICC11 build failure.
Signed-off-by: lgao4
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12821
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 5 Dec 2011 14:31:48 +0000 (14:31 +0000)]
BeagleBoard: Fix build
Changed definition of the function that implements EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE
to match its prototype definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12820
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 5 Dec 2011 14:29:16 +0000 (14:29 +0000)]
ArmPlatformPkg: Update pending patches with the latest BaseTools SyncUp
- ARMLINUXGCC toolchain is now supported
- ARMGCC: Set '0x0' for the linkage base address
- Fixed Trim utility
- Fixed support for !include in DSC files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12819
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Mon, 5 Dec 2011 13:20:03 +0000 (13:20 +0000)]
Refine the select highlight menu logic.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12818
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Mon, 5 Dec 2011 12:45:45 +0000 (12:45 +0000)]
Disable change value for grayout or readonly menu.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12817
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 5 Dec 2011 09:05:15 +0000 (09:05 +0000)]
Fix ICC11 build failure.
Signed-off-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12816
6f19259b-4bc3-4df7-8a09-
765794883524
qianouyang [Mon, 5 Dec 2011 03:17:15 +0000 (03:17 +0000)]
Fix a ECC error - the parameter's name in comments is inconsistent with the one in Function's.
Signed-off-by: qianouyang
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12815
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 5 Dec 2011 01:51:12 +0000 (01:51 +0000)]
Correct DriverFamilyOverrideProtocol guid value defined in MdePkg.
Signed-off-by: lgao4
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12814
6f19259b-4bc3-4df7-8a09-
765794883524
gdong1 [Fri, 2 Dec 2011 07:51:23 +0000 (07:51 +0000)]
Update a return status for UEFI spec compliance.
Signed-off-by: gdong1
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12813
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 2 Dec 2011 06:07:17 +0000 (06:07 +0000)]
Set the current view point to the breaking CPU if it meets breakpoint.
Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12812
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Fri, 2 Dec 2011 01:08:05 +0000 (01:08 +0000)]
Free memory allocated by ReadSection.
Signed-off-by: lzeng14
Reviewed-by: ZhangCaoIntel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12811
6f19259b-4bc3-4df7-8a09-
765794883524
darylm503 [Thu, 1 Dec 2011 18:24:25 +0000 (18:24 +0000)]
AppPkg/Applications/Python: Workaround recent build tool changes which prevent building Python.
Recent changes to the build tools removed user-defined MACRO capability in INF files. This change manually expands the PYTHON_VERSION macro so that one can again build Python.
Signed-off-by: darylm503
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12810
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Thu, 1 Dec 2011 06:12:28 +0000 (06:12 +0000)]
Update the check condition to allows 64-bit operation's data buffer not to be 64-bit aligned on IA32 system.
Signed-off-by: vanjeff
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12809
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Thu, 1 Dec 2011 06:08:25 +0000 (06:08 +0000)]
Update the check condition to allows UINT64 and INT64 data types to be 32-bit aligned on IA32 system.
Signed-off-by: vanjeff
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12808
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 1 Dec 2011 05:32:09 +0000 (05:32 +0000)]
Remove duplicated AML code definitions as they have been added to common header.
Signed-off-by: lzeng14
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12807
6f19259b-4bc3-4df7-8a09-
765794883524
qianouyang [Thu, 1 Dec 2011 05:10:41 +0000 (05:10 +0000)]
1. Remove the unnecessary check of the existing of BlockIo2 in PartitionDriverBindingSupported().
2. Remove the comments of the BlockIo2 check in PartitionDriverBindingStart().
Signed-off-by: qianouyang
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12806
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 1 Dec 2011 04:31:46 +0000 (04:31 +0000)]
Refine the code to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12805
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 1 Dec 2011 01:57:27 +0000 (01:57 +0000)]
Add Acpi50 FPDT and BGRT module into MdeModulePkg.
Signed-off-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12804
6f19259b-4bc3-4df7-8a09-
765794883524
li-elvin [Wed, 30 Nov 2011 06:01:22 +0000 (06:01 +0000)]
Remove PCD usage for console driver, PcdConOutRow and PcdConOutColumn are current text mode during boot, not console device capability.
Signed-off-by: li-elvin
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12803
6f19259b-4bc3-4df7-8a09-
765794883524
jyao1 [Wed, 30 Nov 2011 03:57:39 +0000 (03:57 +0000)]
Add ACPI5.0 header file.
Add missing content for resource descriptor.
Move AML definition to AcpiAml.h
signed-off-by: jyao1
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12802
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 30 Nov 2011 01:53:13 +0000 (01:53 +0000)]
Roll back the change which doesn't call LocateProtocol when TPL is TPL_NOTIFY because it may cause certain status code get lost in some rare case.
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12801
6f19259b-4bc3-4df7-8a09-
765794883524
darylm503 [Wed, 30 Nov 2011 00:52:45 +0000 (00:52 +0000)]
StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags.
Include/ctype.h: Function declaration and Macro definition of isDirSep
Include/unistd.h: Declarations added from EfiSysCall.h
Include/utime.h: New file. For the Posix utime() function.
Include/sys/_ctype.h: Update character class bit maps.
Include/sys/EfiSysCall.h: Move declarations to unistd.h
Include/sys/fcntl.h: Improve comments. Add UEFI-specific macros.
Include/sys/filio.h: Remove declarations for unsupported file ioctls.
Include/sys/stat.h: Fix flags. Add macros and declarations.
Include/sys/time.h: Add declarations for new functions Tm2Efi() and Time2Efi().
Include/sys/types.h: Use EFI-specific instead of BSD-specific definitions for typedefs.
Include/sys/unistd.h: Delete inappropriate content. Guard macro definitions.
LibC/Locale/setlocale.c
LibC/Stdio/{fdopen.c, findfp.c, fopen.c, freopen.c, gettemp.c, makebuf.c, mktemp.c,
remove.c, stdio.c, tempnam.c, tmpfile.c, tmpnam.c}
LibC/Time/{itimer.c, ZoneProc.c}
LibC/Uefi/SysCalls.c
LibC/Uefi/Devices/Console/daConsole.c
LibC/Uefi/Devices/UefiShell/daShell.c
PosixLib/Gen/readdir.c
Include unistd.h instead of EfiSysCall.h
LibC/Ctype/CClass.c: Character classification function implementation for isDirSep.
LibC/Ctype/iCtype.c: Update character classification and case conversion tables.
LibC/Time/TimeEfi.c: Improve comments. Implement new functions Tm2Efi() and Time2Efi().
LibC/Uefi/StubFunctions.c: Add missing include. Cosmetic changes to declarations.
LibC/Uefi/SysCalls.c: Add support function for utime().
LibC/Uefi/Uefi.inf: Add LibGen library class dependency.
LibC/Uefi/Xform.c: Enhance Omode2EFI().
LibC/Uefi/Devices/UefiShell/daShell.c: Enhance da_ShellMkdir. Implement da_ShellIoctl to set file times.
PosixLib/Gen/access.c: New file. Implement the access() function.
PosixLib/Gen/dirname.c: Enhance to use isDirSep and differentiate between the device, path, and filename components of UEFI Shell-style paths.
PosixLib/Gen/utime.c: New file. Implement the utime() function.
PosixLib/Gen/LibGen.inf: Change MODULE_TYPE. Add new files.
Signed-off-by: darylm503
Reviewed-by: geekboy15a
Reviewed-by: jljusten
Reviewed-by: Rahul Khana
Reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12800
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Tue, 29 Nov 2011 21:46:53 +0000 (21:46 +0000)]
ShellPkg: Fix "-b" usage with timezone command.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12799
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Tue, 29 Nov 2011 21:13:29 +0000 (21:13 +0000)]
ShellBinPkg: Update binary files.
Update binary files to new ones generated from tip r12797, and update the ReadMe.txt.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12798
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Tue, 29 Nov 2011 15:37:04 +0000 (15:37 +0000)]
ShellPkg: Fix handling of empty files in Hexedit
Currently hexedit thinks all files that are non-existent (i.e. new) or empty must be a memory error since the pointer is checked, but the file size is not referenced.
Signed-off-by: jcarsey
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12797
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Tue, 29 Nov 2011 09:43:48 +0000 (09:43 +0000)]
Fix PerformancePkg GCC&ICC build fail.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12796
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Mon, 28 Nov 2011 08:00:51 +0000 (08:00 +0000)]
Fix build error.
Signed-off-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12795
6f19259b-4bc3-4df7-8a09-
765794883524
tye1 [Mon, 28 Nov 2011 07:12:20 +0000 (07:12 +0000)]
Fix openssl lib build issue in IPF tip.
Signed-off-by: tye
Reviewed-by: gdong1
Reviewed-by: ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12794
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 28 Nov 2011 06:24:39 +0000 (06:24 +0000)]
Add the missing options for X64 and IPF arch of MSFT:NOOPT target.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12793
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 28 Nov 2011 06:19:36 +0000 (06:19 +0000)]
Update code to pass build on VS2008 with /Od compiler option.
Signed-off-by: lgao4
Reviewed-by: rsun3
Reviewed-by: ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12792
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 28 Nov 2011 06:14:31 +0000 (06:14 +0000)]
Update code to pass build on VS2008 with /Od compiler option.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12791
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 28 Nov 2011 03:43:26 +0000 (03:43 +0000)]
Correctly use GetPtrTypeSize() to get MaxSize.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12790
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 28 Nov 2011 03:36:25 +0000 (03:36 +0000)]
Fix PcdSetPtr() service to use the max buffer size to check whether new buffer data is filled into.
Signed-off-by: lgao4
Reviewed-by: jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12789
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Fri, 25 Nov 2011 09:52:12 +0000 (09:52 +0000)]
Allocate aligned buffer to satisfy the IoAlign requirement of high level protocol.
Signed-off-by: lzeng14
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12788
6f19259b-4bc3-4df7-8a09-
765794883524
li-elvin [Fri, 25 Nov 2011 08:35:00 +0000 (08:35 +0000)]
Updated GraphicsConsole and Terminal driver text mode initialization routine for easy mode extension in future.
Signed-off-by: li-elvin
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12787
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 25 Nov 2011 08:24:15 +0000 (08:24 +0000)]
Uses DEFINE instead of define keyword to define global macro.
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12786
6f19259b-4bc3-4df7-8a09-
765794883524
erictian [Fri, 25 Nov 2011 08:08:54 +0000 (08:08 +0000)]
MdeModulePkg: The patch eliminates two assumptions
1) XHCI host controller hw always provides more than 5 interrupters.
Now using interrupter 0 to accommodate all received events.
2) XHCI host controller hw always provides 32bytes context size.
Now it dynamically detect context size and construct it.
also solved several issues:
1) Divides 64byte width register access to two 32bit registers access because some XHCI chipsets cannot support a single 64bit access.
2) Remove halt host controller statement in UsbBusDriverBindingStop(). It has been done by host controller’s DriverBindingStop(). And XhciDriverBindingStop() need XHCI host controller is in running state because it need execute DISABLE_SLOT cmd to release h/w resource.
signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12785
6f19259b-4bc3-4df7-8a09-
765794883524
tye1 [Fri, 25 Nov 2011 07:07:01 +0000 (07:07 +0000)]
Fix CrytoPkg issue in GCC X64 tip.
Signed-off-by: tye
Reviewed-by: gdong1
Reviewed-by: ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12784
6f19259b-4bc3-4df7-8a09-
765794883524