summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Pi
AgeCommit message (Collapse)Author
2015-08-24MdePkg: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2Star Zeng
for FFS data above 16 bytes alignment requirement. PI spec requires FFS header to be at 8 bytes alignment to FV header. And, FFS data alignment requires the beginning of the file data must be aligned on a particular boundary, such as 1, 16, 128 bytes or above. If FFS data alignment requires to be above 16 bytes, and FFS header must be at 8 byte alignment, so FFS header size must be multiple of 8. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18263 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-15MdePkg: Fix PI Multi-processor PPI header file include issueHao Wu
Multi-processor PPI header file 'Ppi/Mpservices.h' uses a function prototype EFI_AP_PROCEDURE which is defined in 'Pi/PiDxeCis.h' (DXE header file). This will cause a build fail when 'Ppi/Mpservices.h' is included in a PEI module. Since both phase support multi-processor service now, function prototype EFI_AP_PROCEDURE should be moved to 'Pi/PiMultiPhase.h'. The move is a compatible change and will not affect other codes. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17450 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-11MdePkg: Add memory more reliable definitions.Star Zeng
PiHob.h: EFI_RESOURCE_ATTRIBUTE_MORE_RELIABLE resource attribute. PiDxeCis: EfiGcdMemoryTypeMoreReliable GCD memory type. UefiSpec.h: EFI_MEMORY_MORE_RELIABLE memory attribute. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17399 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-11MdePkg: Add RO memory and resource HOB attribute definitions.Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17396 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-11MdePkg: Update comments of EFI_PEI_ALLOCATE_PAGES to allow ↵Star Zeng
EfiReservedMemoryType. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17393 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-11MdePkg: Add Reset2 ppi definition.Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17388 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-07MdePkg/PiSmmCis.h: SMM register protocol notify function clarifyJeff Fan
PI 1.4 clarified SMM register protocol notify function return status as below: EFI_SUCCESS Successfully returned the registration record that has been added or unhooked EFI_INVALID_PARAMETER Protocol is NULL or Registration is NULL Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17348 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-06MdePkg: Modify specification number encodingHao Wu
Change the PEI, DXE, and SMM service table revisions to 1.4. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17322 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-29MdePkg: Add UEFI2.5 and PI1.4 PersistentMemory definitionLiming Gao
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17241 6f19259b-4bc3-4df7-8a09-765794883524
2014-11-20MdePkg/MdeModulePkg: Implement the missing SetMemorySpaceCapabilities function.Eugene Cohen
It is defined in the PI Specification version 1.3. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eugene Cohen <eugene@hp.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16409 6f19259b-4bc3-4df7-8a09-765794883524
2014-10-22[MdePkg] Code clean-up: Remove trailing spacesLee Leahy
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16223 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-20Update revisions for PI1.3.Shumin Qiu
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14868 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-20MdePkg and MdeModulePkg Pcd: Add the new EFI_GET_PCD_INFO_PROTOCOL and ↵Star Zeng
EFI_GET_PCD_INFO_PPI support for PI 1.2.1 compliance. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14866 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-05Support unhook notification function for Smst->SmmRegisterProtocolNotify() ↵Jeff Fan
per PI specification. Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14823 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-111. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in ↵Star Zeng
DXE using the Security Arch Protocol 2. Add support to find section by instance rather than only 0 at PEI phase. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14763 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-16MdeModulePkg: Add support for weakly aligned FVs.Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14671 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-14Add I2C related definition in PI 1.3 spec.Elvin Li
Signed-off-by: Elvin Li <elvin.li@intel.com> Reviewed-by: Leahy Leroy P <leroy.p.leahy@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14548 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-09Add new adding ATA related status code in PI 1.3 to definition and ATA modules.Elvin Li
Signed-off-by: Elvin Li <elvin.li@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14535 6f19259b-4bc3-4df7-8a09-765794883524
2012-12-17Add boot mode BOOT_WITH_MFG_MODE_SETTINGS.lgao4
Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14004 6f19259b-4bc3-4df7-8a09-765794883524
2012-08-21MdePkg PiSmmCis.h: clarify the meaning of NumberOfCpus per PI spec version ↵rsun3
1.2.1. Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Tian Hot <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13654 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-31Change returned status codes for SmiManage() per PI 1.2.1 spec.rsun3
Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Fan Jeff <jeff.fan@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13394 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-15MdePkg: Per PI 1.2 Errata C, update the function description of ↵rsun3
SetMemorySpaceAttributes() DXE Service to add a new returned status code EFI_NOT_AVAILABLE_YET. Signed-off-by: rsun3 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12870 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-18According to PI errata 0000718 and PI 1.2c Vol 3 3.2.1, comment out "Types" ↵lzeng14
for EFI_FIRMWARE_VOLUME_EXT_ENTRY_OEM_TYPE structure and "Data" for EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE structure. Signed-off-by: lzeng14 Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12737 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-17Update PI Service Table Versions per PI 1.2 Errata C.rsun3
Signed-off-by: rsun3 Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12729 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-16UEFI231 spec compliance:jyao1
UEFI231 defines EFI_SMM_COMMUNICATION_ACPI_TABLE. We should move it from Pi/ dir to Uefi/ dir. UEFI231 defines EFI_SMM_COMMUNICATE_HEADER. We should move it from Protocol/SmmCommunication.h to Uefi/ dir. The original file will still include the new data structure to keep compatibility. signed-off-by: jyao1 reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12724 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15According to PI 1.2c Vol 3, EFI_FVB2_ALIGNMNET_512K should be ↵lzeng14
EFI_FVB2_ALIGNMENT_512K. Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12710 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15Remove code comments since PI 1.2c has fixed the typo of some status code name.vanjeff
Signed-off-by: vanjeff Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12702 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-27Add core FFS3 support, ↵lzeng14
ExtractGuidedSectionLib/GuidedSectionExtractionLib/PiFirmwareFile.h. Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12582 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-18Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B. vanjeff
Signed-off-by: vanjeff Reviewed-by: rsun3 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12156 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16Correct ExtendedSize’s type to UINT32.lzeng14
Signed-off-by: lzeng14 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11833 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17According to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should ↵lzeng14
be 8-bit checksum of the file data, not the entire file, correct the comments. Signed-off-by: lzeng14 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11672 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Add new status code definition in PI 1.2 Errata B.li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11616 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11Update some progress codes name per the PI Spec, 1.2 Errata B. This was one ↵vanjeff
incompatible change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11380 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and ↵rsun3
the SMM Communication ACPI Table defined in the PI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11330 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12Add new FV extension type 0x0002 and its related structure per PI1.2B.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11304 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08add note for EFI_SW_PEI_EC_INVALID_CAPSULE_DESCRIPTOR and ↵vanjeff
EFI_SW_PEI_PC_RECOVERY_BEGIN to express they are different with the current PI specification 1.2. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11134 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08updated progress code definitions to match PI Spec 1.2.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11133 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06Roll back comment change for SOR. SOR does not apply to SMM.mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11126 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01Update comments for PI 1.2 SMM support.mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11110 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10403 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12Grammatical and disclaimer changes (does not follow internal C coding stds.)myronporter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10235 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01Remove comments about in-consistency between code and UEFI/PI spec because ↵rsun3
UEFI 2.3 Errata B and PI 1.2 Errata A spec were published. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10143 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28Add the fixed checksum value 0xAA of FFS header according to the latest PI spec.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10124 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26Correct description for return status code of PEI service AllocatePages(), ↵xli24
according to PI 1.2 errata A. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10111 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26Move EFI_SMRAM_DESCRIPTOR into PiMultiPhase.h. Since the top level includes ↵hhuan13
in the other packages all include PiPei.h or PiDxe.h, and PiPei.h and PiDxe.h both include PiuMultiPhase.h, EFI_SMRAM_DESCRIPTOR will be declared for SMM Access 2 Protocol and the SmramMemoryReserve GUIDed HOB. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10105 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21Correct the table's version according to PI/UEFI spec.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10033 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14Change SMM CPU I/O to SMM CPU I/O 2mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9735 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25replaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSEDvanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9615 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11Add missing definition of "EFI_PEI_DESCRIPTOR" in PI spec.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9550 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-04Prompt the PI specification version to 1.20 and UEFI specification version ↵klu2
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