Commit Graph

261 Commits

Author SHA1 Message Date
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 b6228a086f add ULL suffix to Long Long number.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6738 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:27:06 +00:00
qwang12 1aaf8feb94 add ULL suffix to PEI_SERVICES_SIGNATURE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6737 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:25:34 +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 a7875fb808 ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6603 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:58:36 +00:00
qwang12 1bfbd131fa ICC Cleanup:
#if __INTEL_COMPILER

//
// Disable the extra ";" warning;
// All places referencing EFI_GUID_STRING MACRO will generate this error.
//
#pragma warning ( disable : 424 )

//
// error #593: variable "Status" was set but never used
// This error may be flagged if a function only do ASSERT on return status when 
// EFI_DEBUG is not defined (EDK's ASSERT will be defined as empty statement).
// To make EdkCompatibilityPkg buildable by ICC with EFI_DEBUG undefined, disable
// this warning.
//
#pragma warning ( disable : 593 )

//
// Disable ICC's remark #869: "Parameter" was never referenced warning.
// This is legal ANSI C code so we disable the remark that is turned on with -Wall
//
#pragma warning ( disable : 869 )

//
// Disable ICC's remark #1418: external function definition with no prior declaration.
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 1418 )

//
// Disable ICC's remark #1419: external declaration in primary source file
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 1419 )

#endif

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6602 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:57:59 +00:00
qwang12 78d9194775 ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6601 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:50 +00:00
qwang12 71f633dd05 ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6600 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:38 +00:00
qwang12 89f048160a ICC cleanup: add EFI_PEI_TRANSFER_CONTROL_SET_JUMP and EFI_PEI_TRANSFER_CONTROL_LONG_JUMP data cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6599 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:27 +00:00
qwang12 ec5ed91eef ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6598 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:52:43 +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 d9ef3b7dc4 GCC Cleanup: UINT8_MAX is defined already in standard header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6594 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:33:30 +00:00
qwang12 c44a5016b3 ICC Cleanup: Remove the unnecessary ',' in the last enum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6592 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:11:23 +00:00
qwang12 0d37437d28 GCC Cleanup: Define EFI_BREAKPOINT for GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6591 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:10:49 +00:00
qwang12 b8773e24c6 GCC Cleanup: Remove the duplicated typedef and include the header files instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6590 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:09:40 +00:00
qwang12 e2be78c1f6 GCC Cleanup: Remove the duplicated #define.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6589 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:09:13 +00:00
qwang12 70d18ad141 ICC Cleanup: Remove the unnecessary ',' in the last enum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6583 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:03:05 +00:00
qwang12 e1aa561d76 ICC Cleanup: Remove the unnecessary ',' in the last enum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6582 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:02:51 +00:00
qwang12 193942bb21 GCC Cleanup: Remove unused typedef.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6581 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:02:02 +00:00
qwang12 0e80e8f112 GCC Cleanup: Remove unused typedef.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6580 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:01:47 +00:00
qwang12 717656c782 ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6579 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:01:05 +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
qwang12 fa41279feb GCC Cleanup: Use a commenting style that pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6577 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 07:52:37 +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
qwang12 a8d048d54d ECP_PEI_PCI_CFG_PPI should be passed to ECP_PEI_PCI_CFG_PPI's function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6453 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 09:14:14 +00:00
qhuang8 dd4a462dcb Revert previous check in. ECP is only supposed to support UEFI 2.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6450 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 07:43:45 +00:00
qhuang8 c9c0c803ec Do not use statically macros of EFI_SPECIFICATION_VERSION: Use gST->Hdr.Revision to judge the use of UEFI 2.0 services or EFI 1.0 services
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6448 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 04:22:00 +00:00
lgao4 43cefa3419 Minor update for EfiVariable.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6115 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 04:21:40 +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
eric_tian 7792722626 change "\" sign to "/" sign that is comply with INF spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6053 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-28 01:48:06 +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 d9697eefe6 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6045 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:41:28 +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 d18156ec05 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6025 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:39:18 +00:00
vanjeff 82ed85bd1b Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6024 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:35:54 +00:00
vanjeff dd7881b21a Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6023 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:33:31 +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
vanjeff b7d0300da3 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6021 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:30:09 +00:00
vanjeff e007e62763 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6020 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:29:43 +00:00
vanjeff e8f9a2b6bf Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6019 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:29:16 +00:00
vanjeff 175dd7a957 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6018 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:28:51 +00:00
vanjeff e2c05af969 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6017 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:28:23 +00:00
vanjeff 01f4360447 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6016 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:27:49 +00:00
vanjeff 02c4b87e93 remove unnecessary comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5987 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 06:51:16 +00:00
qwang12 ce7a12fba0 Revert back the change. For now, ECP only support build mode with EFI_SPECIFICATION_VERSION = 0x00020000 and PI_SPECIFICATION_VERSION = 0x00000009.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5959 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 07:00:59 +00:00
lgao4 bdabfae78d Update EfiLibReportStatusCode in ECP EfiDriverLib and EfiRuntimeLib libraries to check uefi version in runtime not in build time.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5947 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-23 07:16:03 +00:00
lgao4 66df253186 1. Correct CopyMem and CompareMem to CopyGuid and CompareGuid for GUID data
2. Add the missing processor type in DataHubRecords/DataHubSubClassProcessor.h file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5926 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 09:14:00 +00:00
lgao4 bab3f2d3ac Fix build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5904 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 12:53:15 +00:00
lgao4 14085cf071 Fix the build bugs for these three files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5900 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 07:37:57 +00:00
qhuang8 33629bba69 Fix the bug in GlueLib that we should depend on the gRT revision to use the proper report status code function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5889 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12 07:54:40 +00:00
qwang12 36e90351bd Pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5875 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 06:54:24 +00:00
qwang12 2b589f71a7 // EFI_FORM_BROWSER_PROTOCOL_GUID has been changed from the one defined in Framework HII 0.92 as the
// Setup Browser protocol produced by HII Thunk Layer support the UEFI IFR and UEF String Package format.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5874 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 02:25:52 +00:00
qwang12 775bebc372 GCC clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5873 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 02:25:30 +00:00
qwang12 d4589db67b // EFI_HII_PROTOCOL_GUID has been changed from the one defined in Framework HII 0.92 as the
// Framework HII protocol produced by HII Thunk Layer support the UEF IFR and UEFI String Package
// format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5872 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 02:23:31 +00:00
qhuang8 af1b10362d 1. Rename gRT in GlueLib to avoid collision with EfiDriverLib
2. Add the extra parameter of PciCfg in the new PeiLibPciCfgModify() to keep the parameter list the same as the PciCfg->Modify(). PciCfg is just a place holder.
3. Allow platform develop to set EDKII_GLUE_PciExpressBaseAddress value in build option.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5868 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 12:53:36 +00:00
vanjeff e00e1d4694 clean up the un-suitable ';' location when declaring the functions. The regular is ")[ ]++^p;"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5821 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:44:58 +00:00
qwang12 21a54a4d0b Add .S file for X64 GCC tool-chain for Thunk16.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5751 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 15:08:59 +00:00
qwang12 b59923ae17 Add .S file for GCC tool-chain for EfiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5750 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 09:00:06 +00:00
qwang12 17b36c32d4 Add .S file for GCC tool-chain for PeiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5749 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 08:44:32 +00:00
qwang12 f1694d2768 Add .S file for GCC tool-chain for EfiCommonLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5748 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 08:21:26 +00:00
qwang12 9a1ed79890 Add Cpu.S for X64 GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5739 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 13:49:54 +00:00
qwang12 7100c9d36f Add in Thunk16.S.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5732 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-26 10:22:08 +00:00
qwang12 7fd9ac0efb Add Fx.s
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5724 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 02:03:47 +00:00
qwang12 41d80e816a Add in SupportItpDebug.S.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5723 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 01:51:20 +00:00
qwang12 822a6944bc Add .S (for GCC) file for Pei/PeiLib/PeiLib_Edk2.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5721 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 11:25:00 +00:00
qwang12 78d41186a5 Make EfiRuntimeLib pass GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5720 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:55:39 +00:00
qwang12 4b79797eea 1) Cleanup for GCC and ICC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5718 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:31:51 +00:00
qwang12 8e35b68162 1) Make EfiCpuVersion.c pass ICC and GCC tool-chain
2) Add in CpuIA32Lib_Edk2.inf.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5717 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 08:38:20 +00:00
qwang12 a926396d18 1) add in CpuIA32Lib_Edk2.inf to allow CpuIa32 to be built under GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5716 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 07:36:54 +00:00
qwang12 4d145a2a3b Add in _Edk2.inf so that library can be build by GCC and ICC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5715 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 07:09:04 +00:00
qwang12 c1ea912c6c 1) add in EfiCommonLib_Edk2.inf which will allow EfiCommonLib to build understand GCC and ICC tool-chain.
2) Add in 3 .asm files for ICC tool-chain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5714 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 06:48:07 +00:00
qwang12 0f77dfb622 Enhance the string formatting function to take "%p" to print pointer.
'p' - arugment is VOID *; printed as hex number

Example is :

  ASPrint (Buffer, 1024, "This is a %p\n", SystemTable);

  ASPrint (Buffer, 1024, "This is a %10p\n", SystemTable);


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5554 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23 07:07:07 +00:00
qwang12 c69a09d928 Add in .S file for GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5542 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-22 01:55:31 +00:00
qwang12 34a6b78805 Inline ASM in .c file is specific to MS tool-chain. Other tool-chain (such as Intel compiler) may not support it. Add in .asm files to make these function to be built by Assembler so that they are avaliable too for other tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5540 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 14:01:55 +00:00
qwang12 b962b6b54d Add in .S file for GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5537 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 10:03:20 +00:00
qwang12 a1cb16bd83 clean up for GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5536 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 09:57:43 +00:00
qwang12 0fb90682e7 Use ebp as frame buffer in DivU64x32. Fix a typo in GetPowerOfTwo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5532 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 05:57:04 +00:00
qwang12 478db76bbe Inline ASM in .c file is specific to MS tool-chain. Other tool-chain (such as Intel compiler) may not support it. Add in .asm files to make these function to be built by Assembler so that they are avaliable too for other tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5529 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 01:49:04 +00:00
qwang12 22353b17c0 Fix a bug in Power10U64. Power10U64 should clean up the stack after calling MultU64x32. It also should load eax and edx with the initial value just in case it return directly when "Power" is zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5528 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 01:42:14 +00:00