summaryrefslogtreecommitdiff
path: root/MdePkg
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30Fix the comments in the core interface to follow the UEFI Spec regarding how ↵niruiyu7-18/+16
to check an EFI_HANDLE is valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11933 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28Clarify the requirements for the Destination parameter of UnicodeStrToAsciiStr.jcarsey2-1/+7
signed-off-by:jcarsey Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11917 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28Add new "ref5" opcode data structure and ref data type structure.ydong101-0/+14
Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11912 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-23Remove non-ASCII characters.niruiyu1-1/+1
Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11874 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-21Initialize data before using itydong102-1/+12
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11869 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-18Update the EFI_PCI_ADDRESS macro in PciRootBridgeIo.h to support PCI Express ↵rsun31-2/+8
extended registers. Signed-off-by: rsun3 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11848 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16Update prototype name of Get()/Set() to ↵lzeng141-9/+11
EFI_AUTHENTICATION_INFO_PROTOCOL_GET/ EFI_AUTHENTICATION_INFO_PROTOCOL_SET, remove star before ControllerHandle for Get()/Set() and add star before Buffer for Get(). Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11834 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16Correct ExtendedSize’s type to UINT32.lzeng141-1/+1
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-06-15For BaseLib IsNull() function , update retval value comment to match its ↵lgao42-6/+6
function description. Signed-off-by: lgao4 Reviewed-by: rni2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11825 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13Add ABS() macro (Absolute Value) to Base.h in MdePkgmdkinney1-2/+14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11818 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13Fix incorrect comments in SimpleFileSystem.h.niruiyu1-81/+130
Signed-off-by: niruiyu Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11814 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13Add the missing default definition of EFIAPI in Ia32/ProcessorBind.h.lgao41-7/+11
Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11813 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-10Add ESAL support libraries to MdePkgmdkinney24-2/+9871
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11784 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.niruiyu4-14/+64
Guarantee no memory corruption in an out of memory condition even in production builds. Signed-off-by: niruiyu Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11775 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08Add new "refresh event group" opcode.ydong101-0/+6
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11765 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08Add new "Modal form" opcode.ydong101-0/+5
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11763 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08String Reference Cleanup.lzeng1410-53/+52
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-01Add new definition for XHCI supporterictian1-1/+3
Signed-off-by: erictian Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11721 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-31Update the comments of InstallConfigurationTable to follow UEFI Spec.niruiyu1-1/+1
Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11715 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-26Fix ICC build break.lgao41-3/+9
Signed-off-by: lgao4 Reviewed-by: rsun3 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11704 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-24Update BasePrintLib to handle the unaligned GUID. lgao41-4/+4
Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11697 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-24Per PI 1.2 errata B spec, for SetMemoryAttributes() service of CPU ↵rsun31-1/+3
Architecture Protocol, EFI_INVALID_PARAMETER should be returned for cases: If Attributes specifies a combination of memory attributes that cannot be set together, then EFI_INVALID_PARAMETER is returned. For example, if both EFI_MEMORY_UC and EFI_MEMORY_WT are set. Signed-off-by: rsun3 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11694 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-23Add BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to ↵niruiyu4-8/+266
UefiScsiLib. Signed-off-by: niruiyu Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11691 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-23Add core SMBIOS 2.7.0 and 2.7.1 support.lzeng141-27/+134
Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11689 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20Add new definition used for new call back return type and new action type.ydong102-0/+10
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11687 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17Change the type of the IoData field of EFI_SMM_SAVE_STATE_IO_INFO from UINTN ↵rsun31-4/+2
to UINT64 to follow the PI spec. Signed-off-by: rsun3 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11673 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17According to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should ↵lzeng141-3/+2
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-16Add definition of SCAN_PAUSE for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.vanjeff1-0/+1
Signed-off-by: vanjeff Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11655 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-13add those missing device path nodes into the union structure of EFI_DEV_PATH ↵erictian1-71/+89
and EFI_DEV_PTR git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11645 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Fix DEC files so any PCD declared as Dynamic is also declared as DynamicExmdkinney1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11622 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Add new status code definition in PI 1.2 Errata B.li-elvin2-4/+84
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11616 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-041. Add definition for SSP(StorageSecurityCommand Protocol)hhuan132-1/+216
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11613 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-041.Move the definitions of SCAN_F11 and SCAN_F12 from SimpleTextIn.h to ↵vanjeff3-5/+8
SimpleTextInEx.h because they are defined in Table - EFI Scan Codes for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. 2.Include SimpleTextIn.h in SimpleTextInEx.h because EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL is an extension of the EFI_SIMPLE_TEXT_INPUT_PROTOCOL. 3.Include SimpleTextInEx.h in UefiSpec.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11612 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Add the definition of EFI_2_31_SYSTEM_TABLE_REVISION and update ↵vanjeff1-3/+4
EFI_SYSTEM_TABLE_REVISION & EFI_RUNTIME_SERVICES_REVISION & EFI_BOOT_SERVICES_REVISION to EFI_2_31_SYSTEM_TABLE_REVISION. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11610 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-03Add BlockIO2 Protocol definition.qianouyang1-0/+206
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11607 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-03Add BlockIO2 Protocol.qianouyang1-0/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11606 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-271. Change guid name from EFI_CERT_X509 to EFI_CERT_X509_GUID, per UEFI ↵vanjeff2-15/+64
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-20Add the correct GUID for EFI_IPSEC2_PROTOCOL.qianouyang1-1/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11575 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19Update the description of Loaded Image Protocol Unload function to follow ↵lgao41-5/+6
the UEFI2.3.1 Spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11560 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-14Update the comments for SizeofPartitionEntry field to follow the UEFI Spec.niruiyu1-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11543 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-29Typo for the old patch enhance code style. ydong101-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11446 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25Refine code to make code follow the coding style.ydong101-65/+74
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11419 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-17Add the missing LegacyBiosMpTable.h per MultiProcessor Specification.lgao41-0/+285
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11407 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-15Refine code to follow coding style.ydong102-6/+13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11400 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14Enhance inf to follow spec.ydong101-6/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11393 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI per ↵vanjeff1-4/+10
PI Spec, 1.2 Errata B. This was one incompatible change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11384 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney1-0/+1
adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add new DebugPrintErrorLevelLib instances to DSC files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11383 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11Update some progress codes name per the PI Spec, 1.2 Errata B. This was one ↵vanjeff1-4/+4
incompatible change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11380 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney11-28/+164
adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Define new DebugPrintErrorLevelLib that produces an API that DebugPrint() APIs in DebugLib implementations can use to retrieve the current mask for filtering DebugPrint() statements. 2) Add a BASE type implementation of the DebugPrintErrorLevelLib that directly accessed PcdDebugPrintErrorLevel to provide backward compatibility with the current EDK II DebugLib behavior. 3) Update description of the DebugPrint() API in the DebugLib to describe the new dependency on the DebugPrintErrorLevelLib that replaces the prior dependency in the PcdDebugPrintErrorLevel PCD. 4) Update the comments in BaseDebugLibNull to match (3). 5) Update BaseDebugLibSerialPort to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD. 6) Update UefiDebugLinConOut to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD. 7) Update UefiDebugLibStdErr to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11365 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Fixed typos per the PI Spec 1.2 Errata B.vanjeff4-9/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11361 6f19259b-4bc3-4df7-8a09-765794883524