summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation
AgeCommit message (Collapse)AuthorFilesLines
2009-04-08updated to use the term “temporary memory” but not CAReric_tian4-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8038 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03PeiLib uses PEI PCI CFG 2 PPI, so it depends on EdkFrameworkPpiLib.rsun31-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8021 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-231, Use #if defined() to judge the switching macro such as compiler macro. klu23-6/+6
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-17Use #ifdef but not #if for compiler macros.klu21-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7535 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-111) Replace IA32API with EFIAPI to standardise the calling convention.qwang122-22/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7499 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01For ECP, disable ICC's remark #869: "Parameter" was never referenced warning.xli243-0/+18
This is legal ANSI C code so we disable the remark that is turned on with -Wall git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7383 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-15Add Load File 2 Protocol and MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH ↵qhuang84-0/+126
definition to build newest shell source. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7286 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25Only define MEDIA_FW_VOL_FILEPATH_DEVICE_PATH for EFI_SPECIFICATION_VERSION ↵qwang121-0/+2
<= 0x00020000. When EFI_SPECIFICATION_VERSION > 0x00020000, this definition is defined at EdkCompatibilityPkg\Foundation\Efi\Include\EfiDevicePath.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7123 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07Use correct capitalization for include path.xli241-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6893 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06IPF GCC tool-chain cleanup.qwang122-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6891 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-041) GCC Clean up.qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6847 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the ↵gikidy3-13/+14
Mde_Lib_Spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6835 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Use .radix directive that GCC assembly supports.xli241-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6830 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04a statement ".radix D" which cause build break for *NIX IPF tool-chain. ↵qwang121-1/+1
This is temperarily comment out. This .s file will be reimplemented to follow EDKII's MdePkg's BaseLib's IPF instruction flush code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6829 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT ↵gikidy1-2/+2
issue about definition and implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6827 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04UNIX GCC cleanup: file name is case sensitive.qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6824 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-031) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as ↵qwang121-1/+8
EFI_BREAKPOINT and MEMORY_FENCE. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6820 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03Unix GCC cleanup:qwang123-3/+3
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-021) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as ↵qwang129-0/+397
EFI_BREAKPOINT and MEMORY_FENCE. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6806 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01Fixed a error although Math.c is not built include for building.qwang121-1/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6785 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01GCC cleanup: forward slash used.oqwang121-8/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6783 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.qwang121-0/+74
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6777 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-291) Revert the original CompilerStubLib.inf which will be built by EDK tool ↵qwang123-30/+8
chain. CompilerStubLib_Edk2.inf is the one that should be built by EDK II tool chain. 2) Revert the memcpy.c and memset.c. We use CompilerStubLib_Edk2.inf to switch the file combinations that are built under differnt tool-chains. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6776 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27Clean ECP for build failure.xli2411-21/+28
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27GCC/ICC Cleanup.qwang122-11/+11
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6743 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26PI defines the architectural way to get PeiServicesTablePointer from sizeof ↵qwang121-9/+9
(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-26add ULL suffix to Long Long number.qwang121-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6738 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26add ULL suffix to PEI_SERVICES_SIGNATURE qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6737 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18EBC Cleanup: _break is already defined in ↵qwang121-6/+0
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-18ICC Cleanup.qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6603 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC Cleanup:qwang121-0/+39
#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-18ICC cleanup: Add in (CONST EFI_PEI_SERVICES **) qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6601 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC cleanup: Add in (CONST EFI_PEI_SERVICES **) qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6600 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC cleanup: add EFI_PEI_TRANSFER_CONTROL_SET_JUMP and ↵qwang121-2/+2
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-18ICC cleanup: Add in (CONST EFI_PEI_SERVICES **) qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6598 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC cleanup: #undef previously defined _DEBUG.qwang121-0/+11
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6597 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18Bug Fix: Define CPU_STACK_ALIGNMENT for each ARCH.qwang124-0/+21
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6596 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: UINT8_MAX is defined already in standard header file.qwang121-0/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6594 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC Cleanup: Remove the unnecessary ',' in the last enum.qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6592 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: Define EFI_BREAKPOINT for GCC build.qwang121-0/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6591 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: Remove the duplicated typedef and include the header files instead.qwang121-1/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6590 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: Remove the duplicated #define.qwang121-2/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6589 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC Cleanup: Remove the unnecessary ',' in the last enum.qwang121-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6583 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC Cleanup: Remove the unnecessary ',' in the last enum.qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6582 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: Remove unused typedef.qwang121-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6581 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: Remove unused typedef.qwang121-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6580 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC Cleanup.qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6579 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: Add () to (EFI_D_ERROR|EFI_D_INFO) pass GCC build.qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6578 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18GCC Cleanup: Use a commenting style that pass GCC build.qwang122-9/+12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6577 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib ↵lgao43-0/+132
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