summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg
Commit message (Collapse)AuthorAgeFilesLines
* Fix comparisons of enumerated types which may cause warnings for some compilers.rsun32012-08-281-5/+5
| | | | | | | | Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Gao Liming <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13686 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Update .S files to ↵rsun32012-07-022-5/+25
| | | | | | | | | | | be consistent with corresponding .asm files. Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Tian Feng <feng.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13481 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg SmmBaseHelper: In SmmHandlerEntry(), add check to ensure ↵rsun32012-06-262-29/+97
| | | | | | | | | | CommBuff+CommBuffSize is outside of SMRAM. Signed-off by: Sun Rui <rui.sun@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13472 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a typo.ydong102012-06-213-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
* EdkCompatibilityPkg/CompilerStub: Created a Dummy CompilerStubLib for ARMoliviermartin2012-06-081-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
* Fixed build failed.ydong102012-05-311-1/+1
| | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524
* Change returned status codes for SmiManage() per PI 1.2.1 spec.rsun32012-05-311-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
* Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more ↵ydong102012-05-301-2/+2
| | | | | | | | | 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
* 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@13313 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the logic when extract data from storage.ydong102012-05-101-5/+16
| | | | | | | 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@13301 6f19259b-4bc3-4df7-8a09-765794883524
* Correct an error in Aprint function.ydong102012-05-042-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
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-111-0/+188
| | | | | | | | | | | | | 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
* Add more check for the bmp file to avoid access violation.ydong102012-04-112-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
* 1. Updated S3Resume2Pei to save IA32 IDT table setup in protected mode. vanjeff2012-03-151-2/+53
| | | | | | | | | | | 2. Updated BootScriptSaveOnS3SaveStateThunk restore IA32 IDT table before transferring to protected mode. It could support exception handler in 32-bit Framework Boot Script code. Signed-off-by: vanjeff Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13099 6f19259b-4bc3-4df7-8a09-765794883524
* Update ECP Package Glue BaseLib to save/restore xmm6-xmm15 in functions ↵lgao42012-02-275-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
* Add Missing invocations to VA_END() for VA_START().rsun32012-02-019-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
* Add new DEBUG_VERBOSE print error level.lgao42012-01-162-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
* 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-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
* Fix the issue to clear the high 16-bit of EAX before use it Thunk code.lgao42011-12-158-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
* Add comments for EFI_CACHE_SRAM_TYPE_DATA because of the inconsistency ↵lzeng142011-12-151-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
* 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
* Fix ICC11 build failure. lgao42011-12-062-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
* Fix ICC11 build failure. lgao42011-12-051-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
* According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of ↵lzeng142011-11-211-2/+2
| | | | | | | | | 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@12749 6f19259b-4bc3-4df7-8a09-765794883524
* PI 1.2 Errata C: A new return condition is added for the returned status ↵rsun32011-11-212-2/+4
| | | | | | | | | | 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
* EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.lzeng142011-11-152-4/+4
| | | | | | | 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
* Correct key word of define macro to DEFINE per Build spec.lgao42011-10-281-3/+3
| | | | | | | | Signed-off-by: lgao4 Reviewed-by: gikidy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12594 6f19259b-4bc3-4df7-8a09-765794883524
* Correct CpuPause.s to ICC11.lgao42011-10-251-2/+2
| | | | | | Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12565 6f19259b-4bc3-4df7-8a09-765794883524
* Avoid using code name in comments.niruiyu2011-10-1929-80/+72
| | | | | | | 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
* Use a local variable and assign 0 to it, then use it as legacy interrupt ↵li-elvin2011-10-181-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
* 1. Move Capsule variable name definition to Capsule variable GUID header file.lgao42011-09-302-17/+20
| | | | | | | | | 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
* Define S3 Status code macros.lgao42011-09-301-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
* Add more check to avoid access violation.ydong102011-09-292-2/+2
| | | | | | | 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
* EdkCompatibilityPkg SmmBaseHelper: Fix PageFaultHandlerHook assembly code to ↵rsun32011-09-282-4/+4
| | | | | | | | | | use AL register for return value from PageFaultHandler(). Signed-off-by: rsun3 Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12466 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Check for x2APIC ↵rsun32011-09-262-3/+27
| | | | | | | | | | mode before accessing the APIC ID register in RendezvousFunnelProc(). Contributed by Bruce Losure. Signed-off-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12442 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up the private GUID definition in module Level.lgao42011-09-206-10/+31
| | | | | | Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12386 6f19259b-4bc3-4df7-8a09-765794883524
* Rename SMM_CPU_IO_Protocol to SMM_CPU_IO2_PROTOCOL in PiSmmDefintions.h of ↵hhtian2011-09-091-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
* Refine code to make code run more safely.ydong102011-09-011-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
* EdkCompatibilityPkg: Add BootScriptThunkHelper driverjljusten2011-08-313-0/+127
| | | | | | | Signed-off-by: jljusten Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12247 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance the SmmBaseHelper driver to support changing ↵rsun32011-08-301-14/+21
| | | | | | | | | | SMBASE/IORestart/AutoHALTRestart CPU Save State registers for Framework SMM driver. Signed-off-by: rsun3 Reviewed-by: jfan12 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12230 6f19259b-4bc3-4df7-8a09-765794883524
* Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B. vanjeff2011-08-181-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
* Fixed the issue in RuntimeStatusCode library that may not work on the early ↵lgao42011-08-021-1/+9
| | | | | | dispatched Runtime driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12074 6f19259b-4bc3-4df7-8a09-765794883524
* Create smbios table before ReadyToBoot event. For SMBIOS thunk driver, ↵li-elvin2011-08-011-5/+23
| | | | | | | | | | create/update smbios table in configuration table when each field is updated. Signed-off-by: li-elvin Reviewed-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12066 6f19259b-4bc3-4df7-8a09-765794883524
* Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h ↵rsun32011-08-012-3/+3
| | | | | | | | | | | | files for better modularity: IntelFrameworkModulePkg\Include\Guid\AcpiVariableCompatibility.h, MdeModulePkg\Include\Guid\AcpiS3Context.h. Signed-off-by: rsun3 Reviewed-by: jljusten Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12063 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatabilityPg: Add missing .globl statementandrewfish2011-07-291-0/+1
| | | | | | | | | signed-off-by:andrewfish reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12057 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg: Add SmmScriptLibjljusten2011-07-196-0/+1302
| | | | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a Reviewed-by: jyao1 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12032 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg: Add DxeSmmReadyToLockOnExitPmAuthThunk driverjljusten2011-07-194-0/+175
| | | | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a Reviewed-by: jyao1 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12031 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatabilityPkg: Fix build issues with X64 clangandrewfish2011-07-1215-368/+265
| | | | | | | | | | 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
* EdkCompatibilityPkg: Add AcpiVariableHobOnSmramReserveHobThunkjljusten2011-06-273-0/+303
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11904 6f19259b-4bc3-4df7-8a09-765794883524