summaryrefslogtreecommitdiffstats
path: root/MdePkg
Commit message (Collapse)AuthorAgeFilesLines
* Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more ↵ydong102012-05-302-3/+173
| | | | | | | | | info. Also replace old interface with new one. 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@13375 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg SmmCpu.h: Add EFI_SMM_SAVE_STATE_REGISTER_PROCESSOR_ID in enum ↵rsun32012-05-301-2/+3
| | | | | | | | | | EFI_SMM_SAVE_STATE_REGISTER Per PI 1.2.1 spec. 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@13374 6f19259b-4bc3-4df7-8a09-765794883524
* Correct a bug in AsmCpuidEx() to return correct ECX and EDX.niruiyu2012-05-252-10/+10
| | | | | | | Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13359 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg UefiTcgPlatform.h: Add definition for EV_CPU_MICROCODE event type.rsun32012-05-241-1/+2
| | | | | | | | Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Dong Guo <guo.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13357 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg: Add Eject/Read12/Write12 cmds to Atapi.herictian2012-05-221-1/+13
| | | | | | | | Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13346 6f19259b-4bc3-4df7-8a09-765794883524
* Update EFI_ACPI_5_0_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER to follow ↵jyao12012-05-161-2/+1
| | | | | | | | | ACPI5.0 spec. signed off by: jiewen.yao@intel.com reviewed by: rui.sun@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13315 6f19259b-4bc3-4df7-8a09-765794883524
* Update MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed ↵lgao42012-05-165-14/+14
| | | | | | | | | char to follow UEFI spec. Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Michael D. Kinney <michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13312 6f19259b-4bc3-4df7-8a09-765794883524
* Update the logic related to get section header offset for TE image.ydong102012-05-041-2/+10
| | | | | | | 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@13273 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the error handling for AllocatePool and AllocatePages function.ydong102012-04-271-2/+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@13225 6f19259b-4bc3-4df7-8a09-765794883524
* Patch include:ydong102012-04-261-8/+0
| | | | | | | | | | | 1.Change function name to avoid name conflict. 2.Refine check for Pe Image. 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@13220 6f19259b-4bc3-4df7-8a09-765794883524
* Add new extension PerformanceLib APIs to store ID info.lzeng142012-04-242-2/+292
| | | | | | | Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13214 6f19259b-4bc3-4df7-8a09-765794883524
* Update copyright formathhtian2012-04-241-3/+1
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
* Validate some fields in PE image to make sure not access violation for later ↵ydong102012-04-241-1/+195
| | | | | | | | | code. 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@13211 6f19259b-4bc3-4df7-8a09-765794883524
* Update function comments to remove confused description on PerformanceLib ↵lgao42012-04-172-4/+2
| | | | | | | | | EndPerformanceMeasurement API. Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13200 6f19259b-4bc3-4df7-8a09-765794883524
* Correct function comments on DxeServicesLib GetFileBufferByFilePath API. lgao42012-04-172-10/+8
| | | | | | | Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13199 6f19259b-4bc3-4df7-8a09-765794883524
* Add 3 missing fields for EFI_ACPI_5_0_PCCT_SUBSPACE_GENERICjyao12012-04-161-1/+4
| | | | | | | signed-off-by: jyao1 <jiewen.yao@intel.com> Reviewed-by: Sun Rui <rui.sun@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13198 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-112-0/+215
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* Current IPF version SwitchStack implementation uses loadrs instruction to ↵li-elvin2012-04-111-2/+4
| | | | | | | | | | | restore dirty partition of register stack from the backing store, but there is no guarantee to make the backing store valid before. So add flushrs before loadrs to make sure backing store valid. Signed-off-by: Li Elvin <elvin.li@intel.com> Reviewed-by: Li Kevin <kevin.y.li@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13183 6f19259b-4bc3-4df7-8a09-765794883524
* Update the offset when read every debug entries info.ydong102012-03-161-3/+3
| | | | | | | Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13104 6f19259b-4bc3-4df7-8a09-765794883524
* Clarify alignment of GetSpinLockProperties() is byte alignment.lgao42012-03-074-12/+12
| | | | | | | Signed-off-by: lgao4 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13086 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg/Include/Base.h: Defined __va_copy macro when not defined by the ARM ↵oliviermartin2012-02-281-0/+5
| | | | | | | | | | | | | toolchain The newer versions of ARM RVCT do not define __va_copy. Signed-off-by: oliviermartin Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13067 6f19259b-4bc3-4df7-8a09-765794883524
* Update the modifier of ThunkContext parameter for AsmPrepareThunk16() in ↵lgao42012-02-272-4/+4
| | | | | | | | | BaseLib from OUT to IN OUT. Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13038 6f19259b-4bc3-4df7-8a09-765794883524
* Add code check to avoid access violation.ydong102012-02-272-0/+12
| | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13036 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg: Add a new macro VA_COPY for variable argument support. Fix a bug in ↵rsun32012-02-222-2/+23
| | | | | | | | | | the UefiLib instance that there is a non portable assumption that Marker is copied when passed to a function. Signed-off-by: rsun3 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13025 6f19259b-4bc3-4df7-8a09-765794883524
* Add Missing invocations to VA_END() for VA_START().rsun32012-02-015-11/+38
| | | | | | | Signed-off-by: rsun3 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12979 6f19259b-4bc3-4df7-8a09-765794883524
* Add new DEBUG_VERBOSE print error level.lgao42012-01-161-2/+4
| | | | | | | Signed-off-by: lgao4 Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12933 6f19259b-4bc3-4df7-8a09-765794883524
* Correct definition to follow spec.ydong102012-01-121-2/+2
| | | | | | | Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12929 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing DebugPrintErrorLevelLib library class in MdePkg.declgao42012-01-041-1/+4
| | | | | | | Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12905 6f19259b-4bc3-4df7-8a09-765794883524
* Roll back the previous change in MdePkg BaseLib Ia32 Thunk16.S and EcpPkg ↵lgao42011-12-281-43/+20
| | | | | | | | | | | GlueLib BaseLib Ia32 Thunk16.S, and still use the hard code offset in them to avoid GCC compiler create the unexpected instruction. Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12898 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up the hard code offset in MdePkg BaseLib Ia32 Thunk16.S and EcpPkg ↵lgao42011-12-201-20/+43
| | | | | | | | | GlueLib BaseLib Ia32 Thunk16.S. Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12889 6f19259b-4bc3-4df7-8a09-765794883524
* Add the omissions to comply with latest SMBIOS 2.7.1 spec.lzeng142011-12-201-28/+30
| | | | | | | Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12887 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the issue to clear the high 16-bit of EAX before use it Thunk code.lgao42011-12-154-8/+12
| | | | | | | | | This patch updates MdePkg BaseLib, EcpPkg EdkIIGlueLib BaseLib and ThunkLib. Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12876 6f19259b-4bc3-4df7-8a09-765794883524
* Exchange the sequence of Asynchronous and Synchronous in ↵lzeng142011-12-151-1/+1
| | | | | | | | | CACHE_SRAM_TYPE_DATA according to SMBIOS specification. Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12871 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg: Per PI 1.2 Errata C, update the function description of ↵rsun32011-12-151-1/+2
| | | | | | | | | | 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
* Update UEFI spec version from UEFI2.3 to UEFI2.3.1lgao42011-12-151-1/+1
| | | | | | | Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12863 6f19259b-4bc3-4df7-8a09-765794883524
* Update the Package version.lgao42011-12-132-2/+2
| | | | | | | | | | | | MdePkg 1.02->1.03 EdkCompatibilityPkg 0.91->0.92 PerformancePkg 0.1->0.2 Signed-off-by: lgao4 Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12844 6f19259b-4bc3-4df7-8a09-765794883524
* Update ACPI5.0 header file about ACPI spec release time.jyao12011-12-121-1/+1
| | | | | | | signed-off-by: jyao1 reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12834 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix a bug when verify the CertType GUID in authentication variable data ↵sfu52011-12-091-1/+1
| | | | | | | | | | payload. Signed-off-by: sfu5 Reviewed-by: tye1 Reviewed-by: gdong1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12831 6f19259b-4bc3-4df7-8a09-765794883524
* Update code comments to specify the correct language format for Driver ↵lgao42011-12-072-3/+4
| | | | | | | | | | | Diagnostics Protocol and Unicode Collation Protocol. Signed-off-by: lgao4 Reviewed-by: mdkinney Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12825 6f19259b-4bc3-4df7-8a09-765794883524
* Correct DriverFamilyOverrideProtocol guid value defined in MdePkg.lgao42011-12-051-1/+1
| | | | | | | Signed-off-by: lgao4 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12814 6f19259b-4bc3-4df7-8a09-765794883524
* Add ACPI5.0 header file.jyao12011-11-307-11/+2495
| | | | | | | | | | Add missing content for resource descriptor. Move AML definition to AcpiAml.h signed-off-by: jyao1 reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12802 6f19259b-4bc3-4df7-8a09-765794883524
* add missing <BR>hhtian2011-11-251-1/+1
| | | | | | Signed-off-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12781 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing supported module type in MdePkg DxeServicesTableLib instance.lgao42011-11-231-2/+2
| | | | | | | Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12762 6f19259b-4bc3-4df7-8a09-765794883524
* MdePkg DxeServicesLib: Search further in GetFileBufferByFilePathjljusten2011-11-221-6/+17
| | | | | | | | | | | | | | | | | | | | This function supports loading via these interfaces, in order: * gEfiFirmwareVolume2ProtocolGuid * gEfiSimpleFileSystemProtocolGuid * gEfiLoadFile2ProtocolGuid * gEfiLoadFileProtocolGuid Previously, if a device path supported any of these interfaces, it would only check that interface. (If it failed to load via that interface, it would not move on and check the others.) This change causes the other interfaces to still be checked if the previous ones fail. Signed-off-by: jljusten Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12761 6f19259b-4bc3-4df7-8a09-765794883524
* Update comments in BaseExtractGuidedSectionLib library instance to say its ↵lgao42011-11-221-3/+7
| | | | | | | | | | used memory is the physical memory space. Signed-off-by: lgao4 Reviewed-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12758 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of ↵lzeng142011-11-211-5/+5
| | | | | | | | | 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record. Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12747 6f19259b-4bc3-4df7-8a09-765794883524
* PI 1.2 Errata C: A new return condition is added for the returned status ↵rsun32011-11-211-1/+2
| | | | | | | | | | code EFI_INVALID_PARAMETER for SMM Control2 Protocol.Trigger(). signed-off-by: rsun3 reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12743 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI errata 0000718 and PI 1.2c Vol 3 3.2.1, comment out "Types" ↵lzeng142011-11-181-2/+4
| | | | | | | | | 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
* Remove CONST prefix to follow PI Specification. vanjeff2011-11-171-12/+12
| | | | | | | | | | | This was one incompatible updating, the module produced SMBUS HC protocol should be updated to remove CONST prefix accordingly. Signed-off-by: vanjeff Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12733 6f19259b-4bc3-4df7-8a09-765794883524
* Update PI Service Table Versions per PI 1.2 Errata C.rsun32011-11-173-10/+14
| | | | | | | | 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