Commit Graph

301 Commits

Author SHA1 Message Date
qwang12 166152e85c 0) Change the PEI core behavior to not install FV HOB for each FV INFO PPI installed. This allows more freedom to platform developer to choose to expose which FV to PEI core or DXE core.
1) Split MdePkg/Include/Library/PiLib.h to DxePiLib.h and PeiPiLib.h. These two library classes are for DXE phase and PEI phase.
2) Update the API names in DxePiLib and PeiPiLib to be longer ones to be more meaningfull and to avoid name collisions. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4067 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:08:22 +00:00
klu2 81c7803cf4 PI Enabling: the address of PeiServices Pointer should be
1) Set to preceding of IDT table in PeiCore's entry
2) Migrate to preceding of new memory IDT table when memory is discovery

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4059 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 08:16:53 +00:00
lgao4 d173d9c761 Correct ExtractGuidedSectionLib library instance for PEIM and DXE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4058 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 07:54:34 +00:00
qhuang8 d24236bfd9 Add Unicode Collation 2 protocol GUID value according to UEFI Spec 2.1b
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4048 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 03:10:06 +00:00
vprabhal 58867095ca created a new library instance with CpuSleep and CpuFlushTlb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4025 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:52:48 +00:00
vprabhal 1c4a7f9456 moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4024 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:52:01 +00:00
lgao4 0fa0015900 Add two ExtractGuidedSectionLib instance separately for Pei and Dxe module. Because Pei module may run in flash, they don't support to write global variable. We have to use GuidHob to store these global variables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4009 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 09:01:06 +00:00
lgao4 8910007ad2 Remove CustomDecompressLib, which has replaced by ExtractGuidedSection library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3983 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:53:36 +00:00
lgao4 18fd8d651d 1. Add ExtractGuidedSectionLib library to replace customdecompress library.
2. Add PeiDxeExtractGuidedSectionLib library instance and one PCD PcdMaximumGuidedExtractHandler in MdePkg.
3. Update DxeIpl and DxeMain to consume new library.
4. Update BaseUefiTianoCustomDecompressLib to register TianoDecomress extractguidedsection handler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3980 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:04:29 +00:00
vanjeff c62a593c90 1. Fixed one bug in ConPlatform.c, add NULL judgment.
2. Fixed one type in UgaDraw.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3976 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 02:57:38 +00:00
lgao4 3d7b0992fc 1. Replace PeCoffLoader library by PeCoff lib for PeiCore, DxeIpl and DxeMain.
2. Add three PeCoff library instances for NT32 PeImage load.
3. Update PeCoffGetEntryPointLib to support TeImage.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3965 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:14:30 +00:00
qhuang8 ab2abe4ccc Fix one iScsi device path definition update to Uefi Spec 2.1b.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3924 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 06:52:57 +00:00
klu2 b0d803fe3e Merge branch of PI tree to main trunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3918 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 11:38:43 +00:00
vanjeff f6203b7192 Updated EFI_MANAGED_NETWORK_PROTOCOL_GUID value according to UEFI 2.1b.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3917 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 07:59:36 +00:00
qhuang8 6336a895f6 Fix one minor comment issue in last check-in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3916 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 07:08:18 +00:00
qhuang8 98a14db6f2 Update DevicePathLib to reflect the update of UEFI device utility protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3914 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 06:54:04 +00:00
qhuang8 c7a54f2560 Fix invalid return status to sync with newest UEFI spec 2.1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3900 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 09:59:05 +00:00
klu2 c0ee02af6b Remove OldPeiCoreEntryPoint library instance from MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3871 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 04:03:19 +00:00
qhuang8 f662c19489 1. Add EfiLibInstallDriverBindingComponentName2() to install DriverBinding Protocol and optional ComponentName Protocol and ComponentName2 Protocol. This new API should cover most cases in our UEFI drivers.
2. Refine the function headers for this driver model APIs

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3862 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:39:25 +00:00
qhuang8 90374bc8fd Add Hardware Error Variable defined in UEFI 2.1 spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3861 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:36:56 +00:00
klu2 c6f4d4c97f Upgrade the format of EFI_PEIM_ENTRY_POINT to EFI_PEIM_ENTRY_POINT2 according to PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3784 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-07 03:51:54 +00:00
xli24 22142dbf7d Roll back the change made in rev.3778, which is a temporary fix for the issue that Tiger could not boot to OS with revision Edk2-r3776_R9-r2666. Now the root cause has been located and fixed, so it should be rolled back.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3783 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-06 05:23:05 +00:00
xli24 44a2c2dd00 Temporarily fix the issue that Tiger cannot boot to OS. Change the GUID of FirmwareVolume2 Protocol, to be the GUID of FirmwareVolume Protocol to provide compatibility for OS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3778 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-05 09:27:56 +00:00
qwang12 1c280088ec Merge the PI enabling works from the branch
First round of PI enabling work:
1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc)
2) Make use of FirmwareVolume 2 protocol.
3) Verified for Nt32Pkg and real platform for S3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3772 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:11:47 +00:00
klu2 5528573c45 Fix non-Ascii character in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3735 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 02:53:08 +00:00
vanjeff d01c093a58 1. Sync Tcp4 protocol definitions to match UEFI 2.1
2. Clean up codes.
3. Remove struct definition content for big-endian, because UEFI 2.1 declare only little-endian supported.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3714 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 07:02:05 +00:00
qwang12 f490a61d79 Make MdePkg GCC clean
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3710 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 03:02:57 +00:00
mdkinney 809177f5e9 Add #defines for the SAL System Table entry sizes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3705 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 03:45:32 +00:00
qwang12 07ad9b81e3 Add in BuildFv2Hob in HobLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3693 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 06:22:53 +00:00
qwang12 d3a58e2ddf Update the code to match spec for EfiFvbSetVolumeAttributes API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3690 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 09:33:34 +00:00
yshang1 8fe4875174 Update the comments of PiDxe.h, PiPei.h and Uefi.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3688 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 08:45:48 +00:00
mdkinney 66fa2bde56 Remove MDT from SAL.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3645 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 22:27:42 +00:00
yshang1 cdebf6c68a 1) Add type casting for argument "a" in EFI_ERROR(a), since if compare two constants without specify data type, compiler maybe could not understand what is the actual data type of constant. The default would treat it as unsigned data. therefore, if the argument a of EFI_ERROR(a) is constant, for instance the EFI_LOAD_ERROR, the EFI_ERROR(a) would always be FALSE.
2) Remove PcdDriverPcdLibNull.
3) Add more ASSERT() in BasePcdLibNull to detect the incorrect usage of Pcd Library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3643 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 06:17:29 +00:00
qwang12 be5b2ad58b gEfiCallerIdGuid is defined in Autogen.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3638 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 10:13:17 +00:00
lgao4 d35be2a434 Sync code with MdePkg spec for Scsi library class and CustomDecompress library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3636 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 07:58:32 +00:00
klu2 1c9d209fc4 Add missing definition EFI_PEIM_ENTRY_POINT to IntelFrameworkPkg and rename original to EFI_PEIM_ENTRY_POINT2 to follow PI definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3629 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 17:47:57 +00:00
yshang1 98d80c1807 Fix bug in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3617 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 03:05:31 +00:00
klu2 d8dcb6669b 1) Move the structure definitions related GUID EFI_STATUS_CODE_SPECIFIC_DATA_GUID and EFI_STATUS_CODE_DATA_TYPE_STRING_GUID from IntelFrameworkPkg\Framework/StatusCodeDataTypeId.h to IntelFrameworkPkg\Guid/StatusCodeDataTypeId.h
2) Remove IntelFrameworkPkg/Framework/StatusCodeDataTypeId.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3612 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 09:50:06 +00:00
yshang1 f4118ff0a5 fixed Typo in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3599 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 05:09:38 +00:00
lgao4 98a1fa1f34 Correct parameter UINTN to UINT32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3576 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 15:21:11 +00:00
lgao4 d8c79a815f Update CustomDecompress library to support algorithm guid and Update DxeIpl and DxeCore to support custom decompress guid section parse.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3573 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 10:17:57 +00:00
qwang12 fe8e4eb01c remove EFI_ACPI_30_TABLE_GUID and gEfiAcpi30TableGuid which is not defined in any of these specs: EFI 1.10, UEFI 2.0, UEFI 2.1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3554 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 08:17:03 +00:00
qwang12 8ad603fe68 remove the two unnecessary CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3552 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 07:46:11 +00:00
AJFISH 4bb89f14bd Updated to reflect spec ECRs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3522 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 16:01:02 +00:00
AJFISH 95cba3ee15 Added UEFI Boot Manager definitions to UEFISpec.h and removed from BDS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3515 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 15:52:44 +00:00
qwang12 b25e8149f5 add in <Guid/PcAnsi.h>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3514 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 12:38:05 +00:00
qwang12 f178734977 add EFIAPI to the library functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3495 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 07:54:23 +00:00
yshang1 26167ad7fb Clean the Bis.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3450 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 07:17:02 +00:00
AJFISH d44d2087c5 EFI_FV_FILETYPE_ALL missing from PI specification. Will be added in an errata as its referenced, but not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3443 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 23:51:08 +00:00
yshang1 ef4fa1a415 Update the definition of PEI_SERVICES_REVISION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3418 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 09:05:24 +00:00