summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Compatibility
AgeCommit message (Collapse)Author
2011-04-27Fix 2 BootScript thunk issue on MEM_POLL.jyao1
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.lzeng14
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.ydong10
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.ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11389 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update module to pass in a valid EFI_HANDLE when is reloads and restarts ↵mdkinney
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 ↵lgao4
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-01-28Don't need to update its copy right. It is same to previous version. lgao4
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. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11280 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-24Correct file name. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11269 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-05Correct return value check.jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11227 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-26Fix CYG GCC build fail on retf.jyao1
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.jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11201 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24Fix GCC build failure.jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11200 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22Fix boot script thunk issue that we need dispatch in PEI mode for Framework ↵jyao1
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-10Add missing fields of Type 4 conversion.li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11148 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-28Correct Comments.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10984 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-12Add Framework SMM Status Code Protocol on PI SMM Status Code Protocol Thunk ↵rsun3
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.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-08-27Program virtual wire mode and disable LINT0 and LINT1 in ApProcWrapper() of ↵rsun3
MpServicesOnFrameworkMpServicesThunk. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10828 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-23Update MpServicesOnFrameworkMpServicesThunk to consume Local APIC library.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10815 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-17SmmBaseHelper: Update MP state in Framework SMST before transferring control ↵rsun3
to Framework SMM driver entry point. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10802 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30Add boundary check against APIC ID.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10757 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30Fix GCC build.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10715 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30Fix the risk of AP stack conflict.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10714 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-27Fix Xcode build break.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10699 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-271. Consume Debug Agent Library to support debugging AP code based on PI MP ↵vanjeff
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
2010-07-22Fix a bug in SmmBaseHelper driver that the JMP instruction which jumps to ↵rsun3
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
2010-06-15EdkCompatibilityPkg: Fix EFIAPI usage inconsistenciesjljusten
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
2010-06-15ECP MpServicesOnFrameworkMpServicesThunk: Fix build with GCCjljusten
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
2010-06-111.Restore BSP IDT table to AP when AP wakeup.vanjeff
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
2010-06-09Fix the issue that if OEM SMBIOS data includes string, it will cause ↵li-elvin
SmbiosFldMiscTypeOEM buffer overflow. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10569 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10419 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-22Add the correct check for the return value before use them.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10396 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-12Correct data conversion from pointer to integer.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10358 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-12Add the blank line at the end of file to pass ICC compiler. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10357 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-091. Add the missing function headers. lgao4
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
2010-04-02Add function comments and refine function parameter IN OUT.jgong5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10329 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-02Use on-demand paging for CpuSaveStates read/write. It was measured about ↵jgong5
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
2010-04-01Remove the unnecessary top level header files in protocol header file.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10326 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-271. Remove the duplicated contents from source files and INF file of ↵lgao4
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
2010-03-26Add PI SMM Status Code Protocol on Framework SMM Status Code Protocol thunk ↵rsun3
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
2010-03-26Security enhancement to SMM Base thunk drivers: Framework SMM drivers can't ↵rsun3
be loaded after SMRAM is locked. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10316 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19Ensure GDT for APs is under 4G, in order to secure that APs can safely use ↵xli24
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
2010-03-19Add parameter check in SmmBase.Communicate().rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10289 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19NumberOfCpus and SmmStartupThisAp field in Framework SMST should be updated ↵rsun3
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
2010-03-18Refine Legacy Region thunk to comply with PI 1.2.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10279 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18Update SmmBase Communicate Thunk behaivor to be compatible with Framework ↵rsun3
implemenation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10271 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17Remove the implementation limitation in the SmmBaseHelper driver that it ↵rsun3
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
2010-03-15Correction to remove Apple lines from Disclaimers. These were introduced ↵myronporter
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