mirror_edk2.git
12 years ago1. Update Fat binaries for IA32, x64, IPF and EBC to base on MdePkg 1.01 release...
qhuang8 [Wed, 16 Dec 2009 05:02:17 +0000 (05:02 +0000)]
1. Update Fat binaries for IA32, x64, IPF and EBC to base on MdePkg 1.01 release (EDK SVN r9029).
2. Integrate a bug fix from Andrew Fish on Fat SVN r46.

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

12 years agoFix the issue that callback function with TPL lower than TPL_HIGH_LEVEL cannot handle...
xli24 [Wed, 16 Dec 2009 04:50:57 +0000 (04:50 +0000)]
Fix the issue that callback function with TPL lower than TPL_HIGH_LEVEL cannot handle status code at TPL_HIGH_LEVEL.

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

12 years agoMake MP Services thunk driver only be built under IA32 and X64 archs.
xli24 [Wed, 16 Dec 2009 02:51:09 +0000 (02:51 +0000)]
Make MP Services thunk driver only be built under IA32 and X64 archs.

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

12 years agoadd error handling on usb related modules.
eric_tian [Wed, 16 Dec 2009 00:58:46 +0000 (00:58 +0000)]
add error handling on usb related modules.

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

12 years agoAdd '0x' prefix to indicate hex number
qhuang8 [Tue, 15 Dec 2009 09:12:45 +0000 (09:12 +0000)]
Add '0x' prefix to indicate hex number

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

12 years agoFix a PeiServices pointer checking error bug in EfiCommonLib in ECP.
rsun3 [Tue, 15 Dec 2009 08:50:58 +0000 (08:50 +0000)]
Fix a PeiServices pointer checking error bug in EfiCommonLib in ECP.

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

12 years agoCheck in thunk driver to produce PI MP Services Protocol based on Framework MP Servic...
xli24 [Tue, 15 Dec 2009 03:00:49 +0000 (03:00 +0000)]
Check in thunk driver to produce PI MP Services Protocol based on Framework MP Services Protocol.

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

12 years agoRemoving BuildNotes.txt file, as it was for the obsolete Java/ANT based builds
lhauch [Mon, 14 Dec 2009 17:46:24 +0000 (17:46 +0000)]
Removing BuildNotes.txt file, as it was for the obsolete Java/ANT based builds

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

12 years agoEnable Undi driver to support multicast MAC address mapped from IPv6 address
tye [Mon, 14 Dec 2009 08:14:08 +0000 (08:14 +0000)]
Enable Undi driver to support multicast MAC address mapped from IPv6 address

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

12 years agoIntroduce a MDEPKG_NDEBUG macro to provide a method which can be used to reduce code...
eric_tian [Mon, 14 Dec 2009 06:26:27 +0000 (06:26 +0000)]
Introduce a MDEPKG_NDEBUG macro to provide a method which can be used to reduce code size when compiler optimization is disabled.

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

12 years agoUpdate ReadMe file for we use the binaries of boot sector directly instead of buildin...
gikidy [Mon, 14 Dec 2009 03:09:49 +0000 (03:09 +0000)]
Update ReadMe file for we use the binaries of boot sector directly instead of building it.

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

12 years agoRemove Driver Health sample driver from OptionRomPkg.
gikidy [Mon, 14 Dec 2009 01:51:42 +0000 (01:51 +0000)]
Remove Driver Health sample driver from OptionRomPkg.

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

12 years agoFix a obvious bug for judge whether the PPB support ISA
klu2 [Sat, 12 Dec 2009 08:55:02 +0000 (08:55 +0000)]
Fix a obvious bug for judge whether the PPB support ISA

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

12 years agoSmbios driver wrong compute the offset when updating string for given handle.
klu2 [Fri, 11 Dec 2009 11:58:27 +0000 (11:58 +0000)]
Smbios driver wrong compute the offset when updating string for given handle.

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

12 years agothere is no 0 between a SMBIOS buffer and the first string in unformated area. So...
klu2 [Fri, 11 Dec 2009 11:52:26 +0000 (11:52 +0000)]
there is no 0 between a SMBIOS buffer and the first string in unformated area. So no need + 1.

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

12 years agoFix the bug for evaluate EFI_IFR_NOT_EQUAL_OP opcode, and the bug in using UnicodeSPr...
lgao4 [Fri, 11 Dec 2009 11:01:50 +0000 (11:01 +0000)]
Fix the bug for evaluate EFI_IFR_NOT_EQUAL_OP opcode, and the bug in using UnicodeSPrint function.

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

12 years agoThe consumer for smbios recorder should *not* make assumption the SMBIOS structure...
klu2 [Fri, 11 Dec 2009 05:51:39 +0000 (05:51 +0000)]
The consumer for smbios recorder should *not* make assumption the SMBIOS structure in special version. For length of smbios record, consumer need judge the SMBIOS->Hdr.Length but not use size of (SMBIOS_TYPE0) style.

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

12 years agoImprove status codes returned for functions of EFI_TCG_PROTOCOL. Note that after...
rsun3 [Fri, 11 Dec 2009 04:32:30 +0000 (04:32 +0000)]
Improve status codes returned for functions of EFI_TCG_PROTOCOL. Note that after change, status codes returned for functions of EFI_TCG_PROTOCOL do not exactly match those defined in the TCG EFI Protocol 1.20 Final Specification.

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

12 years agoAdd return value description for EFI_PEI_RECOVERY_BLOCK_IO_PPI.GetNumberOfBlockDevices().
xli24 [Fri, 11 Dec 2009 02:59:04 +0000 (02:59 +0000)]
Add return value description for EFI_PEI_RECOVERY_BLOCK_IO_PPI.GetNumberOfBlockDevices().

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

12 years agoAdd missing definition of "EFI_PEI_DESCRIPTOR" in PI spec.
qhuang8 [Fri, 11 Dec 2009 01:08:51 +0000 (01:08 +0000)]
Add missing definition of "EFI_PEI_DESCRIPTOR" in PI spec.

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

12 years agoAdd legacy region range check.
xli24 [Thu, 10 Dec 2009 09:24:40 +0000 (09:24 +0000)]
Add legacy region range check.

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

12 years agoCorrect the comments.
xdu2 [Thu, 10 Dec 2009 07:48:56 +0000 (07:48 +0000)]
Correct the comments.

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

12 years agoTempoprary removal of this ASSERT as it crashes the BeagleBoard. We can put it back...
AJFISH [Thu, 10 Dec 2009 00:24:29 +0000 (00:24 +0000)]
Tempoprary removal of this ASSERT as it crashes the BeagleBoard. We can put it back in when we figure out the issue.

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

13 years agoAdd the missing HiiVendor DevicePath for new added DriverHealth Form.
lgao4 [Wed, 9 Dec 2009 08:19:47 +0000 (08:19 +0000)]
Add the missing HiiVendor DevicePath for new added DriverHealth Form.

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

13 years agofix the wrong module name.
eric_tian [Wed, 9 Dec 2009 02:18:21 +0000 (02:18 +0000)]
fix the wrong module name.

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

13 years agoMake the build.sh script match the TOT BaseTools project.
AJFISH [Wed, 9 Dec 2009 01:40:24 +0000 (01:40 +0000)]
Make the build.sh script match the TOT BaseTools project.

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

13 years agoFix for the Linux Build. #ifdef __APPLE__ around the files only needed to work around...
AJFISH [Tue, 8 Dec 2009 06:14:12 +0000 (06:14 +0000)]
Fix for the Linux Build. #ifdef __APPLE__ around the files only needed to work around Mac OS X 16 byte IA-32 calling conventions issue. All the calls to this code is #ifdef __APPLE__, so no reason to build it on Linux or other gcc flavors.

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

13 years agofix build error, CpuIo module is replaced with CpuIo2Dxe
eric_tian [Tue, 8 Dec 2009 05:31:19 +0000 (05:31 +0000)]
fix build error, CpuIo module is replaced with CpuIo2Dxe

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

13 years agoDon't need call SAP measure GPT table, which can be covered in SAP implementation.
lgao4 [Tue, 8 Dec 2009 05:29:54 +0000 (05:29 +0000)]
Don't need call SAP measure GPT table, which can be covered in SAP implementation.

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

13 years agoDirectly use FALSE when BootPolicy is FALSE.
lgao4 [Tue, 8 Dec 2009 05:28:03 +0000 (05:28 +0000)]
Directly use FALSE when BootPolicy is FALSE.

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

13 years agoFix incorrect return status usage of HiiGetBrowserData().
xdu2 [Tue, 8 Dec 2009 04:58:53 +0000 (04:58 +0000)]
Fix incorrect return status usage of HiiGetBrowserData().

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

13 years agoFix the UnixPkg default to have the tools come from a seperate BaseTools project...
ajfish [Tue, 8 Dec 2009 01:55:00 +0000 (01:55 +0000)]
Fix the UnixPkg default to have the tools come from a seperate BaseTools project. When the fixes are checked into edk2 we can move it back to pointing to tools in edk2.

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

13 years agoadd ASSERT to 2 functions and fix issue with size difference between old and new...
jcarsey [Mon, 7 Dec 2009 18:05:00 +0000 (18:05 +0000)]
add ASSERT to 2 functions and fix issue with size difference between old and new shell versions.

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

13 years agoclean up comments
jcarsey [Mon, 7 Dec 2009 18:04:21 +0000 (18:04 +0000)]
clean up comments

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

13 years agoAdding StringNoCaseCompare to SortLib
jcarsey [Mon, 7 Dec 2009 18:04:03 +0000 (18:04 +0000)]
Adding StringNoCaseCompare to SortLib

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

13 years agoUpdate to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 12:51:53 +0000 (12:51 +0000)]
Update to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.

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

13 years agoUpdate to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 12:48:53 +0000 (12:48 +0000)]
Update to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.

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

13 years agoUpdate UnixPkg emulation platform to produce dummy CPU I/O 2 Protocol.
xli24 [Mon, 7 Dec 2009 07:10:49 +0000 (07:10 +0000)]
Update UnixPkg emulation platform to produce dummy CPU I/O 2 Protocol.

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

13 years agoRefine code make callback logic same with frontPage.
gikidy [Mon, 7 Dec 2009 05:55:07 +0000 (05:55 +0000)]
Refine code make callback logic same with frontPage.

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

13 years ago1. fix the wrong description, change "target the buffer" to "the target buffer"
eric_tian [Mon, 7 Dec 2009 04:48:53 +0000 (04:48 +0000)]
1. fix the wrong description, change "target the buffer" to "the target buffer"
2. fix ICC/GYGGCC build failure on ScanMemN() in X64 arch, it can not reach the last sentence when UINTN is equal to UINT64.

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

13 years agoCorrect LzmaCustomDecompressLib to produce NULL library class.
lgao4 [Mon, 7 Dec 2009 04:48:29 +0000 (04:48 +0000)]
Correct LzmaCustomDecompressLib to produce NULL library class.

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

13 years agoUpdate NT32 emulation platform to produce dummy CPU I/O 2 Protocol.
xli24 [Mon, 7 Dec 2009 04:28:22 +0000 (04:28 +0000)]
Update NT32 emulation platform to produce dummy CPU I/O 2 Protocol.

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

13 years agoaccording to IA32 intel architecture spec, mwait instuction needs not the operands.
eric_tian [Mon, 7 Dec 2009 04:15:00 +0000 (04:15 +0000)]
according to IA32 intel architecture spec, mwait instuction needs not the operands.

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

13 years agofix GCC build issue, mWait instruction need not the operands.
eric_tian [Mon, 7 Dec 2009 03:31:44 +0000 (03:31 +0000)]
fix GCC build issue, mWait instruction need not the operands.

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

13 years agoRemove unnecessary reference to CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 03:31:19 +0000 (03:31 +0000)]
Remove unnecessary reference to CPU I/O Protocol.

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

13 years agoUpdate drivers to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 03:25:16 +0000 (03:25 +0000)]
Update drivers to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.

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

13 years agoCheck in thunk driver for CPU I/O 2 Protocol.
xli24 [Mon, 7 Dec 2009 03:12:13 +0000 (03:12 +0000)]
Check in thunk driver for CPU I/O 2 Protocol.

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

13 years agoCheck in driver to produce CPU I/O 2 Protocol for IA32 and X64 architecture.
xli24 [Mon, 7 Dec 2009 03:09:04 +0000 (03:09 +0000)]
Check in driver to produce CPU I/O 2 Protocol for IA32 and X64 architecture.

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

13 years agoAdd the missing EFI_IMAGE_EXECUTION_AUTH_ value definitions.
lgao4 [Mon, 7 Dec 2009 03:04:34 +0000 (03:04 +0000)]
Add the missing EFI_IMAGE_EXECUTION_AUTH_ value definitions.

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

13 years agoFixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.
AJFISH [Sun, 6 Dec 2009 02:01:54 +0000 (02:01 +0000)]
Fixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.

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

13 years agoAdded support for Xcode on Snow Leopard. Upaded with bug fixes for Snow Leopard.
AJFISH [Sun, 6 Dec 2009 02:00:37 +0000 (02:00 +0000)]
Added support for Xcode on Snow Leopard. Upaded with bug fixes for Snow Leopard.

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

13 years agoAdding support for BeagleBoard.
AJFISH [Sun, 6 Dec 2009 01:57:05 +0000 (01:57 +0000)]
Adding support for BeagleBoard.
ArmPkg - Supoprt for ARM specific things that can change as the architecture changes. Plus semihosting JTAG drivers.
EmbeddedPkg - Generic support for an embeddded platform. Including a light weight command line shell.
BeagleBoardPkg - Platform specifics for BeagleBoard. SD Card works, but USB has issues. Looks like a bug in the open source USB stack (Our internal stack works fine).

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

13 years agoAdd SetMemN() and ScanMemN() to the BaseMemoryLib class and all BaseMemoryLib impleme...
mdkinney [Sat, 5 Dec 2009 18:48:52 +0000 (18:48 +0000)]
Add SetMemN() and ScanMemN() to the BaseMemoryLib class and all BaseMemoryLib implementations

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

13 years agoA sample driver produces driver health protocol. This driver use DiskIO driver as...
gikidy [Fri, 4 Dec 2009 03:49:48 +0000 (03:49 +0000)]
A sample driver produces driver health protocol. This driver use DiskIO driver as a template.

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

13 years agoFix some typos & format.
gikidy [Fri, 4 Dec 2009 03:35:56 +0000 (03:35 +0000)]
Fix some typos & format.

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

13 years agoDriver health management implementation in BDS based on UEFI Specification 2.3.
gikidy [Fri, 4 Dec 2009 03:22:44 +0000 (03:22 +0000)]
Driver health management implementation in BDS based on UEFI Specification 2.3.

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

13 years agoPrompt the PI specification version to 1.20 and UEFI specification version to 2.30...
klu2 [Fri, 4 Dec 2009 03:10:28 +0000 (03:10 +0000)]
Prompt the PI specification version to 1.20 and UEFI specification version to 2.30, for PEI_SERVICES_TABLE, DXE_SERVICES_TABLE, EFI_BOOT_SERVICES_TABLE, EFI_RUNTIME_SERVICES_TABLE.

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

13 years agoThe functionality of PXE Base Code protocol will not be stopped, when downloading...
vanjeff [Fri, 4 Dec 2009 03:01:52 +0000 (03:01 +0000)]
The functionality of PXE Base Code protocol will not be stopped, when downloading is successfully.

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

13 years agoAccording to PI specification, if token number can not be found for dynamic-ex type...
klu2 [Thu, 3 Dec 2009 05:59:57 +0000 (05:59 +0000)]
According to PI specification, if token number can not be found for dynamic-ex type PCD, return EFI_NOT_FOUND but not ASSERT().

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

13 years agoMove the Fv updating of PeiCore's internal structure PrivateData out of the implement...
klu2 [Thu, 3 Dec 2009 05:41:05 +0000 (05:41 +0000)]
Move the Fv updating of PeiCore's internal structure PrivateData out of the implementation of build-in Ffs2's EFI_PEI_FIRMWARE_VOLUME_PPI. Because this PPI maybe provided by other PEIM/Sec.

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

13 years agoRemove the tab characters.
klu2 [Thu, 3 Dec 2009 02:51:50 +0000 (02:51 +0000)]
Remove the tab characters.

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

13 years agoAfter PeiCore is shadowed into permanent memory, the pointers to build-in Ffs2 FvPpi...
klu2 [Thu, 3 Dec 2009 02:48:05 +0000 (02:48 +0000)]
After PeiCore is shadowed into permanent memory, the pointers to build-in Ffs2 FvPpi should be also fixed up to be pointed to the one in permanent memory.

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

13 years agocorrect value
jcarsey [Wed, 2 Dec 2009 16:36:57 +0000 (16:36 +0000)]
correct value

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

13 years agoAdd more check for local FileInfo variable before it is used.
lgao4 [Wed, 2 Dec 2009 10:13:24 +0000 (10:13 +0000)]
Add more check for local FileInfo variable before it is used.

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

13 years ago1. Fix a bug. (Changing EFI_SMM_SYSTEM_TABLE -> EFI_SMM_SYSTEM_TABLE2 for SmmBase2.h)
davidhuang [Wed, 2 Dec 2009 07:05:21 +0000 (07:05 +0000)]
1. Fix a bug. (Changing EFI_SMM_SYSTEM_TABLE -> EFI_SMM_SYSTEM_TABLE2 for SmmBase2.h)

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

13 years agoremove extra variables
jcarsey [Wed, 2 Dec 2009 02:47:19 +0000 (02:47 +0000)]
remove extra variables

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

13 years agoMake MEDIA DEVICE PATH on 2 byte aligned to avoid the access to unaligned device...
lgao4 [Tue, 1 Dec 2009 10:29:39 +0000 (10:29 +0000)]
Make MEDIA DEVICE PATH on 2 byte aligned to avoid the access to unaligned device path node.

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

13 years agoCorrect error status to EFI_NOT_FOUND when the image can't be got.
lgao4 [Tue, 1 Dec 2009 10:15:43 +0000 (10:15 +0000)]
Correct error status to EFI_NOT_FOUND when the image can't be got.

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

13 years agoadded new PCD for ShellLib buffer size...
jcarsey [Tue, 1 Dec 2009 05:45:51 +0000 (05:45 +0000)]
added new PCD for ShellLib buffer size...

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

13 years agocorrected out of date comments
jcarsey [Tue, 1 Dec 2009 05:41:00 +0000 (05:41 +0000)]
corrected out of date comments

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

13 years agoupdates from code review, buffer length, and correct use of StdOut for printing
jcarsey [Tue, 1 Dec 2009 05:40:24 +0000 (05:40 +0000)]
updates from code review, buffer length, and correct use of StdOut for printing

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

13 years agotypo in comment
jcarsey [Tue, 1 Dec 2009 00:22:46 +0000 (00:22 +0000)]
typo in comment

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

13 years agoUpdate header file to include common definition of FRAMEWORK_EFI_AP_PROCEDURE.
xli24 [Mon, 30 Nov 2009 07:59:07 +0000 (07:59 +0000)]
Update header file to include common definition of FRAMEWORK_EFI_AP_PROCEDURE.

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

13 years agoUpdate x64 version of InitializeFpu.asm to use raw op-codes instead of 'finit' so...
qhuang8 [Mon, 30 Nov 2009 06:28:42 +0000 (06:28 +0000)]
Update x64 version of InitializeFpu.asm to use raw op-codes instead of 'finit' so that some early version of MS assemblers can support.

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

13 years agoUse AllocateZeroPool instead of using AllocatePool + ZeroMem
klu2 [Fri, 27 Nov 2009 04:05:25 +0000 (04:05 +0000)]
Use AllocateZeroPool instead of using AllocatePool + ZeroMem

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

13 years agoThe FV size in EFI_FV_INFO has been excluded the length of FV header, so no need...
klu2 [Fri, 27 Nov 2009 02:38:32 +0000 (02:38 +0000)]
The FV size in EFI_FV_INFO has been excluded the length of FV header, so no need subtract the length of FV header again when compute the length of Apriori file.

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

13 years agoFix GCC build error!
lgao4 [Fri, 27 Nov 2009 01:21:23 +0000 (01:21 +0000)]
Fix GCC build error!

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

13 years agoAdd IFR Security Op-code support in the Form Browser.
rsun3 [Thu, 26 Nov 2009 09:26:42 +0000 (09:26 +0000)]
Add IFR Security Op-code support in the Form Browser.

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

13 years agoAdd PI complied S3 implementation. Include the Opcode definition and EFI_BOOT_SCRIPT_...
jchen20 [Thu, 26 Nov 2009 05:31:49 +0000 (05:31 +0000)]
Add PI complied S3 implementation. Include the Opcode definition and EFI_BOOT_SCRIPT_WIDTH definition from MdePkg PI definition and rename the conflict opcode defintion with FRAMEWORK_ prifix.

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

13 years agoAdd PI complied S3 implementation. Move the Opcode definition and EFI_BOOT_SCRIPT_WID...
jchen20 [Thu, 26 Nov 2009 05:24:31 +0000 (05:24 +0000)]
Add PI complied S3 implementation. Move the Opcode definition and EFI_BOOT_SCRIPT_WIDTH definition from protocol directory to Pi directory since the S3 related Library need these definitions.

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

13 years agoAdd DxeSecurityManagementLib instance
lgao4 [Thu, 26 Nov 2009 01:33:07 +0000 (01:33 +0000)]
Add DxeSecurityManagementLib instance

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

13 years agoAdd new SecurityManagementLib, and update SecurityStub driver to use this lib.
lgao4 [Thu, 26 Nov 2009 01:31:48 +0000 (01:31 +0000)]
Add new SecurityManagementLib, and update SecurityStub driver to use this lib.

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

13 years agoApply GetFileBufferByFilePath API of DxeServicesLib to replace local CoreOpenImageFil...
lgao4 [Thu, 26 Nov 2009 01:08:36 +0000 (01:08 +0000)]
Apply GetFileBufferByFilePath API of DxeServicesLib to replace local CoreOpenImageFile function.

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

13 years agoAdd new GetFileBufferByFilePath API into DxeServicesLib.
lgao4 [Thu, 26 Nov 2009 00:44:07 +0000 (00:44 +0000)]
Add new GetFileBufferByFilePath API into DxeServicesLib.

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

13 years agoFix unicode issue.
xli24 [Wed, 25 Nov 2009 09:16:44 +0000 (09:16 +0000)]
Fix unicode issue.

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

13 years agoThunk driver producing PI Legacy Region 2 Protocol based on Framework Legacy Region...
xli24 [Wed, 25 Nov 2009 08:33:31 +0000 (08:33 +0000)]
Thunk driver producing PI Legacy Region 2 Protocol based on Framework Legacy Region Protocol.

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

13 years agoDummy implementation of Legacy Region 2 Protocol.
xli24 [Wed, 25 Nov 2009 08:31:37 +0000 (08:31 +0000)]
Dummy implementation of Legacy Region 2 Protocol.

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

13 years agoAdd checking for VolumeHandle, if VolumeHandle is NULL, return EFI_INVALID_PARAMETER
klu2 [Wed, 25 Nov 2009 06:26:03 +0000 (06:26 +0000)]
Add checking for VolumeHandle, if VolumeHandle is NULL, return EFI_INVALID_PARAMETER

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

13 years agoUse InitializeFloatingPointUnits() from UefiCpuLib to initialize floating point units...
qhuang8 [Wed, 25 Nov 2009 04:26:09 +0000 (04:26 +0000)]
Use InitializeFloatingPointUnits() from UefiCpuLib to initialize floating point units in SEC phase.

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

13 years agoIntroduce UefiCpuLib library class in UefiCpuPkg and add one instance of BaseUefiCpuL...
qhuang8 [Wed, 25 Nov 2009 04:25:02 +0000 (04:25 +0000)]
Introduce UefiCpuLib library class in UefiCpuPkg and add one instance of BaseUefiCpuLib. The major purpose of this library class / instance is to provide some routines that are generic for IA32 family CPU

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

13 years agoFix build failure of ShellPkg.
xli24 [Wed, 25 Nov 2009 04:09:42 +0000 (04:09 +0000)]
Fix build failure of ShellPkg.

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

13 years agoFixed the bug that not to stop PXE functionality when PXE meeting some failure. And...
vanjeff [Wed, 25 Nov 2009 01:36:54 +0000 (01:36 +0000)]
Fixed the bug that not to stop PXE functionality when PXE meeting some failure. And enhanced DriverBindingStop() to stop PXE functionality if PXE was still alive.

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

13 years agoFix a typo bug that miss &
klu2 [Tue, 24 Nov 2009 11:01:07 +0000 (11:01 +0000)]
Fix a typo bug that miss &

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

13 years agoExplicitly cast PCD_CALLBACK to EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK) to...
klu2 [Tue, 24 Nov 2009 08:09:58 +0000 (08:09 +0000)]
Explicitly cast PCD_CALLBACK to EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK) to avoid warning. PCD_CALLBACK in EDKII implementation is compatible with EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK.

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

13 years ago1, PeiPcdLib use EFI_PEI_PCD_PPI defined in PI 1.2 to handle dynamicEx type PCD request.
klu2 [Tue, 24 Nov 2009 03:29:57 +0000 (03:29 +0000)]
1, PeiPcdLib use EFI_PEI_PCD_PPI defined in PI 1.2 to handle dynamicEx type PCD request.
2, DxePcdLib use EFI_PCD_PROTOCOL defined in PI 1.2 to handle dynamicEx type PCD request.
3, There is no change for dynamic type PCD.
4, Refine the INF's comments.

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

13 years agoRefine comments for PCD PEIM/driver.
klu2 [Tue, 24 Nov 2009 03:00:41 +0000 (03:00 +0000)]
Refine comments for PCD PEIM/driver.

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

13 years agoClean up code.
klu2 [Tue, 24 Nov 2009 02:28:06 +0000 (02:28 +0000)]
Clean up code.

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

13 years agoMdePkg: Move duplicate EFI_AP_PROCEDURE typedef to a common location
jljusten [Mon, 23 Nov 2009 23:16:04 +0000 (23:16 +0000)]
MdePkg: Move duplicate EFI_AP_PROCEDURE typedef to a common location

EFI_AP_PROCEDURE was defined equivalently in two locations:
1. MdePkg/Include/Pi/PiSmmCis.h
2. MdePkg/Include/Protocol/MpService.h

This change moves the definition to a common file:
* MdePkg/Include/Pi/PiDxeCis.h

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

13 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9469 6f19259b...
jcarsey [Mon, 23 Nov 2009 22:21:58 +0000 (22:21 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9469 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1, Correct the PCD PEIM to produce gEfiPcdPpi and gPcdPpi at same time;
klu2 [Mon, 23 Nov 2009 07:52:09 +0000 (07:52 +0000)]
1, Correct the PCD PEIM to produce gEfiPcdPpi and gPcdPpi at same time;
2, Combine two action of InstallProtocolInstance for gEfiPcdProtocol and gPcdProtocol into InstallMultipleProtocolInstances.

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