Commit Graph

76 Commits

Author SHA1 Message Date
rsun3 9e62071910 Add 4 Framework/PI SMM thunk drivers. Combined use of these drivers can support usage model of PI SMM infrastructure + Framework Chipset SMM code + Framework platform SMM code in ECP platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9657 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 08:42:28 +00:00
xdu2 df8d0595dc Update function description to be consistent with code definition: HEX_RADIX => RADIX_HEX.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9434 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 01:46:51 +00:00
AJFISH e8de46808a Fixed issues compiling for Apple gcc on IA-32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9310 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 21:48:45 +00:00
rsun3 82dae5efb3 Fix bug that home addresses for register parameters must be allocated for calling C function from X64 assembly code to follow x64 calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9303 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 09:19:59 +00:00
qhuang8 86345de537 Update to remove .intel_syntax directives to improve portability since it is not supported by all GCC assembliers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9165 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 09:38:23 +00:00
qhuang8 d82018184e Remove unnecessary .align directives.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9161 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 08:39:01 +00:00
qhuang8 b341712e31 Update to make end-of-line consistent for all source files in MdePkg. There are no other updates besides that change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9160 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 08:19:39 +00:00
eric_tian f6839dd616 fix a typo of missing a colon sign after a label symbol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8339 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 01:58:40 +00:00
eric_tian dfbb47dbd5 fix a typo of missing a colon sign after a label symbol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8332 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:50:53 +00:00
eric_tian b27af9d2c5 As ECP package is EDKI style, the AutoGen.h will not include anything. So if we use some basic data structures, we should manually include EdkIIGlueBase.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8330 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:39:32 +00:00
eric_tian 34e4a9a651 cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is used to generate underscore prior to public symbol or not within various GCC distribution versions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8317 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 03:25:20 +00:00
eric_tian 14c6da21c6 update string function comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8157 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:23:37 +00:00
qhuang8 1e4371671b Save segment registers on stack in case the thunk code assembly calls CF9 soft reset and the x64 registers get cleared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8124 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 07:47:08 +00:00
klu2 c85640b2a1 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7597 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 06:09:44 +00:00
klu2 058bf46eef Use #ifdef but not #if for compiler macros.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7535 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 06:12:14 +00:00
qwang12 d8444a2766 1) GCC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6847 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 13:32:35 +00:00
gikidy 9e21d6d026 Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the Mde_Lib_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6835 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:56:34 +00:00
qwang12 81c56b8d1a Unix GCC cleanup:
File name is case sensitive.
Foward slash is used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6819 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 13:50:50 +00:00
xli24 88b6bcec9d Clean ECP for build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:58:15 +00:00
qwang12 cec4aed1a9 GCC/ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6743 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:05:01 +00:00
qwang12 35d297c7ac PI defines the architectural way to get PeiServicesTablePointer from sizeof (UINTN) bytes before the IDT table base. Add the runtime detection of PI version so that Mm7 Library instance is usable under PI 1.0 system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6739 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:28:02 +00:00
qwang12 73396ac275 EBC Cleanup: _break is already defined in EdkCompatibilityPkg\Foundation\Include\Ebc\EfiBind.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6609 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:53:57 +00:00
qwang12 16bd006b23 ICC cleanup: #undef previously defined _DEBUG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6597 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:52:11 +00:00
qwang12 e70330e0e3 Bug Fix: Define CPU_STACK_ALIGNMENT for each ARCH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6596 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:50:35 +00:00
qwang12 af257d5087 GCC Cleanup: Add () to (EFI_D_ERROR|EFI_D_INFO) pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6578 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 07:59:24 +00:00
lgao4 64cd21af35 Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib PeiServiceLib to support the modules that uses EDKII Glue Lib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6551 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 02:12:36 +00:00
qwang12 6f4ee195af EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10.
In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with EFI 1.10 and UEFI 2.10.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6462 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 22:42:28 +00:00
vanjeff b8e2922b58 Correct the filename.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6074 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-06 01:43:21 +00:00
vanjeff 766f1ff550 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6049 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:48:28 +00:00
vanjeff 26fb47271a Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6048 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:44:57 +00:00
vanjeff 144594fae7 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6047 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:44:30 +00:00
vanjeff 1cd5081676 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6046 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:44:01 +00:00
vanjeff d9e5f7f9fc Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6044 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:40:17 +00:00
vanjeff 9d25a75f72 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6043 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:38:57 +00:00
vanjeff 32f9f963fe Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6042 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:38:37 +00:00
vanjeff 17a10e4168 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6041 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:37:34 +00:00
vanjeff d3dc3f827d Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6040 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:37:09 +00:00
vanjeff 691e587fbc Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6039 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:35:43 +00:00
vanjeff 53631e5429 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6038 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:35:19 +00:00
vanjeff 89d2171369 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6037 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:33:34 +00:00
vanjeff 1f7dded1f7 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6036 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:33:12 +00:00
vanjeff e11ddda66b Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6035 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:30:57 +00:00
vanjeff 73595a14e1 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6034 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:30:37 +00:00
vanjeff 578673010e Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6033 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:30:09 +00:00
vanjeff af8ba869fe Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6032 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:29:39 +00:00
vanjeff caf69a0f3c Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6031 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:28:51 +00:00
vanjeff b57f380865 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6030 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:28:31 +00:00
vanjeff 0fe1be7955 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6029 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:25:28 +00:00
vanjeff fbf172be37 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6026 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:43:22 +00:00
vanjeff 40a0a41be5 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6022 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:30:36 +00:00