summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
AgeCommit message (Collapse)AuthorFilesLines
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-31EdkCompatibilityPkg: Add BootScriptThunkHelper driverjljusten3-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
2011-08-30Enhance the SmmBaseHelper driver to support changing ↵rsun31-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
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
2011-08-02Fixed the issue in RuntimeStatusCode library that may not work on the early ↵lgao41-1/+9
dispatched Runtime driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12074 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01Create smbios table before ReadyToBoot event. For SMBIOS thunk driver, ↵li-elvin1-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
2011-08-01Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h ↵rsun32-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
2011-07-29EdkCompatabilityPg: Add missing .globl statementandrewfish1-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
2011-07-19EdkCompatibilityPkg: Add SmmScriptLibjljusten6-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
2011-07-19EdkCompatibilityPkg: Add DxeSmmReadyToLockOnExitPmAuthThunk driverjljusten4-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
2011-07-12EdkCompatabilityPkg: Fix build issues with X64 clangandrewfish15-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
2011-06-27EdkCompatibilityPkg: Add AcpiVariableHobOnSmramReserveHobThunkjljusten3-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
2011-06-16Update prototype name of Get()/Set() to ↵lzeng141-4/+4
EFI_AUTHENTICATION_INFO_PROTOCOL_GET/ EFI_AUTHENTICATION_INFO_PROTOCOL_SET, remove star before ControllerHandle for Get()/Set() and add star before Buffer for Get(). Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11834 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.niruiyu3-12/+57
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-06-08String Reference Cleanup.lzeng143-94/+85
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-30Update code to pass packaging tool.lzeng144-12/+9
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11712 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20Refine all R9 call back function to return EFI_UNSUPPORTED for all ↵ydong101-107/+106
unsupported call back type. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11680 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-09Clean up DEC files:mdkinney1-22/+0
1) Remove section header comment blocks that do not provide any information 2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead 3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions. 4) Clean up formatting of GUID structure declarations 5) Remove ".common" from section names if they are not required. 6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11628 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Fix DEC files so any PCD declared as Dynamic is also declared as DynamicExmdkinney1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11619 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27Fix 2 BootScript thunk issue on MEM_POLL.jyao11-5/+19
1) MEM_POLL stall time is incorrect. Framework version: Duration is used for Stall(), which is Microseconds. Total time is: Duration(Microseconds) * LoopTimes. PI version: Duration is always 100ns. Delay is LoopTimes. Total time is: 100ns * Delay. So Delay = Duration(Microseconds) * LoopTimes / 100ns = Duration * 1000ns * LoopTimes / 100ns = Duration * 10 * LoopTimes 2) MEM_POLL BitMask/BitValue order is incorrect. Framework version: First BitMask, then BitValue PI version: First Data, then DataMask So we revert their order in function call git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11595 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20Add missing Type 35 support and correct SmbiosFldMiscType13 implementation.lzeng143-5/+130
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11571 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30Update inf file to follow spec.ydong101-1/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11453 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14Enhance inf file to follow inf spec.ydong103-3/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11389 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney1-1/+2
adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11370 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update module to pass in a valid EFI_HANDLE when is reloads and restarts ↵mdkinney1-4/+6
itself using the PeCoffLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11364 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-07ECP package BootScriptSaveOnS3SaveStateThunk driver needs to support ↵lgao41-10/+15
framework 32bit dispatch code. It must be loaded into <4G memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11349 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-26clean non-ASCII charhhtian1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11338 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-28Don't need to update its copy right. It is same to previous version. lgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11282 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-28Roll back previous change. GCC assembly file should use .S postfix. lgao41-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11280 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-24Correct file name. lgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11269 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-18Export EDKII_GLUE_DebugPrintErrorLevel and EDKII_GLUE_DebugPropertyMask macro lgao41-1/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11256 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-05Correct return value check.jyao11-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11227 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-03EdkCompatibilityPkg RuntimeDxe Lib: Fix GCC warningjljusten2-4/+4
Fix warning seen with GCC 4.4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11222 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-31Use SmmStatusCode protocol in EfiInitializeSmmDriverLib() funciton.lgao42-46/+52
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11213 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-26Fix CYG GCC build fail on retf.jyao11-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11202 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-25Replace @@ symbol since GCC does not recognize it.jyao11-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11201 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24Fix GCC build failure.jyao11-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11200 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-23Fix boot script thunk issue that we need dispatch in PEI mode for Framework ↵jyao11-0/+4
dispatch function, not in DXE mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11194 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22Fix boot script thunk issue that we need dispatch in PEI mode for Framework ↵jyao19-17/+860
dispatch function, not in DXE mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11189 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14update USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible ↵erictian1-2/+2
value of EFI_USB_PORT_STATUS and is the equivalent of EfiUsbPortOwner of EFI_USB_PORT_FEATURE git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11161 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10Add missing fields of Type 4 conversion.li-elvin1-1/+79
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11148 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09Refine code to make code run more safely.ydong102-1/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11143 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06Refine code to make code more safely.ydong104-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11123 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg. lgao4183-2624/+15238
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-elvin4-8/+8
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-10-28Correct Comments.lgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10984 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13EdkCompatibilityPkg: Re-add VA_COPY macrojljusten1-0/+6
This macro was lost in r10585. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10930 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-12Add Framework SMM Status Code Protocol on PI SMM Status Code Protocol Thunk ↵rsun33-0/+120
driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10918 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-13Refine some code to make code run safely.ydong105-11/+11
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.ydong1015-59/+60
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10863 6f19259b-4bc3-4df7-8a09-765794883524