summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
AgeCommit message (Collapse)Author
2009-01-04Revert OUTPUT_DIRECTORY to Build/EdkCompatibilityPkg. Build tool is enhanced ↵qwang12
to handle long path name issue which cause build failure in GCC tool chains git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7178 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26Upgrade both PACKAGE_VERSION and PLATFORM_VERSION to 0.5 as major function ↵qwang12
has been implemented including: 1) Verification with EDK style Chipset and Platform modules 2) Verification with EDK II cores + Compatibility Modules + EDK style Chipset and Platform modules. 3) Package level build Verification for these build combinations: 1) EFI_SPECIFICATION_VERSION=0x00020000 and PI_SPECIFICATION_VERSION=0x00009000 2) EFI_SPECIFICATION_VERSION=0x00020000 and PI_SPECIFICATION_VERSION=0x00010000 3) EFI_SPECIFICATION_VERSION=0x0002000A and PI_SPECIFICATION_VERSION=0x00010000 No major incompatible changes. Please check ChangeLog.txt for details. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7128 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25Only define MEDIA_FW_VOL_FILEPATH_DEVICE_PATH for EFI_SPECIFICATION_VERSION ↵qwang12
<= 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-18Update the OUTPUT_DIRECTORY name. This is to shorten the possbile command ↵qwang12
line which may cause a sub-process spawned from the ar command to fail for GCC tool chains. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7075 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17Following UEFI spec to do auto booting after a time-out. This feature is ↵qwang12
implemented in Framework Setup Browser and moved to MdeModulePkg/Universal/BdsDxe. The auto booting is moved here in HII Thunk module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7062 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16Clean up to update the reference of the these macros:qhuang8
EFI_SIGNATURE_16 -> SIGNATURE_16 EFI_SIGNATURE_32 -> SIGNATURE_32 EFI_SIGNATURE_64 -> SIGNATURE_64 EFI_FIELD_OFFSET -> OFFSET_OF EFI_MAX_BIT -> MAX_BIT EFI_MAX_ADDRESS -> MAX_ADDRESS These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7054 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-161) Keep the original Varstore Name when replacing it with L"Setup" to allow ↵qwang12
Framework HII module get variable which is saved by UEFI Setup Browser. 2) Fix a bug in UefiDefaultsToFwDefaults to correctly update the VariablePackList on output. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7045 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16Add in code to convert the Default VarStore name to be L"Setup" based on ↵qwang12
Framework HII's assumption. VARSTORE ID of 0 for Buffer Storage Type Storage is defined as invalid in UEFI 2.1 HII. VARSTORE ID 0 is the default VarStore ID for storage without explicit declaration in Framework HII 0.92. EDK II UEFI VFR compiler in compatible mode will assign 0x0001 as UEFI VARSTORE ID to this default storage id in Framework VFR without VARSTORE declaration. In addition, the Name of Default VarStore is assumed to be L"Setup" for those storage without explicit VARSTORE declaration in the formset by Framework HII. EDK II UEFI VFR compiler in compatible mode hard-coded L"Setup" as VARSTORE name. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7040 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07Use correct capitalization for include path.xli24
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.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6891 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04update commentqwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6848 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-041) GCC Clean up.qwang12
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 ↵gikidy
Mde_Lib_Spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6835 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Fix a bug of not initialize Private->PciRootBridgeIo correctly.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6832 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Use .radix directive that GCC assembly supports.xli24
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. ↵qwang12
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 ↵gikidy
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.qwang12
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 ↵qwang12
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:qwang12
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 ↵qwang12
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-011) Fix a bug of DefaultVarStoreId of the Form Set should be used when ↵qwang12
Framework IfrSupportLib create new opcode. 2) Remove the unnecessary OpcodeCreation.h 3) Update the doxygen function header. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6787 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01Fixed a error although Math.c is not built include for building.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6785 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01GCC Cleanup: Files name should match the case in the file system.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6784 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01GCC cleanup: forward slash used.oqwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6783 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29Move GlueLib's PeiPerformanceLib and DxePerformanceLib to ↵qwang12
[Components.IA32,Components.X64] and [Libraries.IA32,Libraries.X64] as the ECP implementation use AsmReadTsc () function (IA32/X64 only). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6779 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6778 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.qwang12
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 ↵qwang12
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-28Update the entry point function's prototype.qwang12
Add Doxygen function header. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6769 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28Update the entry point function's prototype.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6768 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27Clean ECP for build failure.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-271) Initialize return value for UefiOp for all execution path.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6748 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27ICC IA32 Cleanup.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6746 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27GCC/ICC Cleanup.qwang12
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 ↵qwang12
(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.qwang12
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 qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6737 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-261) Add in SharingStringPack to make UpdateString only create/update string ↵qwang12
token in the String Packages that shares String Package with each other. For a String Token to be updated in a Package, TagGUID must be the same and SharingStringPack need to be true too. If a package list has both String Package and Form Package registered, the Create/Update of String Token will only be done in this Package List. 2) Add in Doxygen Function headers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6736 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-211) StrGather (Build.exe) in compatible mode add a Framework Package Header ↵qwang12
to replace the original “ArrayLength” generated in the output. 2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output. 3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface. 4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6672 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20GCC Build Clean: Add doxygen comment and fix build break issue.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6647 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-181) Covert the FvAttributes back to format defined in Framework spec after ↵qwang12
calling the PI FV Protocol. This behavior is defined in Framework spec. 2) Set the EFI_FV_FILE_ATTRIB_MEMORY_MAPPED before calling PI FV Protocol->WriteFile interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6612 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18Covert the FvAttributes back to format defined in PI spec after calling the ↵qwang12
Framework FV Protocol. This behavior is defined in PI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6611 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18EBC Cleanup: BaseIoLibIntrinsic is only supported for IA32, IPF, X64qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6610 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18EBC Cleanup: _break is already defined in ↵qwang12
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-18Remove unused comment.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6605 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-181) Change the EFI_SPECIFICATION_VERSION to 0x00020000 and ↵qwang12
PI_SPECIFICATION_VERSION to 0x00009000. EdkCompatibilityPkg.dsc by default support UEFI 2.0 and Framework 0.9x. 2) Replace using these EDK 2 style INF file so that EdkCompatibilityPkg.dsc can be built under GCC, ICC and MSFT tool-chain. EfiCommonLib_Edk2.inf EfiRuntimeLib_Edk2.inf Thunk16Lib_Edk2.inf PeiLib_Edk2.inf CpuIA32Lib_Edk2.inf git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6604 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC Cleanup.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6603 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18ICC Cleanup:qwang12
#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 **) qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6601 6f19259b-4bc3-4df7-8a09-765794883524