summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27EdkCompatibilityPkg: Remove EdkCompatibilityPkgShenglei Zhang1654-217411/+0
https://bugzilla.tianocore.org/show_bug.cgi?id=1103 Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-09-25EdkCompatibilityPkg: Removing ipf from edk2.Chen A Chen141-17403/+70
Removing rules for Ipf sources file: * Remove the source file which path with "ipf" and also listed in [Sources.IPF] section of INF file. * Remove the source file which listed in [Components.IPF] section of DSC file and not listed in any other [Components] section. * Remove the embedded Ipf code for MDE_CPU_IPF. Removing rules for Inf file: * Remove IPF from VALID_ARCHITECTURES comments. * Remove DXE_SAL_DRIVER from LIBRARY_CLASS in [Defines] section. * Remove the INF which only listed in [Components.IPF] section in DSC. * Remove statements from [BuildOptions] that provide IPF specific flags. * Remove any IPF sepcific sections. Removing rules for Dec file: * Remove [Includes.IPF] section from Dec. Removing rules for Dsc file: * Remove IPF from SUPPORTED_ARCHITECTURES in [Defines] section of DSC. * Remove any IPF specific sections. * Remove statements from [BuildOptions] that provide IPF specific flags. The following rules are specially proposed by package owner: * Remove CommonIpf.dsc file. * Update Common.dsc file, to remove the section with IPF key. Cc: Liming Gao <liming.gao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chen A Chen <chen.a.chen@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2016-11-03EdkCompatibilityPkg/PrintLite: Fix ErrorPrint() wrong NULL char checkSong, BinX1-1/+1
- '\0' -> NULL - https://bugzilla.tianocore.org/show_bug.cgi?id=47 Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-10-21EdkCompatibilityPkg: Fix typos in commentsGary Lin17-26/+26
- excute -> execute - Pacakges -> Packages - successfull -> successfully - outputed -> outputted - triggerred -> triggered - specifiecd -> specified - hexidecimal -> hexadecimal - Arrary -> Array - Pointion -> Position - paramter -> parameter - stardard -> standard - perodically -> periodically - dependecy -> dependency - evauated -> evaluated - availible -> available - boundry -> boundary - discontiguous -> discontinuous Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-08-01EdkCompatibilityPkg: Fix GCC build failureLiming Gao4-4/+4
Edk2 enables Os option and ms_va_list in GCC tool chain. This change makes VA_LIST is not pointer, and cause GCC failure. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com>
2016-07-21MdePkg CryptoPkg EdkCompatibilityPkg: retire NO_BUILTIN_VA_FUNCS defineArd Biesheuvel1-1/+1
This is never set anymore, so unsetting it or testing whether it is unset no longer makes any sense. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-By: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-07-21EdkCompatibilityPkg: Enable new MS VA intrinsics for GNUC x86 64bits buildArd Biesheuvel1-0/+26
Align EdkCompatibilityPkg with this change from MdePkg Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-By: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-07-11EdkCompatibilityPkg: Fix typos in commentsMudusuru, Giri P3-6/+6
- availabe to available - consummer to consumer - EFI_UNSUPPORTEDT to EFI_UNSUPPORTED - extensiable to extensible Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-04-15EdkCompatibilityPkg: Fix a typo.Marvin H?user1-2/+2
Fix a typo and a spacing mistake in EfiCommonLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-04-15EdkCompatibilityPkg: Do not cast VA_LIST to a pointer for AARCH64.Marvin H?user1-1/+1
Do not cast VA_LIST to a pointer for the AARCH64 architecture in EfiCommonLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-03-25EdkCompatibilityPkg: EdkIIGlueLib: remove set but unused variablesLaszlo Ersek1-5/+0
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2016-03-25EdkCompatibilityPkg: UefiEfiIfrSupportLib: remove set but not used variablesLaszlo Ersek3-10/+0
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2016-01-18EdkCompatibilityPkg: Fix wrong guid value of gEfiManagedNetworkProtocolGuidLiming Gao3-3/+3
UEFI2.1B corrects the guid value of gEfiManagedNetworkProtocolGuid. ECP package updates its value in ManagedNetwork.h, but miss the one in EdkIIGlueLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19654 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-29EdkCompatibilityPkg: Add PersistentMemory definitionLiming Gao1-1/+2
Include this definition to make sure EfiMaxMemoryType be same value in EDKII and ECP code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17252 6f19259b-4bc3-4df7-8a09-765794883524
2014-11-26EdkCompatibilityPkg: Make this field name match the name in the spec.Peter Jones1-1/+1
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Peter Jones <pjones@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16446 6f19259b-4bc3-4df7-8a09-765794883524
2014-06-26Refine code to make it more safely.Eric Dong6-9/+13
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15595 6f19259b-4bc3-4df7-8a09-765794883524
2014-01-23Fix CRLF formatTian, Hot46-2202/+2202
Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15172 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-22EdkCompatibilityPkg: Fixed EDK Shell buildOlivier Martin3-8/+1
Fixed: - Removed unused variables - Function does not return value. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14796 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-03EdkCompatibilityPkg: Fixed build for AArch64Olivier Martin5-0/+0
The architecture specific folders must be capitalized (first letter as a capital letter and the remaining letters in lower case) (INF spec - 2.2.4 Naming Conventions). The BaseTools only support this requirement for INF revision prior to 0x00010005 (mainly used by EdkCompatibilityPkg, EdkShellPkg, UEFI SCT). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14620 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-23Fix the typo in the description of EFI_PLATFORM_TO_DRIVER_CONFIGURATION_QUERY.Shumin Qiu1-2/+2
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@14596 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-08Add Aarch64 support to EdkCompatibilityPkg.Harry Liebel12-32/+345
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14533 6f19259b-4bc3-4df7-8a09-765794883524
2013-07-10Fill the ImageHandle and DriverBindingHandle field of Driver Binding ↵Ruiyu Ni1-49/+43
Protocol before installing the Driver Binding Protocol instance. Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14460 6f19259b-4bc3-4df7-8a09-765794883524
2013-06-04Add the missing "," for the patch to fix status code print string.Gary Ching-Pang Lin1-1/+1
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14395 6f19259b-4bc3-4df7-8a09-765794883524
2013-05-24Without this fix, the "%r" format specifier prints eg. "0000001A" instead of ↵lgao41-1/+8
"Security Violation" for EFI_SECURITY_VIOLATION. Signed-off-by: Gary Ching-Pang Lin <glin@suse.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14387 6f19259b-4bc3-4df7-8a09-765794883524
2012-10-30Fix memory out of band access in AsmFxSave() and AsmFxRestore(). lgao42-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@13895 6f19259b-4bc3-4df7-8a09-765794883524
2012-06-21Fix a typo.ydong103-6/+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@13464 6f19259b-4bc3-4df7-8a09-765794883524
2012-06-08EdkCompatibilityPkg/CompilerStub: Created a Dummy CompilerStubLib for ARMoliviermartin1-0/+6
This Dummy CompilerStubLib avoids to add the ARM CompilerIntrinsicsLib in every EDK module INF files. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Ruiyu NI <ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13434 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-31Change returned status codes for SmiManage() per PI 1.2.1 spec.rsun31-4/+4
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@13394 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-16Update MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed ↵lgao45-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@13313 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-04Correct an error in Aprint function.ydong102-4/+4
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@13274 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-11Add more check for the bmp file to avoid access violation.ydong102-2/+114
Signed-off-by: Dong Eric <eric.dong@intel.com> Reviewed-by: Gao Liming <liming.gao@intel.com> Reviewed-by: Zhang Chao <chao.b.zhang@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13185 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-27Update ECP Package Glue BaseLib to save/restore xmm6-xmm15 in functions ↵lgao45-8/+58
setJump/longJump. Signed-off-by: lgao4 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13037 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-01Add Missing invocations to VA_END() for VA_START().rsun39-21/+53
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
2012-01-16Add new DEBUG_VERBOSE print error level.lgao42-6/+9
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
2011-12-28Roll back the previous change in MdePkg BaseLib Ia32 Thunk16.S and EcpPkg ↵lgao41-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
2011-12-20Clean up the hard code offset in MdePkg BaseLib Ia32 Thunk16.S and EcpPkg ↵lgao41-33/+56
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
2011-12-15Fix the issue to clear the high 16-bit of EAX before use it Thunk code.lgao48-14/+20
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@12877 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-15Add comments for EFI_CACHE_SRAM_TYPE_DATA because of the inconsistency ↵lzeng141-1/+6
between CacheSubclass 0.9 and SMBIOS specifications. Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12873 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-06Fix ICC11 build failure. lgao42-3/+121
Signed-off-by: lgao4 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12821 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-05Fix ICC11 build failure. lgao41-9/+1
Signed-off-by: lgao4 Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12816 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.lzeng141-2/+2
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12711 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-25Correct CpuPause.s to ICC11.lgao41-2/+2
Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12565 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-19Avoid using code name in comments.niruiyu24-65/+57
Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12552 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-18Use a local variable and assign 0 to it, then use it as legacy interrupt ↵li-elvin1-3/+10
table base address. Signed-off-by: li-elvin Reviewed-by: mdkinney, ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12544 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-301. Move Capsule variable name definition to Capsule variable GUID header file.lgao41-1/+18
2. Align EFI_CAPSULE_LONG_MODE_BUFFER structure to MdeModulePkg definition. Signed-off-by: lgao4 Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12492 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-30Define S3 Status code macros.lgao41-1/+13
Signed-off-by: lgao4 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12489 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-29Add more check to avoid access violation.ydong101-1/+1
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12470 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-09Rename SMM_CPU_IO_Protocol to SMM_CPU_IO2_PROTOCOL in PiSmmDefintions.h of ↵hhtian1-7/+7
SmmScriptLib to keep consistent with SMM_CPU_IO2_PROTOCOL defined in MdePkg. Signed-off-by: hhtian Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12307 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01Refine code to make code run more safely.ydong101-1/+1
Signed-off-by:ydong10 Reviewed-by:rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12250 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-18Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B. vanjeff1-1/+7
Signed-off-by: vanjeff Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12159 6f19259b-4bc3-4df7-8a09-765794883524