Commit Graph

6122 Commits

Author SHA1 Message Date
xli24 88b6bcec9d Clean ECP for build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:58:15 +00:00
qhuang8 286f1bd2a9 Remove GetCurrentLanguage () from UefiLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6759 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:44:08 +00:00
qhuang8 11e9250309 Add GetCurrentLanguage() to HiiLib in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6758 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:43:56 +00:00
qhuang8 aad6137d5c 1. Removal PalCallStatic API
2. Two two new ReadApplicationRegister.c(), ReadControlRegister.c() API together with its related definitions in BaseLib.h
3. Remove prototype of AsmSwitchStackAndBackingStore() in public BaseLib.h, it is supposed to be a worker function for AsmSwitchStack()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6757 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 06:48:03 +00:00
qhuang8 8f446d021f Add the AND of all architectural protocols for UEFI drivers. Build tool will optimize for size if the UEFI drivers only depends on these architecture protocol. Otherwise the final dependency will be AND APs AND extra dependency inherited from [depex] sections of library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6756 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 06:44:33 +00:00
lgao4 a55caa5335 Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6755 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:24:29 +00:00
lgao4 f0ba8fda36 Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6754 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:18:34 +00:00
lgao4 8bd22b8aaa Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6753 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:18:32 +00:00
xli24 067447099c Add necessary CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6752 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:07:24 +00:00
xli24 310bc7635c Add necessary CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6751 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:01:58 +00:00
lgao4 ebafc55b92 Add additional comments for structure definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6750 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 04:53:43 +00:00
klu2 9c83c97ac2 Fix ICC building issue for DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6749 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 04:37:39 +00:00
qwang12 e24d48ac46 1) Initialize return value for UefiOp for all execution path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6748 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:43:22 +00:00
qwang12 f875a4f16e 1) Change the return type of IfrLibFreeUpdateData to VOID.
2) Remove some unused #include and library instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6747 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:34:39 +00:00
qwang12 5990ace9f5 ICC IA32 Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6746 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:22:59 +00:00
klu2 25ce1e97eb Fix ECC issue for PCD Dxe and Peim
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6745 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:15:51 +00:00
klu2 352f3572ad Fix ECC issue for GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6744 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:07:59 +00:00
qwang12 cec4aed1a9 GCC/ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6743 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:05:01 +00:00
qhuang8 a5ff00a6dc Fix constructor/destructor issue for DXE_DRIVER library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6742 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 00:44:29 +00:00
qhuang8 5673300427 Fix constructor/destructor issue for DXE_RUNTIM_DRIVER library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6741 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 00:42:04 +00:00
klu2 e188a60934 Fix bundle of issue for ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 17:59:34 +00:00
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 3321fa09f0 1) Add in SharingStringPack to make UpdateString only create/update string 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-26 11:02:31 +00:00
klu2 f560de7307 Pcd Tools need .Map file when building a EFI binary for EBC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6735 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 08:21:25 +00:00
xli24 8cb5c72b30 Remove BootSector from DSC of DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6734 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 07:51:07 +00:00
xli24 dba5c4542c Fix the build failure of DuetBdsLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6733 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 07:21:58 +00:00
gikidy 9638ba6d3f Synchronize function comment in h file
with  c file instance of  this functions in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6732 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 06:57:44 +00:00
jji4 122e219151 Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6731 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 06:38:05 +00:00
qhuang8 fc0c5b3a99 Add SEC as supported module types to follow MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6730 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:52:59 +00:00
qhuang8 3d73239a43 Remove the EBC architecture support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6729 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:40:50 +00:00
jji4 718715141a Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6728 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:36:05 +00:00
gikidy 3e5c323866 Synchronize function comment in
MdePkg\Library\CpuLib.h, DebugLib.h,DevicePathLib.h, DxeServicesLib.h, DxeServicesTableLib.h, ExtractGuidedSectionLib.h, HobLib.h
with the c file instance of  this functions in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6727 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 03:26:37 +00:00
qhuang8 003c1db883 Remove checking for overflow in several Multiple functions in BaseLib, for it is not feasible to check in C code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6726 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 01:41:49 +00:00
jljusten fe186365de Fix build warning generated by ICC and MSVC compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6725 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 01:24:35 +00:00
jwang36 35a646e204 Fixed an incorrect PCD type string conversion
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6724 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 09:59:02 +00:00
jji4 66770ccb0d Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6723 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 08:38:41 +00:00
jji4 cf8ae2f6fe Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6722 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:38:54 +00:00
gikidy eb1c78dbb9 Synchronize function comment in MdePkg\Library\BaseMemoryLib.h,CacheMaintenanceLib.h with the c file instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6721 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:25:14 +00:00
vanjeff 13e4e1b76a remove vendor specific fields to improve CDROM read performance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6720 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:00:27 +00:00
lgao4 65da001c9e Add PI_SPECIFICATION_VERSION = 0x00010000 for the following library instances, because they depend on the new definitions in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6719 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 04:53:13 +00:00
gikidy 9aa049d971 Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6718 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 03:19:49 +00:00
qhuang8 04fdba5412 Fix minor issues in GCC assembly. The operand is 64bit and "q" prefix should be applied.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6717 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:49:23 +00:00
lgao4 dc8577f275 Clean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and EFI_SPECIFICATION_VERSION from all the MdePkg INF files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6716 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:36:57 +00:00
eric_tian 133e09da3d code scrub
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6715 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:26:17 +00:00
qhuang8 43fe5cdc70 Fix ICC warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6714 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 00:45:35 +00:00
qhuang8 e73bf9f394 Use ".486" for the instruction of "wbinvd"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6713 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 00:05:41 +00:00
klu2 543cecc301 Use "GLOBAL_REMOVE_IF_UNREFERENCED volatile" for variable of binary patch PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6712 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 17:57:43 +00:00
lgao4 ebff0282f2 Update VfrCompile tool to fix bug that parse the complicated expression, such as ((BOOLEAN)(1==1)) to create the wrong EndOf opcode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6711 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 11:56:43 +00:00