Commit Graph

6200 Commits

Author SHA1 Message Date
qhuang8 ee6c452c81 Detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6638 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 15:14:25 +00:00
lgao4 c48d41d2c7 Update SecurityStub function to align PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6637 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 14:25:16 +00:00
lgao4 f1004231ee Update comments for Protocol definitions to match UEFI spec. And add the missing comments for the data structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6636 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 14:24:27 +00:00
lgao4 74fec7085b Update comments for Protocol definitions to match UEFI spec.
And add the missing comments for the data structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6635 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 14:23:54 +00:00
qwang12 1ef3d003d6 Update the base name based on convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6634 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 13:38:22 +00:00
qwang12 7064c0a5aa ECC Cleanup: Update Doxygen comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6633 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 13:36:34 +00:00
qwang12 a3a70b6ac1 Doxygen fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6632 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 12:30:42 +00:00
qwang12 69367b5bb9 Fixed a ECC error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6631 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 12:01:25 +00:00
jji4 86c4360b5c Comments have been synchronized with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6630 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 10:01:14 +00:00
gikidy d80b2f71fc Synchronize the MdePkg\Include\Library\BaseMemoryLib.h,
CacheMaintenance.h,CpuLib.h,DebugLib.h,DevicePathLib.h with the MDE_Library_Spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6629 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 10:00:35 +00:00
jji4 6a0e332d93 Comments have been synchronized with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6628 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 09:26:01 +00:00
qwang12 adde977ad4 Fix two doxygen comment bugs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6627 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 08:57:18 +00:00
jji4 6d728ea86e Comments have been synchronized with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6626 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 08:52:23 +00:00
jji4 d0218f26a8 clean up several unicode characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6625 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 08:34:41 +00:00
qwang12 71898234de Update doxygen comment for VarArg list parameter. "..."'s description is added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6624 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:30:57 +00:00
qwang12 285010e7dc Update doxygen comment for VarArg list parameter. "..."'s description is added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6623 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:29:46 +00:00
qwang12 dae6a1d3b2 Update doxygen comment for VarArg list parameter. "..."'s description is added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6622 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:25:56 +00:00
qwang12 00a1f55295 Update doxygen comment for VarArg list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6621 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:24:44 +00:00
qwang12 967c09fa7c Update doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6620 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:24:16 +00:00
qwang12 fda7f64fa7 Update doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6619 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:23:04 +00:00
qhuang8 c2efc4b060 Split Ebc from x64 implementation since x64 version supports to create x64 mode page tables in memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6618 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:06:02 +00:00
jwang36 b21f3994c7 Removed GLOBAL_REMOVE_IF_UNREFERENCED for patchable PCD because it will cause that patchable PCD variables information won't be in the map file generated by linker.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6617 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 02:25:50 +00:00
jcarsey 19c4f0ec65 fixing Doxygen comment block
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6616 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 17:18:20 +00:00
jgong5 ed729a0c3c synced function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6615 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:30:46 +00:00
qwang12 83bcb6613f [VfrCompiler FeatureRequest] Generate data for ConfigAccess.ExtractConfig() impl
Update the platform code after the above VfrCompiler checkin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6614 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:29:48 +00:00
qwang12 a19b85ea59 [VfrCompiler FeatureRequest] Generate data for ConfigAccess.ExtractConfig() impl
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6613 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:27:22 +00:00
qwang12 19caab516d 1) Covert the FvAttributes back to format defined in Framework spec after 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-18 14:20:01 +00:00
qwang12 9e99ce325a Covert the FvAttributes back to format defined in PI spec after calling the 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-18 14:18:25 +00:00
qwang12 6d8f3e5d57 EBC Cleanup: BaseIoLibIntrinsic is only supported for IA32, IPF, X64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6610 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:55:17 +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
jgong5 ce904bae52 synced function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6608 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:37:36 +00:00
xli24 05975035a2 Update PciOptionRomSupport.c to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6607 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:27:35 +00:00
jji4 f1db45f81a Code Scrub: Code has been checked with MDE spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6606 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 11:33:48 +00:00
qwang12 9a737ffeab Remove unused comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6605 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 10:04:51 +00:00
qwang12 9836611611 1) Change the EFI_SPECIFICATION_VERSION to 0x00020000 and 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-18 10:03:39 +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
jgong5 2ff2921247 synced function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6595 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:29:44 +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 6b6f745214 ICC Cleanup: add data typecast after arithemtics.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6593 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:12:25 +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