9 years agoValidate some fields in PE image to make sure not access violation for later code.
ydong10 [Tue, 24 Apr 2012 03:00:32 +0000 (03:00 +0000)]
Validate some fields in PE image to make sure not access violation for later code.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13211 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate IfConfig.c to use TPL_CALLBACK instead of TPL_CALLBACK - 1 to follow UEFI...
lzeng14 [Tue, 24 Apr 2012 02:41:33 +0000 (02:41 +0000)]
Update IfConfig.c to use TPL_CALLBACK instead of TPL_CALLBACK - 1 to follow UEFI spec.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13210 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate HiiFont Service to return error status instead of ASSERT for the invalid input.
lgao4 [Tue, 24 Apr 2012 01:59:55 +0000 (01:59 +0000)]
Update HiiFont Service to return error status instead of ASSERT for the invalid input.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13209 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg PiSmmCore: Fix a bug in SmmLoadImage() in PiSmmCore that in-correct...
rsun3 [Tue, 24 Apr 2012 01:38:40 +0000 (01:38 +0000)]
MdeModulePkg PiSmmCore: Fix a bug in SmmLoadImage() in PiSmmCore that in-correct status codes may be returned.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13208 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: hide flashing cursor during startup.
jcarsey [Mon, 23 Apr 2012 18:00:41 +0000 (18:00 +0000)]
ShellPkg: hide flashing cursor during startup.

signed-off-by: jaben carsey <jaben.carsey@intel.com>
reviewed-by: erik bjorge <erik.c.bjorge@intel.com>

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

9 years agoShellPkg: removed memory leak.
jcarsey [Mon, 23 Apr 2012 17:58:15 +0000 (17:58 +0000)]
ShellPkg: removed memory leak.

removed unnecessary GetVariable call.

signed-off-by: jaben carsey <jaben.carsey@intel.com>
reviewed-by: erik bjorge <erik.c.bjorge@intel.com>

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

9 years agoRefine the code to have same function to process the string info. Also update the...
ydong10 [Mon, 23 Apr 2012 10:26:04 +0000 (10:26 +0000)]
Refine the code to have same function to process the string info. Also update the logic to process special char.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13205 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix common AuthVariable protection issue.
tye1 [Mon, 23 Apr 2012 06:17:17 +0000 (06:17 +0000)]
Fix common AuthVariable protection issue.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed by: Dong, Guo <guo.dong@intel.com>

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

9 years agoAdd code to check boot option variable before use it
ydong10 [Thu, 19 Apr 2012 09:57:11 +0000 (09:57 +0000)]
Add code to check boot option variable before use it

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13203 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate comments for NULL PlatformSecureLib instance.
sfu5 [Wed, 18 Apr 2012 02:02:38 +0000 (02:02 +0000)]
Update comments for NULL PlatformSecureLib instance.

Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13202 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate function comments to remove confused description on PerformanceLib EndPerforma...
lgao4 [Tue, 17 Apr 2012 09:45:59 +0000 (09:45 +0000)]
Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13201 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate function comments to remove confused description on PerformanceLib EndPerforma...
lgao4 [Tue, 17 Apr 2012 09:45:30 +0000 (09:45 +0000)]
Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13200 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCorrect function comments on DxeServicesLib GetFileBufferByFilePath API.
lgao4 [Tue, 17 Apr 2012 09:42:44 +0000 (09:42 +0000)]
Correct function comments on DxeServicesLib GetFileBufferByFilePath API.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13199 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd 3 missing fields for EFI_ACPI_5_0_PCCT_SUBSPACE_GENERIC
jyao1 [Mon, 16 Apr 2012 22:51:06 +0000 (22:51 +0000)]
Add 3 missing fields for EFI_ACPI_5_0_PCCT_SUBSPACE_GENERIC

signed-off-by: jyao1 <jiewen.yao@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13198 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python...
darylm503 [Mon, 16 Apr 2012 22:12:42 +0000 (22:12 +0000)]
AppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python 2.7.3 made them unavailable from the python.org web site.

These files are a subset of the python-2.7.2.tgz distribution from python.org.  Changed files from PyMod-2.7.2 have been copied into the corresponding directories of this tree, replacing the original files in the distribution.

Signed-off-by: daryl.mcdaniel@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13197 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd missing secure boot build option
hhtian [Mon, 16 Apr 2012 01:31:17 +0000 (01:31 +0000)]
Add missing secure boot build option

Signed-off-by: Hot Tian <hot.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13196 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg: Fixed build after latest BaseTools syncup
oliviermartin [Fri, 13 Apr 2012 10:17:39 +0000 (10:17 +0000)]
ArmPlatformPkg: Fixed build after latest BaseTools syncup

BaseTools now raises an error when a PCD is not declared in a DEC.
This change:
- Remove undeclared PCDs
- Add PCD declaration to DEC file

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13195 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEDK II Packages: Added License.txt files
oliviermartin [Thu, 12 Apr 2012 16:40:32 +0000 (16:40 +0000)]
EDK II Packages: Added License.txt files

License.txt is a per-project document showing the license terms
used by that project.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13194 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRemoves irrelevant parameter during negotiation to avoid login fail.
tye1 [Thu, 12 Apr 2012 09:54:59 +0000 (09:54 +0000)]
Removes irrelevant parameter during negotiation to avoid login fail.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed by: Ouyang, Qian <qian.ouyang@intel.com>
Reviewed by: Tian, Feng<feng.tian@intel.com>

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

9 years agoAdd check before using it to avoid access violation.
ydong10 [Thu, 12 Apr 2012 09:02:52 +0000 (09:02 +0000)]
Add check before using it to avoid access violation.

Signed-off-by: Dong Eric <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13192 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the default return value of UserPhysicalPresent to TRUE.
sfu5 [Thu, 12 Apr 2012 07:19:46 +0000 (07:19 +0000)]
Update the default return value of UserPhysicalPresent to TRUE.

Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13191 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoKeep StdErr same logic initialization with ConOut, e.g. initialize gST->StandardError...
li-elvin [Thu, 12 Apr 2012 02:16:47 +0000 (02:16 +0000)]
Keep StdErr same logic initialization with ConOut, e.g. initialize gST->StandardErrorHandle and gST->StdErr in Consplitter entrypoint.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13190 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagemen...
rsun3 [Thu, 12 Apr 2012 01:49:27 +0000 (01:49 +0000)]
MdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagementFeature() to clear 4 related R/W bits in the PMCSR register, leaving other bits preserved.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13189 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFatBinPkg/License.txt: Sync with License.txt in FatPkg
jljusten [Wed, 11 Apr 2012 23:19:56 +0000 (23:19 +0000)]
FatBinPkg/License.txt: Sync with License.txt in FatPkg

The License.txt file in FatPkg was changed to add UEFI.
This change syncronizes the License.txt file from FatPkg
into FatBinPkg.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13188 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEDK II Packages: Add Contributions.txt and License.txt files
jljusten [Wed, 11 Apr 2012 23:19:46 +0000 (23:19 +0000)]
EDK II Packages: Add Contributions.txt and License.txt files

Contributions.txt documents the contribution process for all
tianocore projects. The conents of Contributions.txt should
match in all cases.

License.txt is a per-project document showing the license terms
used by that project.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoNt32Pkg: Add Secure Boot build option including Custom Mode setup
leegrosenbaum [Wed, 11 Apr 2012 16:23:41 +0000 (16:23 +0000)]
Nt32Pkg: Add Secure Boot build option including Custom Mode setup

If –D SECURE_BOOT_ENABLE is specified with the build command, Secure Boot support is enabled including custom mode setup.
This allows Secure Boot to be configured through setup allowing Nt32Pkg to be a fully functional Secure Boot reference platforms.

Signed-off-by: lee.g.rosenbaum@intel.com
Reviewed-by: jiewen.yao@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13186 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd more check for the bmp file to avoid access violation.
ydong10 [Wed, 11 Apr 2012 07:56:50 +0000 (07:56 +0000)]
Add more check for the bmp file to avoid access violation.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
Reviewed-by: Zhang Chao <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13185 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnable Help string scroll when the help info can't show all at current page.
ydong10 [Wed, 11 Apr 2012 05:44:40 +0000 (05:44 +0000)]
Enable Help string scroll when the help info can't show all at current page.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13184 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCurrent IPF version SwitchStack implementation uses loadrs instruction to restore...
li-elvin [Wed, 11 Apr 2012 01:56:48 +0000 (01:56 +0000)]
Current IPF version SwitchStack implementation uses loadrs instruction to restore dirty partition of register stack from the backing store, but there is no guarantee to make the backing store valid before. So  add flushrs before loadrs to make sure backing store valid.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Li Kevin <kevin.y.li@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13183 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUefiCpuPkg MtrrLib: For MtrrSetAllMtrrs(), do not set FE/E bits in IA32_MTRR_DEF_TYPE...
rsun3 [Wed, 11 Apr 2012 01:41:29 +0000 (01:41 +0000)]
UefiCpuPkg MtrrLib: For MtrrSetAllMtrrs(), do not set FE/E bits in IA32_MTRR_DEF_TYPE MSR after the MSR is restored.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13182 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdded VS2010 support in edksetup script.
lgao4 [Tue, 10 Apr 2012 07:45:35 +0000 (07:45 +0000)]
Added VS2010 support in edksetup script.

Signed-off-by: Yu Wang <yu.wang@intel.com>
Reviewed-by: Jikui Su <jikui.su@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13181 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSync BaseTools Trunk (version r2518) to EDKII main trunk.
lgao4 [Tue, 10 Apr 2012 07:28:51 +0000 (07:28 +0000)]
Sync BaseTools Trunk (version r2518) to EDKII main trunk.

Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13180 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSync BaseTools Trunk (version r2518) to EDKII main trunk.
lgao4 [Tue, 10 Apr 2012 07:22:37 +0000 (07:22 +0000)]
Sync BaseTools Trunk (version r2518) to EDKII main trunk.

Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13179 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSync BaseTools Trunk (version r2518) to EDKII main trunk.
lgao4 [Tue, 10 Apr 2012 07:18:20 +0000 (07:18 +0000)]
Sync BaseTools Trunk (version r2518) to EDKII main trunk.

Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13178 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg: Fix build warning on Xhci driver with XCode 32 tool chain.
erictian [Tue, 10 Apr 2012 06:33:40 +0000 (06:33 +0000)]
MdeModulePkg: Fix build warning on Xhci driver with XCode 32 tool chain.

Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13177 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRemove unused PCDs in OVMF Platform.
lgao4 [Tue, 10 Apr 2012 02:49:59 +0000 (02:49 +0000)]
Remove unused PCDs in OVMF Platform.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13176 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate code to avoid potential access violation.
ydong10 [Tue, 10 Apr 2012 02:27:05 +0000 (02:27 +0000)]
Update code to avoid potential access violation.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Ouyang Qian <Ouyang.qian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13175 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoNew Shell binaries based on EDKII core r12898 and Shell r57.
niruiyu [Thu, 5 Apr 2012 09:07:27 +0000 (09:07 +0000)]
New Shell binaries based on EDKII core r12898 and Shell r57.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13163 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd pointer check for NULL before dereference it.
sfu5 [Thu, 5 Apr 2012 02:39:46 +0000 (02:39 +0000)]
Add pointer check for NULL before dereference it.

Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13162 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAppPkg/Applications/Python: Fix bug where the StdLib\lib\site-python and StdLib\lib...
darylm503 [Wed, 4 Apr 2012 23:40:55 +0000 (23:40 +0000)]
AppPkg/Applications/Python: Fix bug where the StdLib\lib\site-python and StdLib\lib\python.27\site-customize directories were not being processed.  Fix bug where unicode strings were not being correctly encoded in the "idna" encoding before being passed to low-level networking functions.  Correct problem where a spurious message, "Shell: Incorrect redirection syntax - '2>/dev/null'", was being output by PyDoc.

Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: jordan.l.justen@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13161 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOvmfPkg: Add custom mode setup if the Secure Boot build option is specified.
leegrosenbaum [Wed, 4 Apr 2012 17:35:06 +0000 (17:35 +0000)]
OvmfPkg: Add custom mode setup if the Secure Boot build option is specified.

If –D SECURE_BOOT_ENABLE is specified with the build command, Secure Boot support is enabled including custom mode setup.

This allows Secure Boot to be configured through setup allowing OvmfPkgX64, OvmfPkgIa32 and OvmfPkg3264 to be a fully functional Secure Boot reference platforms.
Remove redundant library class definitions for BaseCryptLib and OpenSslLib.

Signed-off-by: Lee Rosenbaum <lee.g.rosenbaum@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13160 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoWhen transfer from Unicode to hex number, current code only consider the 0-9 case...
ydong10 [Sun, 1 Apr 2012 07:28:09 +0000 (07:28 +0000)]
When transfer from Unicode to hex number, current code only consider the 0-9 case, not include the A-F case, now update code to consider all.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13159 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd two new interfaces Pkcs7GetSigners and Pkcs7FreeSigners to BaseCryptLib.
tye1 [Sat, 31 Mar 2012 04:49:02 +0000 (04:49 +0000)]
Add two new interfaces Pkcs7GetSigners and Pkcs7FreeSigners to BaseCryptLib.

Signed-off by: tye1
Reviewed-by: geekboy15a
Reviewed-by: sfu5
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13158 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate common authenticated variable (non PK/KEK/DB/DBX) support to comply with lates...
tye1 [Sat, 31 Mar 2012 04:42:20 +0000 (04:42 +0000)]
Update common authenticated variable (non PK/KEK/DB/DBX) support to comply with latest UEFI spec.

Signed-off by: tye1
Reviewed-by: geekboy15a
Reviewed-by: sfu5
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13157 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIf setting variable in Runtime and there has been a same GUID and name variable exist...
lzeng14 [Fri, 30 Mar 2012 07:19:44 +0000 (07:19 +0000)]
If setting variable in Runtime and there has been a same GUID and name variable existed in system without RT attribute, return EFI_WRITE_PROTECTED.

Signed-off-by: lzeng14
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13156 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/UsbBusDxe:Correct typos in usb debug message
erictian [Fri, 30 Mar 2012 03:33:27 +0000 (03:33 +0000)]
MdeModulePkg/UsbBusDxe:Correct typos in usb debug message

Signed-off-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13155 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoupdate code to follow coding style.
czhang46 [Fri, 30 Mar 2012 01:27:14 +0000 (01:27 +0000)]
update code to follow coding style.

Signed-off-by: czhang46
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13154 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoStdLib: Add STDC macros, for MSFT compilers, to improve compatibility with various...
darylm503 [Thu, 29 Mar 2012 22:24:30 +0000 (22:24 +0000)]
StdLib: Add STDC macros, for MSFT compilers, to improve compatibility with various Open-Source software packages.

Defines __STDC__, __STDC_VERSION__, and __STDC_HOSTED as specified by ISO/IEC 9899.

Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: jordan.l.justen@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13153 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago1. Fix UNIXGCC IPF build failure in SecurityPkg.
sfu5 [Thu, 29 Mar 2012 06:54:46 +0000 (06:54 +0000)]
1. Fix UNIXGCC IPF build failure in SecurityPkg.

Signed-off-by: sfu5
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13152 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoStdLib/Include/stdarg.h: Added the __va_copy macro for Python compatibility.
darylm503 [Wed, 28 Mar 2012 22:17:44 +0000 (22:17 +0000)]
StdLib/Include/stdarg.h:  Added the __va_copy macro for Python compatibility.
AppPkg/Applications/Python:  Deleted obsolete and incomplete PyMod-2.7.1.  Changes to enable compilation using GCC 4.4 on both Windows and Linux hosts.

Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: jaben.carsey@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13147 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago1. Fix GCC build failure in SecurityPkg.
sfu5 [Wed, 28 Mar 2012 09:06:35 +0000 (09:06 +0000)]
1. Fix GCC build failure in SecurityPkg.

Signed-off-by: sfu5
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13146 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/XhciDxe: Event Ring traverse algorithm enhancement to avoid that those...
erictian [Tue, 27 Mar 2012 12:07:38 +0000 (12:07 +0000)]
MdeModulePkg/XhciDxe: Event Ring traverse algorithm enhancement to avoid that those completed async transfer events don't get handled in time and are flushed by newer coming events.

Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13145 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago1. Remove “Force clear PK” feature in AuthVarialbe driver.
sfu5 [Tue, 27 Mar 2012 08:17:23 +0000 (08:17 +0000)]
1. Remove “Force clear PK” feature in AuthVarialbe driver.
2. Update API ForceClearPK() to UserPhysicalPresent() in PlatformSecureLib.
2. Update SecureBootConfigDxe driver and AuthVariable driver to support Custom Secure Boot Mode feature.
3. Fix some bugs in AuthVariable driver.

Signed-off-by: sfu5
Reviewed-by: tye
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13144 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoSearching for files starts on an 8 byte aligned boundary after the end of the Extende...
lzeng14 [Tue, 27 Mar 2012 01:57:51 +0000 (01:57 +0000)]
Searching for files starts on an 8 byte aligned boundary after the end of the Extended Header if it exists.

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13143 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAppPkg/Applications/Sockets: Address GCC and Linux compilation problems.
darylm503 [Tue, 27 Mar 2012 00:47:35 +0000 (00:47 +0000)]
AppPkg/Applications/Sockets: Address GCC and Linux compilation problems.
  1) Fix copyright and license notices.
  2) Replace '\' in include paths with '/'.
  3) Fix case mismatch between include paths and actual files and directories.

Signed-off-by: darylm503
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13142 6f19259b-4bc3-4df7-8a09-765794883524

9 years agocorrect removal of commit 12951.
jcarsey [Mon, 26 Mar 2012 21:00:39 +0000 (21:00 +0000)]
correct removal of commit 12951.

submitted-by: jaben.carsey@intel.com

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

9 years agoEmbeddedPkg/MmcDxe: Fixed XCLANG build
oliviermartin [Mon, 26 Mar 2012 12:28:05 +0000 (12:28 +0000)]
EmbeddedPkg/MmcDxe: Fixed XCLANG build

Move the constant array from its declaration inside the function to a global declaration.

Signed-off-by: Andrew Fish <afish@apple.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13140 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/PrePi: Added Firmware Version String to the 'welcome' statement
oliviermartin [Mon, 26 Mar 2012 11:08:32 +0000 (11:08 +0000)]
ArmPlatformPkg/PrePi: Added Firmware Version String to the 'welcome' statement

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

9 years agoArmPlatformPkg/Sec: Change initial 'welcome' string from 'UEFI Firmware' to 'Secure...
oliviermartin [Mon, 26 Mar 2012 11:06:29 +0000 (11:06 +0000)]
ArmPlatformPkg/Sec: Change initial 'welcome' string from 'UEFI Firmware' to 'Secure/Boot Firmware'

The 'SEC' component is not part of the UEFI software stack.

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

9 years agoArmPlatformPkg/SP805WatchdogDxe: Removed late initialization capability from the...
oliviermartin [Mon, 26 Mar 2012 11:05:25 +0000 (11:05 +0000)]
ArmPlatformPkg/SP805WatchdogDxe: Removed late initialization capability from the watchdog

The watchdog driver is a UEFI architectural driver. The watchdog controller
is always going to be intialized.

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

9 years agoArmPlatformPkg: Fixed gcc build (minor change)
oliviermartin [Mon, 26 Mar 2012 11:04:25 +0000 (11:04 +0000)]
ArmPlatformPkg: Fixed gcc build (minor change)

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

9 years agoArmPlatformPkg/Sec: Allowed the Secondary Cores to set the Secure/Non Secure bits...
oliviermartin [Mon, 26 Mar 2012 11:03:36 +0000 (11:03 +0000)]
ArmPlatformPkg/Sec: Allowed the Secondary Cores to set the Secure/Non Secure bits to their PPIs

The GICD_IGROUPR0 is banked for each connected processor. It means the
Non-Secure bits for the PPIs (Private Peripheral Interrupts) must be
configured for every processor.

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

9 years agoArmLib/ArmV7: Add ISB to ArmEnableVFP
oliviermartin [Mon, 26 Mar 2012 11:01:21 +0000 (11:01 +0000)]
ArmLib/ArmV7: Add ISB to ArmEnableVFP

ArmEnableVFP could crash on an out-of-order CPU. Adding an instruction barrier after writing to CPACR cures the problem.

Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13134 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/ArmSmcLib: Added helper library to make SMC call to the Secure World
oliviermartin [Mon, 26 Mar 2012 10:59:50 +0000 (10:59 +0000)]
ArmPlatformPkg/ArmSmcLib: Added helper library to make SMC call to the Secure World

This library adds C-wrapper around the SMC instruction and allows to pass
parameters to the Secure World.

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

9 years agoArmPlatformPkg/SP805Watchdog.h: Removed the DXE function declarations from the header
oliviermartin [Mon, 26 Mar 2012 10:58:06 +0000 (10:58 +0000)]
ArmPlatformPkg/SP805Watchdog.h: Removed the DXE function declarations from the header

The DXE functions are local to the DXE driver.

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

9 years agoArmPkg: Declared ARM Hypervisor Firmware PCDs
oliviermartin [Mon, 26 Mar 2012 10:57:11 +0000 (10:57 +0000)]
ArmPkg: Declared ARM Hypervisor Firmware PCDs

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

oliviermartin [Mon, 26 Mar 2012 10:56:07 +0000 (10:56 +0000)]

ARM_PROCESSOR_MODE_HYP stands for the Hypervisor mode.

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

9 years agoArmPkg/Drivers/PL390Gic: Removed acknowledge of special interrupts (spurious interrupt)
oliviermartin [Mon, 26 Mar 2012 10:54:49 +0000 (10:54 +0000)]
ArmPkg/Drivers/PL390Gic: Removed acknowledge of special interrupts (spurious interrupt)

Cleaning a special interrupt has an unpredictable behaviour.

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

9 years agoArmPkg/LinuxLoader: Remove unused DebugLib (Minor change)
oliviermartin [Mon, 26 Mar 2012 10:52:31 +0000 (10:52 +0000)]
ArmPkg/LinuxLoader: Remove unused DebugLib (Minor change)

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

9 years agoArmPlatformPkg/Sec: Move ArmGicSetupNonSecure() prior to initialize platform-specific...
oliviermartin [Mon, 26 Mar 2012 10:51:43 +0000 (10:51 +0000)]
ArmPlatformPkg/Sec: Move ArmGicSetupNonSecure() prior to initialize platform-specific security bit

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

9 years agoArmPlatformPkg/Sec: Fixed monitor stack setup
oliviermartin [Mon, 26 Mar 2012 10:49:58 +0000 (10:49 +0000)]
ArmPlatformPkg/Sec: Fixed monitor stack setup

The Secure Monitor stack was not when a stack base was not provided by the Secure SVC world.

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

9 years agoArmPlatformPkg/PrePi: Fix comment (minor change)
oliviermartin [Mon, 26 Mar 2012 10:48:45 +0000 (10:48 +0000)]
ArmPlatformPkg/PrePi: Fix comment (minor change)

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

9 years agoArmPkg/ArmLib.h: Fixed the ClusterId and CoreId masks
oliviermartin [Mon, 26 Mar 2012 10:47:15 +0000 (10:47 +0000)]
ArmPkg/ArmLib.h: Fixed the ClusterId and CoreId masks

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

9 years agoArmPkg/PL390Gic: Introduced PcdGicSgiIntId to define which SGI is used for core synch...
oliviermartin [Mon, 26 Mar 2012 10:46:25 +0000 (10:46 +0000)]
ArmPkg/PL390Gic: Introduced PcdGicSgiIntId to define which SGI is used for core synchronisation

By default this PCD is set to use SGI #0.

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

9 years agoArmPkg/ArmGicLib: Added function ArmGicSetSecureInterrupts() to define the secure...
oliviermartin [Mon, 26 Mar 2012 10:45:27 +0000 (10:45 +0000)]
ArmPkg/ArmGicLib: Added function ArmGicSetSecureInterrupts() to define the secure interrupts

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

9 years agoArmPlatformPkg/ArmPlatformGlobalVariableLib: Fixed incorrect type casting
oliviermartin [Mon, 26 Mar 2012 10:41:50 +0000 (10:41 +0000)]
ArmPlatformPkg/ArmPlatformGlobalVariableLib: Fixed incorrect type casting

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

9 years ago1. Update AuthVarialbe driver to avoid integer overflow when using EFI_VARIABLE_AUTHE...
sfu5 [Mon, 26 Mar 2012 01:43:45 +0000 (01:43 +0000)]
1. Update AuthVarialbe driver to avoid integer overflow when using EFI_VARIABLE_AUTHENTICATION_2 descriptor.

Signed-off-by: sfu5
Reviewed-by: tye
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13120 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release.
darylm503 [Sat, 24 Mar 2012 01:19:06 +0000 (01:19 +0000)]
EADK (StdLib, AppPkg, StdLibPrivateInternalFiles):  Python Beta Release.
Clean up and clearly differentiate required and optional items in configuration files.
Enable the system command and synchronize configuration options between all CPU architectures.
Replace the UEFI_ENV macro with UEFI_C_SOURCE to align with Linux and Posix conventions.
Update copyrights and versions and make minor cosmetic enhancements to files.
Fix compiler-specific build errors.
Add Python-specific ReadMe file.

Signed-off-by: darylm503
Reviewed-by: geekboy15a
Reviewed-by: jljusten
Reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13119 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd BootlogoOnly feature in BDS for BGRT
czhang46 [Fri, 23 Mar 2012 04:27:19 +0000 (04:27 +0000)]
Add BootlogoOnly feature in BDS for BGRT

Signed-off-by: czhang46
Reviewed-by: li-elvin, hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13116 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the license dates
lpleahy [Tue, 20 Mar 2012 22:16:42 +0000 (22:16 +0000)]
Update the license dates
Use the BSD license
Fix errors detected by GCC compiler in WebServer/ConfigurationTable.c
Add libraries: CpuLib, DxeServicesTableLib and MtrrLib

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13115 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix VS X64 Compiler Failure
lgao4 [Tue, 20 Mar 2012 07:36:39 +0000 (07:36 +0000)]
Fix VS X64 Compiler Failure
Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13113 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix doxgen format issue.
vanjeff [Mon, 19 Mar 2012 08:58:57 +0000 (08:58 +0000)]
Fix doxgen format issue.

Signed-off-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13112 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd LzmaArchCustomDecompressLib library instance, which supports for X86 (IA32/X64...
lgao4 [Mon, 19 Mar 2012 07:13:29 +0000 (07:13 +0000)]
Add LzmaArchCustomDecompressLib library instance, which supports for X86 (IA32/X64) optimized decompression. It can provide the improved compression for IA32 and X64 architecture code.

Signed-off-by: lgao4
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13111 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago1. Remove conducting ASSERT in BaseCryptLib.
sfu5 [Mon, 19 Mar 2012 05:52:16 +0000 (05:52 +0000)]
1. Remove conducting ASSERT in BaseCryptLib.

Signed-off-by: sfu5
Reviewed-by: qianouyang
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13110 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago1. Add more error handling code to DxeImageVerificationLib and BaseCryptLib.
sfu5 [Mon, 19 Mar 2012 05:10:46 +0000 (05:10 +0000)]
1. Add more error handling code to DxeImageVerificationLib and BaseCryptLib.

Signed-off-by: sfu5
Reviewed-by: qianouyang
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13109 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRemove the useless performance logging code in BootScriptExecutorDxe driver and recor...
lzeng14 [Mon, 19 Mar 2012 02:52:15 +0000 (02:52 +0000)]
Remove the useless performance logging code in BootScriptExecutorDxe driver and record S3 "ScriptExec" performance log before and after executing BootScriptExecutorEntrypoint in S3Reusme2Pei driver.

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13108 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix build break caused by CPU Exception Library.
andrewfish [Fri, 16 Mar 2012 16:52:46 +0000 (16:52 +0000)]
Fix build break caused by CPU Exception Library.

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

9 years agoUpdated platform DSC files to add CPU Exception Library instances.
vanjeff [Fri, 16 Mar 2012 08:36:39 +0000 (08:36 +0000)]
Updated platform DSC files to add CPU Exception Library instances.

Signed-off-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13106 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIntroduce tow non-blocking task lists to AtaBus. One maintains the sub-task which...
qianouyang [Fri, 16 Mar 2012 03:31:47 +0000 (03:31 +0000)]
Introduce tow non-blocking task lists to AtaBus. One maintains the sub-task which is related to running Ata Task and the other is for waiting Ata Task. And it will not pass any task to AtaAtapiPassThru until the previous Ata task has been finished or met error.

Signed-off-by: qianouyang
Reviewed-by: czhang46 erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13105 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the offset when read every debug entries info.
ydong10 [Fri, 16 Mar 2012 03:22:38 +0000 (03:22 +0000)]
Update the offset when read every debug entries info.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13104 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoARM Packages: Added the NULL implementation of CpuExceptionHandlerLib
oliviermartin [Thu, 15 Mar 2012 16:03:41 +0000 (16:03 +0000)]
ARM Packages: Added the NULL implementation of CpuExceptionHandlerLib

This NULL implementation should not affect the existing code flow and
avoid the builds to be broken by a missing dependency.
In a longer term, an implementation of CpuExceptionHandlerLib should
be provided for ARM architecture.

Signed-off-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13103 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/DebugPortDxe: Fixed the ordering of the EFI_DEBUGPORT_PROTOCOL entries
oliviermartin [Thu, 15 Mar 2012 15:27:18 +0000 (15:27 +0000)]
MdeModulePkg/DebugPortDxe: Fixed the ordering of the EFI_DEBUGPORT_PROTOCOL entries

The DebugPortRead and DebugPortWrite entries are reversed in the initialization
definition and the UEFI spec).

Signed-off-by: oliviermartin
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13102 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd SMBIOS 2.7.1 support to SmbiosView command.
lzeng14 [Thu, 15 Mar 2012 08:29:49 +0000 (08:29 +0000)]
Add SMBIOS 2.7.1 support to SmbiosView command.

Signed-off-by: lzeng14
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13101 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdated platform DSC files to add CPU Exception Library instances.
vanjeff [Thu, 15 Mar 2012 05:54:00 +0000 (05:54 +0000)]
Updated platform DSC files to add CPU Exception Library instances.

Signed-off-by: vanjeff
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13100 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago1. Updated S3Resume2Pei to save IA32 IDT table setup in protected mode.
vanjeff [Thu, 15 Mar 2012 05:33:43 +0000 (05:33 +0000)]
1. Updated S3Resume2Pei to save IA32 IDT table setup in protected mode.
2. Updated BootScriptSaveOnS3SaveStateThunk restore IA32 IDT table before transferring to protected mode.
It could support exception handler in 32-bit Framework Boot Script code.

Signed-off-by: vanjeff
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13099 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoImport two CPU Exception Handler Library instances: SecPeiCpuExceptionHandler.inf...
vanjeff [Thu, 15 Mar 2012 05:24:07 +0000 (05:24 +0000)]
Import two CPU Exception Handler Library instances: SecPeiCpuExceptionHandler.inf and DxeSmmCpuExceptionHandler.inf.

Signed-off-by: vanjeff
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13098 6f19259b-4bc3-4df7-8a09-765794883524

9 years ago1. Introduced CPU Exception Handler Library to provide the CPU exception handlers...
vanjeff [Thu, 15 Mar 2012 05:20:41 +0000 (05:20 +0000)]
1. Introduced CPU Exception Handler Library to provide the CPU exception handlers and add one NULL library instance.
2. Updated DXE Core, BootScriptExecutorDxe and CapsuleX64Pei to consume CPU Exception Library to setup the default CPU Exception handlers.

Signed-off-by: vanjeff
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13097 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix build fail.
ydong10 [Wed, 14 Mar 2012 06:40:26 +0000 (06:40 +0000)]
Fix build fail.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13096 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoImprove robustness when scanning PCI Option ROM.
rsun3 [Wed, 14 Mar 2012 03:17:17 +0000 (03:17 +0000)]
Improve robustness when scanning PCI Option ROM.

Signed-off-by: rsun3
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13095 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnhance the error handling.
ydong10 [Tue, 13 Mar 2012 08:06:16 +0000 (08:06 +0000)]
Enhance the error handling.
Signed-off-by: ydong10
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13094 6f19259b-4bc3-4df7-8a09-765794883524