summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg
Commit message (Collapse)AuthorAgeFilesLines
* Add Framework SMM Status Code Protocol on PI SMM Status Code Protocol Thunk ↵rsun32010-10-123-0/+120
| | | | | | driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10918 6f19259b-4bc3-4df7-8a09-765794883524
* Refine some code to make code run safely.ydong102010-09-135-11/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10873 6f19259b-4bc3-4df7-8a09-765794883524
* Refine some code to make the code run safely.ydong102010-09-1015-59/+60
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10863 6f19259b-4bc3-4df7-8a09-765794883524
* Program virtual wire mode and disable LINT0 and LINT1 in ApProcWrapper() of ↵rsun32010-08-271-0/+6
| | | | | | MpServicesOnFrameworkMpServicesThunk. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10828 6f19259b-4bc3-4df7-8a09-765794883524
* Add Local APIC library mapping.rsun32010-08-231-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10816 6f19259b-4bc3-4df7-8a09-765794883524
* Update MpServicesOnFrameworkMpServicesThunk to consume Local APIC library.rsun32010-08-233-138/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10815 6f19259b-4bc3-4df7-8a09-765794883524
* SmmBaseHelper: Update MP state in Framework SMST before transferring control ↵rsun32010-08-171-1/+2
| | | | | | to Framework SMM driver entry point. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10802 6f19259b-4bc3-4df7-8a09-765794883524
* Add boundary check against APIC ID.xli242010-07-301-0/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10757 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the check for macro definition __EDKII_GLUE_PEI_HOB_LIB__.lgao42010-07-301-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10719 6f19259b-4bc3-4df7-8a09-765794883524
* Fix GCC build.xli242010-07-301-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10715 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the risk of AP stack conflict.xli242010-07-308-96/+99
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10714 6f19259b-4bc3-4df7-8a09-765794883524
* Use local version EfiScriptLibAsciiStrLen() and EfiScriptLibStrLen() ↵lgao42010-07-291-3/+51
| | | | | | function to get string length so that this library doesn't depend on other EDK libraries and it can be linked together with EdkIIGlueLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10711 6f19259b-4bc3-4df7-8a09-765794883524
* Sync fix on MdePkg r9982.lgao42010-07-291-5/+0
| | | | | | | | 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
* Fix Xcode build break.andrewfish2010-07-271-10/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10699 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Consume Debug Agent Library to support debugging AP code based on PI MP ↵vanjeff2010-07-274-2/+68
| | | | | | | | | | | protocol. 2. Copy LVT Timer setting from old BSP to new BSP when SwitchBsp() to make sure debug timer worked after bsp switched. 3. Save and restore old BSP's TSC value to new one. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10698 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in SmmBaseHelper driver that the JMP instruction which jumps to ↵rsun32010-07-222-4/+4
| | | | | | the original page fault handler is incorrect. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10681 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update FFS_FIXED_CHECKSUM to 0xAA to match PI FV image generated by ↵lgao42010-07-192-6/+4
| | | | | | | | | EDKII build tool. 2. Clean up EfiScriptLib by removing unused EfiDriverLib from its INF file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10662 6f19259b-4bc3-4df7-8a09-765794883524
* Fixes for the ARM port of SCTsandrewfish2010-07-164-1/+20
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10656 6f19259b-4bc3-4df7-8a09-765794883524
* Ported more of EdkCompatabilityPkg to ARM to support SCT port.andrewfish2010-07-098-2/+120
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10641 6f19259b-4bc3-4df7-8a09-765794883524
* Remove unnecessary volatile for local Index variable.lgao42010-06-281-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10608 6f19259b-4bc3-4df7-8a09-765794883524
* Add back the removed pair of "#ifndef VA_START" and "#endif" in recent ↵rsun32010-06-231-0/+5
| | | | | | check-in to avoid macro redefinition. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10595 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg: Fix EFIAPI usage inconsistenciesjljusten2010-06-154-0/+10
| | | | | | These inconsistencies cause a build error for GCC 4.4 X64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10587 6f19259b-4bc3-4df7-8a09-765794883524
* ECP MpServicesOnFrameworkMpServicesThunk: Fix build with GCCjljusten2010-06-152-7/+9
| | | | | | | Add definitions for IdtrProfile (IA32) and IdtrLocation (X64) into GCC assembly code files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10586 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg VA_LIST: Fix build issue with GCC 4.4jljusten2010-06-151-16/+58
| | | | | | Merge from MdePkg/Include/Base.h to fix build issues with GCC 4.4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10585 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg IA32 EfiBind.h: Do not include stdint.hjljusten2010-06-151-36/+21
| | | | | | | | | Merge from MdePkg/Include/Ia32/ProcessorBind.h. Do not include stdint.h. Instead define the basic types ourselves. This fixes a build issue with GCC on X64 Linux. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10584 6f19259b-4bc3-4df7-8a09-765794883524
* Initialize the local variable before refer to them. lgao42010-06-124-9/+20
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10577 6f19259b-4bc3-4df7-8a09-765794883524
* 1.Restore BSP IDT table to AP when AP wakeup.vanjeff2010-06-118-52/+153
| | | | | | | 2.Restore Virtual wire mode on AP when AP wakeup. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10575 6f19259b-4bc3-4df7-8a09-765794883524
* Add more check to make sure code run safely.lgao42010-06-1125-102/+275
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10574 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the issue that if OEM SMBIOS data includes string, it will cause ↵li-elvin2010-06-093-23/+78
| | | | | | SmbiosFldMiscTypeOEM buffer overflow. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10569 6f19259b-4bc3-4df7-8a09-765794883524
* synchronize interget type definition from MdePkg's processbinding.h to make ↵klu22010-05-262-37/+21
| | | | | | build pass under GCC44 tool chain git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10543 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up package/platform DSC files by the following steps:lgao42010-05-211-2/+0
| | | | | | | | | 1. Remove PCDs those use the default values/types from the DEC file. 2. Remove the unused library instances. 3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10527 6f19259b-4bc3-4df7-8a09-765794883524
* Change TPM_BASE to 0 per TPM spec.rsun32010-05-182-11/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10499 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.xdu22010-05-101-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10476 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-28620-1240/+1240
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10435 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-28299-598/+598
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10434 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-28794-1588/+1588
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10433 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-28170-340/+340
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10432 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-243-6/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10421 6f19259b-4bc3-4df7-8a09-765794883524
* 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