summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg
Commit message (Collapse)AuthorAgeFilesLines
* Update the copyright notice formathhtian2010-04-2497-190/+190
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10419 6f19259b-4bc3-4df7-8a09-765794883524
* Add the correct check for the return value before use them.lgao42010-04-223-1/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10396 6f19259b-4bc3-4df7-8a09-765794883524
* Correct data conversion from pointer to integer.lgao42010-04-121-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10358 6f19259b-4bc3-4df7-8a09-765794883524
* Add the blank line at the end of file to pass ICC compiler. lgao42010-04-121-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10357 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add the missing function headers. lgao42010-04-091-9/+13
| | | | | | 2. Update local variable name to match coding style. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10355 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing CpuLib library instance into EdkCompatibilityPkg.dsclgao42010-04-061-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10339 6f19259b-4bc3-4df7-8a09-765794883524
* Add function comments and refine function parameter IN OUT.jgong52010-04-022-9/+106
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10329 6f19259b-4bc3-4df7-8a09-765794883524
* Use on-demand paging for CpuSaveStates read/write. It was measured about ↵jgong52010-04-025-41/+475
| | | | | | 200us for either read or write the PI CpuSaveStates to framework, ~400us in total on a platform with 80 CPUs with original for loop implementation. So with on-demand paging, if the framework SMI handler doesn’t read/write CpuSaveStates, ~400us will be saved. If the handler happens to use CpuSaveStates, there will be about 20us overhead for either read or write a page which contains 5 continuous CpuSaveStates. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10328 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the unnecessary top level header files in protocol header file.lgao42010-04-011-3/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10326 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the duplicated UefiRuntimeLib in EdkCompatibilityPkg.dsclgao42010-04-011-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10325 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Remove the duplicated contents from source files and INF file of ↵lgao42010-03-274-452/+1
| | | | | | | | PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk module. 2. Add PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk module into EdkCompatibilityPkg.dsc to verify its build on package level. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10319 6f19259b-4bc3-4df7-8a09-765794883524
* Add PI SMM Status Code Protocol on Framework SMM Status Code Protocol thunk ↵rsun32010-03-263-0/+904
| | | | | | driver. This thunk driver produces PI SMM Status Code Protocol and SMM Report Status Code Handler Protocol and it registers a status code handler within itself to route status codes into Framework SMM Status Code Protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10317 6f19259b-4bc3-4df7-8a09-765794883524
* Security enhancement to SMM Base thunk drivers: Framework SMM drivers can't ↵rsun32010-03-264-9/+104
| | | | | | be loaded after SMRAM is locked. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10316 6f19259b-4bc3-4df7-8a09-765794883524
* Not maintained.hhtian2010-03-251-133/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10311 6f19259b-4bc3-4df7-8a09-765794883524
* This patch is to fix incorrect value for EfiCacheAssociativity24Way. I added ↵li-elvin2010-03-251-10/+14
| | | | | | other definitions as well defined by SMBIOS 2.6.1 spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10308 6f19259b-4bc3-4df7-8a09-765794883524
* Correct file path separator to be consistent.lgao42010-03-201-15/+15
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10293 6f19259b-4bc3-4df7-8a09-765794883524
* Ensure GDT for APs is under 4G, in order to secure that APs can safely use ↵xli242010-03-191-1/+18
| | | | | | it to switch from real mode to protected mode, as well as from protected mode to long mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10290 6f19259b-4bc3-4df7-8a09-765794883524
* Add parameter check in SmmBase.Communicate().rsun32010-03-191-0/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10289 6f19259b-4bc3-4df7-8a09-765794883524
* NumberOfCpus and SmmStartupThisAp field in Framework SMST should be updated ↵rsun32010-03-191-0/+2
| | | | | | per PI SMST at SMM runtime context. These two fields in PI SMST are not guaranteed to be valid at SMM initialization phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10285 6f19259b-4bc3-4df7-8a09-765794883524
* Refine Legacy Region thunk to comply with PI 1.2.xli242010-03-181-11/+27
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10279 6f19259b-4bc3-4df7-8a09-765794883524
* Update SmmBase Communicate Thunk behaivor to be compatible with Framework ↵rsun32010-03-181-11/+8
| | | | | | implemenation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10271 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the implementation limitation in the SmmBaseHelper driver that it ↵rsun32010-03-174-127/+69
| | | | | | assumes the Framework SMM driver to be loaded has a copy in memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10258 6f19259b-4bc3-4df7-8a09-765794883524
* Correction to remove Apple lines from Disclaimers. These were introduced ↵myronporter2010-03-156-13/+8
| | | | | | after r10220, indicating the copies of disclaimer with Apple lines are a corruption. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10247 6f19259b-4bc3-4df7-8a09-765794883524
* Add GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , ↵lgao42010-03-154-0/+1123
| | | | | | 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
* Add GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , ↵lgao42010-03-154-22/+95
| | | | | | 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
* Fix a issue to support the callback related to framework IFR REF opcode. Its ↵lgao42010-03-141-0/+2
| | | | | | callback type is EFI_IFR_TYPE_UNDEFINED according to the latest UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10241 6f19259b-4bc3-4df7-8a09-765794883524
* Support Framework IFR SELECT OP code.lgao42010-03-141-0/+40
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10240 6f19259b-4bc3-4df7-8a09-765794883524
* Grammatical and disclaimer changes (does not follow internal C coding stds.)myronporter2010-03-135-57/+71
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10238 6f19259b-4bc3-4df7-8a09-765794883524
* Update this module from DXE_DRIVER to DXE_RUNTIME_DRIVER and convert ↵hhuan132010-03-103-3/+47
| | | | | | mSmmControl pointer upon GoVirtual(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10227 6f19259b-4bc3-4df7-8a09-765794883524
* Add description for the added BootState guid.lgao42010-03-101-1/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10220 6f19259b-4bc3-4df7-8a09-765794883524
* Add the BootState GUID to EdkCompatibilityPkg.dec and the accordingly GUID ↵niruiyu2010-03-102-0/+23
| | | | | | | | header file. It’s to let the ECP platform boot in minimal mode in the non-first boot. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10217 6f19259b-4bc3-4df7-8a09-765794883524
* Update EdkCompatibilityPkg version from 0.90 to 0.91lgao42010-03-092-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10215 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiConfigAccess.ExtractConfig interface to support NULL request ↵lgao42010-03-043-52/+179
| | | | | | string and ConfigHdr request string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10180 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct coding comments.lgao42010-03-043-7/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10176 6f19259b-4bc3-4df7-8a09-765794883524
* Fix non-boolean comparison expression.lgao42010-03-033-5/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10165 6f19259b-4bc3-4df7-8a09-765794883524
* Add parameter checking for MP Services Protocol Thunk driver.xli242010-03-011-0/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10147 6f19259b-4bc3-4df7-8a09-765794883524
* Update EDKII core UEFI/PI version.lgao42010-03-011-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10142 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing check for NULL pointer before use it.lgao42010-03-011-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10140 6f19259b-4bc3-4df7-8a09-765794883524
* Update code to match EDKII coding style.lgao42010-03-0148-1402/+2170
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10130 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing check for NULL pointer before use it.lgao42010-02-272-2/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10116 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu22010-02-2512-24/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10083 6f19259b-4bc3-4df7-8a09-765794883524
* Add parameter checking for MP Services Protocol Thunk driver.xli242010-02-251-1/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10070 6f19259b-4bc3-4df7-8a09-765794883524
* Add more check to avoid code enter into wrong state.lgao42010-02-257-14/+46
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10068 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the bug that SMM Base Protocol.Communicate() does not work.rsun32010-02-253-30/+68
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10067 6f19259b-4bc3-4df7-8a09-765794883524
* Add new HII FormMap Opcode supportlgao42010-02-253-4/+59
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10065 6f19259b-4bc3-4df7-8a09-765794883524
* Correct Copyright year formatlgao42010-02-241-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10053 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-2424-88/+88
| | | | | | 2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
* Add [depex] on gEfiMpServiceProtocolGuid so the number of CPUs is knownmdkinney2010-02-212-4/+22
| | | | | | | Add [depex] on gEfiSmmCpuIo2Protocol so we know that the SMM CPU I/O 2 Protocol in the PI SMST is valid git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10037 6f19259b-4bc3-4df7-8a09-765794883524
* Change RegisterProtocolNotify for dependent protocols to [Depex] expressionmdkinney2010-02-213-380/+162
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10036 6f19259b-4bc3-4df7-8a09-765794883524
* Use Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney2010-02-162-50/+39
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10015 6f19259b-4bc3-4df7-8a09-765794883524