Commit Graph

9743 Commits

Author SHA1 Message Date
jcarsey 99c55b5c93 correct value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9507 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-02 16:36:57 +00:00
lgao4 e191bb1430 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
2009-12-02 10:13:24 +00:00
davidhuang f981c39b38 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
2009-12-02 07:05:21 +00:00
jcarsey 5cb3637f0f remove extra variables
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9504 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-02 02:47:19 +00:00
lgao4 95dd343a4b 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
2009-12-01 10:29:39 +00:00
lgao4 a13df02ed5 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
2009-12-01 10:15:43 +00:00
jcarsey 02864f591e 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
2009-12-01 05:45:51 +00:00
jcarsey a5bd42b97d corrected out of date comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9500 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-01 05:41:00 +00:00
jcarsey e2f8297f9c 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
2009-12-01 05:40:24 +00:00
jcarsey ad5ecf12d2 typo in comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9498 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-01 00:22:46 +00:00
xli24 2aa76eacfd 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
2009-11-30 07:59:07 +00:00
qhuang8 86973faa31 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
2009-11-30 06:28:42 +00:00
klu2 0d34b1cfc7 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
2009-11-27 04:05:25 +00:00
klu2 595d4b4c24 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
2009-11-27 02:38:32 +00:00
lgao4 350cefd392 Fix GCC build error!
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9493 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-27 01:21:23 +00:00
rsun3 cbf73e5030 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
2009-11-26 09:26:42 +00:00
jchen20 4ac7f45373 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
2009-11-26 05:31:49 +00:00
jchen20 8c803876e3 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
2009-11-26 05:24:31 +00:00
lgao4 8273af4ea1 Add DxeSecurityManagementLib instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9489 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 01:33:07 +00:00
lgao4 cd98f30502 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
2009-11-26 01:31:48 +00:00
lgao4 7748df3da9 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
2009-11-26 01:08:36 +00:00
lgao4 847166140a Add new GetFileBufferByFilePath API into DxeServicesLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9486 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 00:44:07 +00:00
xli24 2474e48aa7 Fix unicode issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9485 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-25 09:16:44 +00:00
xli24 650efd74fc 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
2009-11-25 08:33:31 +00:00
xli24 2719803b69 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
2009-11-25 08:31:37 +00:00
klu2 3e4c5b49e4 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
2009-11-25 06:26:03 +00:00
qhuang8 284af948b6 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
2009-11-25 04:26:09 +00:00
qhuang8 989322c384 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
2009-11-25 04:25:02 +00:00
xli24 77882e266e Fix build failure of ShellPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9479 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-25 04:09:42 +00:00
vanjeff 8f8bfa5b85 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
2009-11-25 01:36:54 +00:00
klu2 441ff98cba Fix a typo bug that miss &
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9475 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-24 11:01:07 +00:00
klu2 0c561f4175 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
2009-11-24 08:09:58 +00:00
klu2 ec735bb205 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
2009-11-24 03:29:57 +00:00
klu2 6c74c5383a Refine comments for PCD PEIM/driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9472 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-24 03:00:41 +00:00
klu2 17e7fa8fb1 Clean up code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9471 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-24 02:28:06 +00:00
jljusten a32c6dcf3e 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
2009-11-23 23:16:04 +00:00
jcarsey 1e4506f2cc git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9469 6f19259b-4bc3-4df7-8a09-765794883524 2009-11-23 22:21:58 +00:00
klu2 8a541f0a71 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
2009-11-23 07:52:09 +00:00
qhuang8 7bbae07531 Simplify the @attention statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9467 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-23 01:50:52 +00:00
qhuang8 e3f903d547 Minor update the comments style for LegacyRegion2 protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9466 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-23 01:48:49 +00:00
jcarsey 703289677a add carriage return
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9465 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-23 00:28:07 +00:00
mdkinney cbca8de588 1) Add new BaseLib API GetPreviousNode()
2) Clarify comment for the value returned from GetNextNode() if the end of list is reached.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9464 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-21 21:57:11 +00:00
mdkinney e1da91ad12 Add reserved field to SAL_UPDATE_PAL_DATA_BLOCK so it is padded out to 64-bytes to match the SAL Specification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9463 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 23:31:52 +00:00
jljusten 5d967a7fba Protocol/SmmCpuIo.h: Fix build warning on GCC
A new type was not being defined, so the typedef was unneccesary.
GCC warning: "useless storage class specifier in empty declaration"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9462 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 22:16:14 +00:00
jcarsey 36a9d67261 build break fix and new function
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9461 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 21:13:41 +00:00
jcarsey a31bd33cf8 comment repairs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9460 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 18:21:03 +00:00
qhuang8 23bb88ecb5 Add LegacyRegion 2 protocol definition in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9459 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 05:38:28 +00:00
davidhuang aaa2cc19dd 1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9458 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 04:02:34 +00:00
davidhuang 1fdd39d371 1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9457 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 04:02:03 +00:00
davidhuang 310b04e6f1 1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9456 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 04:01:32 +00:00