summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
AgeCommit message (Collapse)AuthorFilesLines
2008-12-161) Keep the original Varstore Name when replacing it with L"Setup" to allow ↵qwang125-26/+42
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 ↵qwang123-23/+38
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.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-04update commentqwang121-1/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6848 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-04Fix a bug of not initialize Private->PciRootBridgeIo correctly.qwang121-0/+2
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.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:qwang124-8/+8
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-011) Fix a bug of DefaultVarStoreId of the Form Set should be used when ↵qwang1210-535/+341
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.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: Files name should match the case in the file system.qwang121-3/+3
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.oqwang121-8/+8
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 ↵qwang121-13/+4
[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.qwang121-1/+103
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.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-28Update the entry point function's prototype.qwang121-19/+12
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.qwang122-2/+2
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.xli2414-28/+36
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.qwang121-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6748 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27ICC IA32 Cleanup.qwang121-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6746 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-261) Add in SharingStringPack to make UpdateString only create/update string ↵qwang125-234/+370
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 ↵qwang124-38/+166
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.qwang121-2/+9
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 ↵qwang121-10/+52
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 ↵qwang121-8/+36
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, X64qwang121-4/+1
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 ↵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-18Remove unused comment.qwang121-15/+0
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 ↵qwang121-8/+23
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.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