summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib
AgeCommit message (Collapse)Author
2017-09-05Remove core packages since we can get them from edk2 repositoryGuo Mang
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
2014-01-23Fix CRLF formatTian, Hot
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-07-10Fill the ImageHandle and DriverBindingHandle field of Driver Binding ↵Ruiyu Ni
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 Lin
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 ↵lgao4
"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(). lgao4
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-02-27Update ECP Package Glue BaseLib to save/restore xmm6-xmm15 in functions ↵lgao4
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().rsun3
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.lgao4
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 ↵lgao4
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 ↵lgao4
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.lgao4
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-06Fix ICC11 build failure. lgao4
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. lgao4
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-10-25Correct CpuPause.s to ICC11.lgao4
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.niruiyu
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-08-02Fixed the issue in RuntimeStatusCode library that may not work on the early ↵lgao4
dispatched Runtime driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12074 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12EdkCompatabilityPkg: Fix build issues with X64 clangandrewfish
Removed passing VA_LIST and some assembly language compatability issues. Did not fix ReportStatusCode passing VA_LIST (non-ANSI C Code), and some of the assembler was not not ported and int 3 was inserted, as it likely is not needed. signed-off-by: andrewfish reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12006 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.niruiyu
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@11778 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-18Export EDKII_GLUE_DebugPrintErrorLevel and EDKII_GLUE_DebugPropertyMask macro lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11256 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11094 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12Fix the issue that the high 16-bit of EAX may contain invalid data, which ↵li-elvin
cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11046 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-13Refine some code to make code run safely.ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10873 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10Refine some code to make the code run safely.ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10863 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30Correct the check for macro definition __EDKII_GLUE_PEI_HOB_LIB__.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10719 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-29Sync fix on MdePkg r9982.lgao4
Do not set gBS to NULL when the ExitBootServices event notification for the UEFI Runtime Lib is executed. There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib. If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10709 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-28Remove unnecessary volatile for local Index variable.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10608 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-12Initialize the local variable before refer to them. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10577 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-11Add more check to make sure code run safely.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10574 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-10Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10476 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10433 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-20Correct file path separator to be consistent.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10293 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-15Add GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , ↵lgao4
which provides the security status code library for EDK runtime and smm driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10246 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-15Add GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , ↵lgao4
which provides the security status code library for EDK runtime and smm driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10245 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31Add 4 Framework/PI SMM thunk drivers. Combined use of these drivers can ↵rsun3
support usage model of PI SMM infrastructure + Framework Chipset SMM code + Framework platform SMM code in ECP platforms. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9657 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17Update function description to be consistent with code definition: HEX_RADIX ↵xdu2
=> RADIX_HEX. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9434 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24Fixed issues compiling for Apple gcc on IA-32AJFISH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9310 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22Fix bug that home addresses for register parameters must be allocated for ↵rsun3
calling C function from X64 assembly code to follow x64 calling convention. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9303 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20Update to remove .intel_syntax directives to improve portability since it is ↵qhuang8
not supported by all GCC assembliers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9165 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20Remove unnecessary .align directives.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9161 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20Update to make end-of-line consistent for all source files in MdePkg. There ↵qhuang8
are no other updates besides that change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9160 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20fix a typo of missing a colon sign after a label symbol.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8339 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19fix a typo of missing a colon sign after a label symbol.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8332 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19As ECP package is EDKI style, the AutoGen.h will not include anything. So if ↵eric_tian
we use some basic data structures, we should manually include EdkIIGlueBase.h file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8330 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is ↵eric_tian
used to generate underscore prior to public symbol or not within various GCC distribution versions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8317 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23update string function commentseric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8157 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17Save segment registers on stack in case the thunk code assembly calls CF9 ↵qhuang8
soft reset and the x64 registers get cleared. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8124 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-231, Use #if defined() to judge the switching macro such as compiler macro. klu2
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value. 2, Use #if defined() style to replace #ifdef style. It is good to keep consistent style for this case. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7597 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17Use #ifdef but not #if for compiler macros.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7535 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-041) GCC Clean up.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6847 6f19259b-4bc3-4df7-8a09-765794883524