Commit Graph

62 Commits

Author SHA1 Message Date
czhang46 566771b0a7 Enable UEFI firmware to support FMP capsule format.
signed-off-by : Chao Zhang <chao.b.zhang@intel.com>
reviewed-by   : Gao Liming <liming.gao@intel.com>
reviewed-by   : Yao Jiewen <Jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14773 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-15 01:31:49 +00:00
Shumin Qiu cb1366a8c4 Remove the non-ASCII characters in the comments of StatusCodeDataTypeId
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@14679 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-17 00:33:25 +00:00
Shumin Qiu 82ea59a012 Add definition for EFI_FIRMWARE_CONTENTS_SIGNED_GUID.
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@14669 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-16 01:30:39 +00:00
Shumin Qiu 6ce5535709 Update status code data structures according errata.
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@14609 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-29 05:37:52 +00:00
Star Zeng 6675a21f14 MdePkg/MdeModulePkg/SecurityPkg Variable: Forbid creation of non-spec variables in EFI_GLOBAL_VARIABLE namespace.
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@14560 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-19 05:16:45 +00:00
vanjeff cca77f45cc MedPkg: Fix EFI_ERROR_SECTION_DESCRIPTOR definition in CPER to match UEFI 2.3.1 specification.
Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com
Reviewed-by: Jeff Fan <jeff.fan@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14213 6f19259b-4bc3-4df7-8a09-765794883524
2013-03-20 06:43:17 +00:00
jyao1 46ece1ff4f Add PI1.2.1 EndOfDxe support.
Signed-off-by: jiewen.yao@intel.com
Reviewed-by: michael.d.kinney@intel.com

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14009 6f19259b-4bc3-4df7-8a09-765794883524
2012-12-18 05:07:35 +00:00
lgao4 669cfc6740 Correct MACOR EFI_ERROR_RECORD_SIGNATURE_START definition in MdePkg.
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@13955 6f19259b-4bc3-4df7-8a09-765794883524
2012-11-20 07:00:16 +00:00
lgao4 73a324f801 Fix comment typo to use UEFI spec defined WIN_CERT_TYPE_EFI_GUID.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Guo Dong <dong.guo@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13893 6f19259b-4bc3-4df7-8a09-765794883524
2012-10-30 08:27:44 +00:00
lgao4 6048a5b01b Update comments to corrects SignatureSize for each SignatureType.
Signed-off-by: lgao4
Reviewed-by: vanjeff


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12488 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-30 05:52:13 +00:00
vanjeff f85e38bf89 Add the definitions of Common Platform Error Record (defined in Appendix N Common Platform Error Record, UEFI 2.3.1).
Signed-off-by: vanjeff
Reviewed-by: lgao4





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12487 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-30 02:28:19 +00:00
hhuan13 ab0eecec6e 1. Add Uefi231 secure boot related definitions
Signed-off-by: hhuan13
Reviewed-by: tye, qlong

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12143 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-16 07:16:02 +00:00
lzeng14 05c82e51e1 GUIDs should go below the correct comment block in MdePkg.dec.
Signed-off-by: lzeng14
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12051 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-27 08:19:30 +00:00
li-elvin 31c21fd3d2 Add new status code definition in PI 1.2 Errata B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11616 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 03:19:25 +00:00
vanjeff f704fc850d 1. Change guid name from EFI_CERT_X509 to EFI_CERT_X509_GUID, per UEFI Specification. 2.3.1.
2. Add the declaration for EFI_CERT_SHA224_GUID, EFI_CERT_SHA384_GUID and EFI_CERT_SHA512_GUID.
3. Update GUIDs description per UEFI Specification, 2.3.1.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11592 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27 02:41:10 +00:00
vanjeff d12c6a5485 Updated the GUID name to follow PI Spec, 1.2 Errata B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11358 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 01:20:15 +00:00
lgao4 ad0ecbcf79 Per PI spec, StatusCode related structure is not required to be defined as packed byte. So, StatusCode related structures are updated from packed to unpacked.
Notes:
1. This patch is an incompatible change for the binary image built based on previous EDKII code. But, it is a compatible change for source.
2. This change will make StatusCode related definition in MdePkg to align the one defined in EcpPkg. Then, EDK driver based on EcpPkg can work together EDKII core.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11316 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16 01:25:56 +00:00
hhtian 9df063a06a Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10403 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:46:20 +00:00
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
lgao4 a1e98f78be According to the latest UEFI 2.3 errata B, the following changes are made:
1.EFI_IMAGE_EXECUTION_INFO structure.Signature field.
2.HiiConfigAccess.ExtractConfig function comments
3.HiiConfigRouting.ExtractConfig, BlockToConfig and GetAltConfig function comments.
4.Remove not in public UEFI spec comments.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10113 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 09:27:59 +00:00
davidhuang b7c5912af1 PI 1.1 SMM Feature Check-in
1. Add SmmServicesTableLib library class/instance.
2. Add SmmIoLibCpuIo/SmmPciLibPciRootBridgeIo library instance.
3. Update some library INF to support SMM_CORE module type.
4. Update dec/dsc to include new modules.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9590 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:44:33 +00:00
lgao4 3f27582684 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
2009-12-07 03:04:34 +00:00
eric_tian fbf926add9 sync comments on data structure to follow latest UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9309 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 08:56:33 +00:00
qhuang8 60bd4ccd45 Remove tabs in MdePkg source code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9302 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 02:49:53 +00:00
lgao4 0cd118f779 1. Add new HII IFR opcode introduced in UEFI2.2 and UEFI2.3
They are EFI_IFR_FORM_MAP, EFI_IFR_READ, EFI_IFR_WRITE,  EFI_IFR_GET, EFI_IFR_SET, EFI_IFR_MAP, EFI_IFR_SECURITY.
2. Add new data type introduced in UEFI2.2 and UEFI2.3
EFI_IFR_TYPE_ACTION, EFI_IFR_TYPE_UNDEFINED, 
EFI_IFR_TYPE_BUFFER.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9261 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:41:01 +00:00
lgao4 bd86cb0292 1. Add TCG MOR (Memory Overwrite request) definition from TCG Platform Reset Attack Mitigation Specification.pdf.
2. Add WIN certificate definition from 2.3.
3. Add the signed Image verification definition from UEFI 2.3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9226 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 09:23:28 +00:00
klu2 ff68065a57 Add gEfiFirmwareFileSystem3Guid GUID definition from PI 1.2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9148 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 06:19:59 +00:00
lgao4 d1eff2f528 Remove unrecognized characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9008 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 01:42:36 +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
mdkinney e412c7c88f Remove "Module Name:" from include file headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8895 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 16:05:53 +00:00
pkandel 1a2f870c9b Second set of changes based on a review of the code comments in the Include directory for typos, grammar issues, and language clarity.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8467 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 16:16:15 +00:00
lgao4 c2ace45e06 Add UEFI2.1d HiiPlatformSetupFormset Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8097 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 02:57:28 +00:00
vanjeff 33b30a1e4a remove some internal definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7881 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 13:23:13 +00:00
vanjeff 9dca4c66c2 comments update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7840 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:05:14 +00:00
lgao4 1e42ac79f2 Add MdePkgTokenSpace Guid header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7495 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 14:31:57 +00:00
qhuang8 373ade0eb6 Update copyright for files modified in this year
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7148 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 14:07:07 +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 992f22b99a Add the detailed descriptions for the structure data member in these protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6935 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 14:04:41 +00:00
lgao4 25cfda03f6 Remove undefined comments for status PCD.
Add comments for DebugImageInfoTable, FileInfo, FileSystemInfo and FileSystemVolumeLabelInfo Guid structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6914 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 03:24:04 +00:00
lgao4 14996c9669 Correct Minor Comments in M3 to M4 review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6842 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 08:35:07 +00:00
vanjeff 2358368cb2 remove definition not defined by UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6681 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 13:41:15 +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
klu2 55d473ba15 Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5643 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:54:46 +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
qhuang8 8a7d75b062 Clean up: update "EFI" to "UEFI" if applicable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 06:00:39 +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
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
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
yshang1 fd21d1aa2e Clean up the MdePkg.dec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3393 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 13:46:48 +00:00
yshang1 981a648dbb Add enumeration EfiResetUpdate of EFI_RESET_TYPE, which is introduced in UEFI2.0/UEFI2.1 without value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3160 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 09:25:08 +00:00