summaryrefslogtreecommitdiffstats
path: root/MdePkg
Commit message (Collapse)AuthorAgeFilesLines
* MedPkg: Fix EFI_ERROR_SECTION_DESCRIPTOR definition in CPER to match UEFI ↵vanjeff2013-03-201-2/+1
| | | | | | | | | 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
* Fix minor typos in BaseLib LinkedList commentslgao42013-03-133-23/+23
| | | | | | | Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14204 6f19259b-4bc3-4df7-8a09-765794883524
* Fix CpuIdEx.asm to return correct ECX/EDX value.niruiyu2013-02-171-2/+2
| | | | | | | Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14134 6f19259b-4bc3-4df7-8a09-765794883524
* Allocate temp buffer instead of change the input string to avoid crush.ydong102013-01-081-13/+12
| | | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14040 6f19259b-4bc3-4df7-8a09-765794883524
* Current Thunk16.asm implementation clears reserved bits, which does not ↵li-elvin2013-01-074-8/+8
| | | | | | follow IA32 SDM. Now the fix is to only clear PAE and PSE bit of CR4 for real mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14037 6f19259b-4bc3-4df7-8a09-765794883524
* Checks the TE image before use it.ydong102012-12-262-192/+197
| | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Yao, Jiewen <jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14024 6f19259b-4bc3-4df7-8a09-765794883524
* Add ASSERT() for BitField operations to make sure the input value is valid. lgao42012-12-2529-32/+695
| | | | | | | Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Kinney, Michael D <Michael.D.Kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14019 6f19259b-4bc3-4df7-8a09-765794883524
* Add PI1.2.1 EndOfDxe support.jyao12012-12-183-2/+48
| | | | | | | 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
* Add boot mode BOOT_WITH_MFG_MODE_SETTINGS.lgao42012-12-171-2/+3
| | | | | | | | 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
* Remove the ASSERT (FALSE) code, just return unsupported.ydong102012-12-061-7/+0
| | | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13985 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the issue that S3BootScriptLabel() does not work to insert label when ↵lzeng142012-11-291-3/+1
| | | | | | | | | the specified position is not at the end of table. Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13979 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the check for RelocBase->SizeOfBlock before use it.ydong102012-11-281-5/+4
| | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13973 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the check for some fields in the PE image before use it.ydong102012-11-281-20/+63
| | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Jiewen Yao<jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13972 6f19259b-4bc3-4df7-8a09-765794883524
* Measure Processor location as system identity to PCR[1] according to Tcg ↵czhang462012-11-281-0/+1
| | | | | | | | | | server spec Signed-off-by : Chao Zhang<chao.b.zhang@intel.com> Reviewed-by : Dong Guo<guo.dong@intel.com> Reviewed-by : Yao Jiewen<jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13970 6f19259b-4bc3-4df7-8a09-765794883524
* 1.Measure ACPI table data comes from flash event type EV_POST_CODE ACPI DATA ↵czhang462012-11-271-0/+19
| | | | | | | | | | | | to PCR[0] 2.Re-measure ACPI table after fix up with event type EV_EFI_HANDOFF_TABLES to PCR[1] Signed-off-by : Chao Zhang<chao.b.zhang@intel.com> Reviewed-by : Dong Guo<guo.dong@intel.com> Reviewed-by : Yao Jiewen<jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13963 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the check for resource section data.ydong102012-11-261-2/+36
| | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13962 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the check for debug data before get the PdbPointer.ydong102012-11-261-0/+18
| | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13961 6f19259b-4bc3-4df7-8a09-765794883524
* Correct MACOR EFI_ERROR_RECORD_SIGNATURE_START definition in MdePkg.lgao42012-11-201-2/+2
| | | | | | | 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
* Remove the useless code.ydong102012-11-201-6/+1
| | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13954 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance CreatePopup to call ReadKeyStroke() before calling WaitForEvent(). ↵niruiyu2012-11-151-2/+15
| | | | | | | | | This can handle the case when in lazy ConIn mode. Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Eric Dong<eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13945 6f19259b-4bc3-4df7-8a09-765794883524
* Build the registered guid HOB and SystemTable to record the GUID itself in ↵lzeng142012-11-084-6/+32
| | | | | | | | | PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib, and also state the restriction in BaseExtractGuidedSectionLib. Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13930 6f19259b-4bc3-4df7-8a09-765794883524
* Add missing PCI class code definition.niruiyu2012-11-025-10/+172
| | | | | | | | | | | | | | PCI22/PCI23/PCI30 spec were reviewed and the missing definitions were added to accordingly Pci22.h/Pci23.h/Pci30.h. All other class code definitions that are not defined in PCI Local Bus specification but in PCI Code and ID Assignment specification are defined in PciCodeId.h. Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Liming Gao<liming.gao@intel.com> Reviewed-by: Hot Tian<hot.tian@intel.com> Reviewed-by: Elvin Li<elvin.li@intel.com> Reviewed-by: Feng Tian<feng.tian@intel.com> Reviewed-by: Jiewen Yao<jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13919 6f19259b-4bc3-4df7-8a09-765794883524
* Fix memory out of band access in AsmFxSave() and AsmFxRestore(). lgao42012-10-302-4/+4
| | | | | | | | Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13894 6f19259b-4bc3-4df7-8a09-765794883524
* Fix comment typo to use UEFI spec defined WIN_CERT_TYPE_EFI_GUID.lgao42012-10-301-2/+2
| | | | | | | | 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
* Correct the definition for Modal opcode, from EFI_IFR_MODAL to EFI_IFR_MODAL_TAGydong102012-10-301-2/+2
| | | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13887 6f19259b-4bc3-4df7-8a09-765794883524
* PAL_LOGICAL_PROCESSPR_OVERVIEW structure was incorrectly defined. And ↵li-elvin2012-10-121-4/+5
| | | | | | | | | PAL_MC_ERROR_TYPE_INFO has new fields defined per the latest Itanium developer manual. Signed-off-by: Li Elvin <elvin.li@intel.com> Reviewed-by: Tian Feng <feng.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13831 6f19259b-4bc3-4df7-8a09-765794883524
* Update license statementhhtian2012-10-112-16/+16
| | | | | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13818 6f19259b-4bc3-4df7-8a09-765794883524
* Add missing SocketIdentifier for Memory Topology table in ACPI5.0.jyao12012-10-091-0/+2
| | | | | | | signed-off-by: jiewen.yao@intel.com reviewed-by: jeff.fan@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13804 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg: Fix incorrect SPCR definitions for 115200 and 57600 baud rate jyao12012-10-081-3/+3
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com Reviewed-by: Jiewen.yao@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13790 6f19259b-4bc3-4df7-8a09-765794883524
* Enable EFI_IFR_DEFAULT2 opcode in browser.ydong102012-09-271-0/+6
| | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13751 6f19259b-4bc3-4df7-8a09-765794883524
* Add debug port and debug port 2 table.jyao12012-09-272-0/+123
| | | | | | | | signed off by: jiewen.yao@intel.com reviewed by: liming.gao@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13750 6f19259b-4bc3-4df7-8a09-765794883524
* Add new API IsDevicePathValid() to UefiDevicePathLib.niruiyu2012-09-246-46/+233
| | | | | | | | Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Liming Gao<liming.gao@intel.com> Reviewed-by: Kinney Michael D<michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13737 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the error code info.ydong102012-09-112-4/+55
| | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13716 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the comments.ydong102012-09-111-0/+2
| | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13715 6f19259b-4bc3-4df7-8a09-765794883524
* Should pass in bytes of string buffer to UnicodeSPrint() rather than Unicode ↵erictian2012-08-292-4/+4
| | | | | | | | | | string length. Signed-off-by: Tian Feng <feng.tian@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13691 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the check for some fields in the PE image before use it.ydong102012-08-221-0/+15
| | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Jiewen Yao<jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13665 6f19259b-4bc3-4df7-8a09-765794883524
* Change the EFI_BOOT_KEY_DATA definition to use macro instead of bit fields.niruiyu2012-08-221-40/+37
| | | | | | | | | | Change the BDS module in IntelFrameworkModulePkg to use the new EFI_BOOT_KEY_DATA definition. Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Eric Dong<eric.dong@intel.com> Reviewed-by: Kinney Michael D<michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13659 6f19259b-4bc3-4df7-8a09-765794883524
* Add PI1.2.1 SAP2 support and UEFI231B mantis 896lgao42012-08-223-3/+119
| | | | | | | | | | 1. Add SAP2 protocol definition in MdePkg 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@13658 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the check when ImageRead function return.ydong102012-08-212-18/+32
| | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13657 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg PiSmmCis.h: clarify the meaning of NumberOfCpus per PI spec version ↵rsun32012-08-211-2/+2
| | | | | | | | | | 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
* Enhance the code to make the code logic more clear.ydong102012-08-211-0/+3
| | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13650 6f19259b-4bc3-4df7-8a09-765794883524
* Updated GraphicsOutput.h to follow UEFI 2.3.1 c spec.li-elvin2012-08-071-23/+24
| | | | | | | | Signed-off-by: Li Elvin <elvin.li@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13598 6f19259b-4bc3-4df7-8a09-765794883524
* Enable wide string support for CreatePopUp function in UefiLib.ydong102012-08-061-10/+107
| | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13594 6f19259b-4bc3-4df7-8a09-765794883524
* Add 2 new Bds featuresczhang462012-07-301-0/+4
| | | | | | | | | | 1. Lazy ConIn 2. OsIndicationsSupported & OsIndications Signed-off-by: Chao Zhang<chao.b.zhang@intel.com> Reviewed-by: Hot Tian<Hot.Tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13568 6f19259b-4bc3-4df7-8a09-765794883524
* Change the type of NotifyHandle from EFI_HANDLE to VOID * for SimpleTextInEx ↵niruiyu2012-07-301-3/+3
| | | | | | | | | | | protocol. Clean up the code to remove unnecessary NotifyHandle in the private data structure. Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Elvin Li<elvin.li@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13565 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the typo in InstallMultipleProtocolInterfaces commentsniruiyu2012-07-251-2/+2
| | | | | | | Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Liming Gao<liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13554 6f19259b-4bc3-4df7-8a09-765794883524
* Correct a typo in EFI_EDID_ACTIVE_PROTOCOL and EFI_EDID_DISCOVERED_PROTOCOL ↵niruiyu2012-07-242-4/+4
| | | | | | | | | comments. Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Elvin Li<elvin.li@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13552 6f19259b-4bc3-4df7-8a09-765794883524
* Update HobLib and Hob Service to avoid data over flow. lgao42012-07-174-13/+21
| | | | | | | Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Rui Sun <rui.sun@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13532 6f19259b-4bc3-4df7-8a09-765794883524
* Update header file to match UEFI231B mantis 771, 850, 853 and 857.lgao42012-07-054-15/+41
| | | | | | | | Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13504 6f19259b-4bc3-4df7-8a09-765794883524
* Update the comments for EFI_IFR_TYPE_VALUE to follow UEFI spec 2.3.1bydong102012-07-041-1/+1
| | | | | | | Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Gao Liming <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13487 6f19259b-4bc3-4df7-8a09-765794883524