Commit Graph

74 Commits

Author SHA1 Message Date
myronporter af2dc6a70b Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10235 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 22:19:12 +00:00
rsun3 7942fd2a65 Remove comments about in-consistency between code and UEFI/PI spec because 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-03-01 08:03:46 +00:00
lgao4 2bf0d83532 Add the fixed checksum value 0xAA of FFS header according to the latest PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10124 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28 23:53:41 +00:00
xli24 ded5aa23eb Correct description for return status code of PEI service AllocatePages(), 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-26 09:16:55 +00:00
hhuan13 79a42176c6 Move EFI_SMRAM_DESCRIPTOR into PiMultiPhase.h. Since the top level includes 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-26 06:09:57 +00:00
klu2 450ec0ed87 Correct the table's version according to PI/UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10033 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21 03:31:44 +00:00
mdkinney 8fc71decbe Change SMM CPU I/O to SMM CPU I/O 2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9735 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:20:04 +00:00
vanjeff e8ade0efd0 replaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9615 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 08:10:56 +00:00
qhuang8 8546d5a694 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
2009-12-11 01:08:51 +00:00
klu2 c6204371fd 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
2009-12-04 03:10:28 +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
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
rsun3 a2bb197e80 Rename PI SMM definitions which has same name with those of Framework SMM spec but with different content (Note these renamings are not yet in public PI spec or errata now); Remove common definitions shared between PI and Framework Spec from include files for Framework SMM Spec, and change includes files for Framework SMM Spec to include PI SMM include files. The goal is to allow a module include both PI and Framework SMM definitions without conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9453 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 03:21:02 +00:00
xli24 5a9403b8f3 Following 3 updates are for spec update published in PI 1.2.
1. Rename EFI_PEI_NEXT_VARIABLE_NAME2 to EFI_PEI_GET_NEXT_VARIABLE_NAME2, as PI 1.2 specifies.
2. Add return status description for PEI Service FfsGetVolumeInfo.
3. Update parameter description for EFI_PEI_READ_ONLY_VARIABLE2_PPI.NextVariableName().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9438 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 15:00:28 +00:00
rsun3 92f0867613 typedef
VOID
(EFIAPI *EFI_AP_PROCEDURE) (
  IN  VOID                              *Buffer
  );
Buffer should be IN, OUT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9430 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-16 06:25:05 +00:00
rsun3 04c5d169fc Add into MdePkg the common definitions in the Platform Initialization Specification version 1.2 VOLUME 4 System Management Mode Core Interface version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9211 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 02:47:57 +00:00
rsun3 95ba3c4150 Add new FFS file types defined for SMM introduced since PI 1.1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9172 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21 05:13:43 +00:00
klu2 3d4d4cfaa0 Add related definitions support large file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9151 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 07:24:36 +00:00
klu2 b85de87efc Add missing status code definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9147 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 05:51:01 +00:00
klu2 b2057cc911 Add computing Unit Chipset Subclass Progress Code definitions from PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9146 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 04:45:08 +00:00
qhuang8 2f54e77d63 Add missing EFI_HOB_TYPE_UEFI_CAPSULE value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9132 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-19 09:29:09 +00:00
qhuang8 176648481e Remove some non-ascii code in header file and fix some minor typos in comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9129 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-19 09:08:27 +00:00
klu2 73d622ed16 Add EFI_DISPOSABLE_SECTION type defined in PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9122 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-19 06:04:05 +00:00
klu2 9e8485c558 Add EFI_HOB_UEFI_CAPSULE type defined in PI 1.2 volume 3.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9092 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18 08:21:07 +00:00
mdkinney b205f267d6 Move those status code definitions that exactly match the PI 1.2 Specification from the IntelFrameworkPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8988 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 03:26:30 +00:00
jchen20 32d4a8efb9 to fill the gap between PI1.0 and code to fix the bug #202435
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8818 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 09:39:49 +00:00
lgao4 d7dfd027aa 1. Clean up MdePkg internal header files
The header files in MdePkg/Include/Ia32, X64, Ipf, Ebc, Pi, Uefi directories are the internal header files, which should not be directly included by the modules.

This patch cleans these internal header files to remove the uncessary ProcessorBind.h file.

2. Clean up MdePkg public header files to remove the uncessary internal header files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8324 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 09:13:49 +00:00
qhuang8 0763673064 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7055 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:33:49 +00:00
lgao4 1bf793701b Add comments for enumeration, structure data members those are referred by UefiService, Runtime Service, Dxe Service and Pei Service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6974 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 08:22:03 +00:00
lgao4 9319d2c206 Add comments for most of enum data type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6924 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 14:48:27 +00:00
qhuang8 242942b20f De-Unicode
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6347 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:59:35 +00:00
xli24 0047820e1b Refine version info in MDE file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6275 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 13:04:40 +00:00
xli24 44717a398f Formalize comments for Protocols and PPIs.
1. Use doxygen format for Protocol/PPI data structure
2. Remove doxygen comments for function elements in Protocol/Ppi
3. Use doxygen format for data elements in Protocol/Ppi, and add missing comments where necessary
4. PEI Services Table is also updated accordingly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6107 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-13 02:54:29 +00:00
xli24 c7c308ad48 Refine code for PiPeiCis.h according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5950 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-23 07:52:06 +00:00
vanjeff e31c47b99a fixed typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5855 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 03:19:37 +00:00
xli24 4b503a775e Minor update for PI include files according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5839 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 07:55:40 +00:00
vanjeff ed66e1bc0d clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +00:00
vanjeff 7b1bf9f61b added additional comments and fixed some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5810 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 06:16:14 +00:00
vanjeff 4ba967e79a 1.Updated EFI_FVB_ATTRIBUTES to EFI_FVB_ATTRIBUTES_2 to follow PI spec.
2.Changed parameter FvHeader into DriverName to follow PI spec.
3.Updated DXE services functions header to follow PI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5796 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:34:34 +00:00
klu2 fb5148a0d8 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5650 6f19259b-4bc3-4df7-8a09-765794883524 2008-08-14 04:30:49 +00:00
yshang1 373b5cf97c Code Scrub the common includes in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5493 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 06:31:22 +00:00
klu2 dc53faa3a2 Fix doxygen issue:
1) comment for structure should be in doxygen format, such as /// , /**, /*!
2) comment for data field of structure should in doxygen format.
3) should not exist blank between ") (" when declaring a type of function point.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5363 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 04:37:24 +00:00
klu2 6de794cd4a Fix issue broken doxygen parsing. The issue is that when declaring a function pointer type, the "(" for parameter should follows ")" of function type name without any blank, for example:
Bad: "typedef EFI_STATUS (EFIAPI name) (parameter list)"
GOOD: "typedef EFI_STATUS (EFIAPI name)(parameter list)"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5362 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 04:01:35 +00:00
qhuang8 ac64461468 De-unicode in comment for all source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5302 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:24:01 +00:00
klu2 0b3cac32f3 Fix missing include file which break doxygen parsing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5103 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 06:56:45 +00:00
yshang1 c311f86b23 [Description]
Scrub MdePkg:
  - Add file description with doxygen format.
  - Add calling convention of library class in MdePkg.
  - Add function descriptions of public protocol/library class.

[Impaction]
  It should be backward-compatible.

[Ref Info]
  N/A
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4985 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 04:56:34 +00:00
klu2 797a9d6791 MdeModule cleanup for PI:
1) PeiMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
2) DxeMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
   - Do not produce SectionExtraction protocol which is belong to IntelFramework specification.
   - Update many macro for PI specifications.
3) DxeIpl
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
4) Add SectionExtractionDxe module (IntelFrameworkModulePkg)
   - This module will produce EFI_SECTION_EXTRACTION_PROTOCOL defined in framework specification. If a old platform want to use this protocol, then this platform need dispatch this DXE driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4376 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:47:56 +00:00
qwang12 67c89a2127 Fix up the comment for several functions and make sure the IN and OUT modifier of the function parameter is correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4301 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-18 16:01:09 +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
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