Commit Graph

189 Commits

Author SHA1 Message Date
qwang12 563671d4d7 EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER is defined wrongly. It should be the same with what is written down in FTW specification.
And WriteQueueSize should be defined UINT32 to make it the same width in 32 or 64-bits system.

Added two PCD entry: PcdFlashFvBaseArray and PcdFlashFvBaseArrayElementNumber

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1151 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 07:40:03 +00:00
qhuang8 ffac4bcb25 Check in patch to refine DevicePath Module and USB2HostController Module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1117 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 08:50:08 +00:00
xgu3 778cedfb9f Someone lost a new line at the end of file, it causes GCC build error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1116 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 08:13:32 +00:00
xgu3 0543618356 This is a patch to change PeiVariable PEIM depex, because t doesn’t depend on FlashMap PPI now
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1114 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 07:11:53 +00:00
klu2 5b18234d98 Add temporary fix for PeLoader
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1113 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 05:07:48 +00:00
ajfish ec412251c4 Reverted back to Old style not using the library and fixed the code to do PE32 and PE32+.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1109 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:35:16 +00:00
ajfish 2ce311322c Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class.
Added PeCoffLoaderGetMachineType to the PeCoffGetEntryPointLibrary Class. Document to be updated.

Added the PeCoffLoaderImageReadFromMemory() and PeCoffLoaderRelocateImageForRuntime () to the PcCoffLib. 

Updated EfiImage.h and removed EFI_IMAGE_OPTIONAL_HEADER and EFI_IMAGE_NT_HEADERS as they were replaced with checking the MachineType.

PeCoffLib – Added checks for MachineType so the PeCoff lib can load any PE32 or PE32+ image. The relocations are still limited to IA32, X64, IPF, and EBC. I also added a re-relocator function to remove PeLoader Code from Runtime Lib. Even though there is only one instance of the re-relocator I wanted to get all the PeCoff loader code together.

Replaced DEBUG_CODE() macro with DEBUG_CODE_START() and DEBUG_CODE_END() so you can debug through the DEBUG_CODE() macros. Also removed PE/COFF code and replaced with library usage.

I also updated the IO Instrinsic lib to use _ReadWriteBarrior() to help with sync problems

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1103 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 15:23:35 +00:00
wuyizhong c1e9ba078c Remove duplicated module definition (the same module with the same arch) in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1093 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:44:31 +00:00
ljin6 26015d2294 remove ifdef for debuglevel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1088 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 05:38:26 +00:00
yshang1 161c26a7aa Change license of following files from Intel Copy Right to BSD-license.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1086 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 11:53:34 +00:00
xgu3 5dd2d779dd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1082 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-24 08:44:40 +00:00
yshang1 a8bcbf3d11 Fix bug which define different PCD with same token number in EdkModulePkg.spd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1080 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:02:55 +00:00
yshang1 49cff29c80 Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1073 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:38:40 +00:00
yshang1 e60884f650 Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1072 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:14:12 +00:00
yshang1 3b4377493c Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1071 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:11:09 +00:00
yshang1 56836fe92b 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1067 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:25:43 +00:00
yshang1 3e48a1925b Change DxeRuntimeDriverLib name to UefiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1061 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 03:42:54 +00:00
ljin6 ac84271407 Add some comments for translator parameter in Sync/AsyncInterruptTransfer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1057 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 02:38:30 +00:00
bbahnsen c986fd09d7 Fix comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1051 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 00:32:07 +00:00
ajfish a537f1483c Fixed some naming issues and update to the EDK II name. I also fixed an issue with the UEFI library forcing UEFI.h to include Tinao protocols. I make the UEFI library a DXE library so it would get the correct includes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1048 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 12:24:11 +00:00
qwang12 2a870f5348 Add [in,out] in the @param for PCD header and c file.
Update GetNextToken and GetNextTokenSpaces APIs parameter sequence according to PCD spec.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1040 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 05:18:47 +00:00
ljin6 562d28495d Add DevicePathUtilities DevicePathToText DevciePathFromText USB2HostController protocols
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1037 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-18 04:13:40 +00:00
qwang12 a7c5092fc5 Add in function description and comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1026 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 03:43:28 +00:00
lhauch 46b45a7ce3 Updated Guid for EmuVariable entry in the ModuleSA section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1018 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-15 07:05:13 +00:00
lhauch bc9d62b3af Reset the GUID to a unique value, as it was using the same GUID as Variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1017 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-15 06:36:35 +00:00
bbahnsen a33f3dd178 Fixes for Linux builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@995 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 05:33:55 +00:00
bbahnsen a7bbc1eb5a Fix up the Stub Size Calculation which was not initially ported properly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@994 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 01:52:06 +00:00
lhauch 4aca4e8213 Removed the MdePkg Pcd Declarations which should only be specified in the MdePkg.spd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@989 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 13:12:06 +00:00
jwang36 06a9243705 Fixed a comment error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@984 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 11:31:21 +00:00
jwang36 55caf066d0 typo error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@982 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 11:04:25 +00:00
jwang36 fc67cd2c99 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@981 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-13 11:01:37 +00:00
jwang36 b6bf2f4001 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@978 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-13 10:58:39 +00:00
jwang36 a6b964ec61 Merged GCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@977 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 10:58:15 +00:00
lgao4 aab6a96a70 Fix include .h file error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@970 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:36:29 +00:00
lgao4 30dd2190ee Remove extra code in DxeLoadX64.c file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@968 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:31:23 +00:00
jwang36 5e1c3eedcd Added license & copyright declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@967 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:24:50 +00:00
lgao4 0898f77162 Move the share file: cbi.h to Cbi0 and Cbi1 directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@962 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 07:47:04 +00:00
bbahnsen a3d0b5490b Add gcc assembly files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@958 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:24:14 +00:00
bbahnsen c14ca13e80 Fix bad comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@957 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:20:00 +00:00
jwang36 738e75b619 Added all header files in the packages's include directory into spd files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@955 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:11:42 +00:00
bbahnsen b6454bcb78 Add gcc assembly file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@953 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 05:58:24 +00:00
lgao4 c7cbcc52d6 Move DriverSample module to Universal\UserInterface\ direcotry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@947 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 04:49:20 +00:00
jwang36 d633f558a1 Corrected the path and file name error in these two msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@946 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 04:49:00 +00:00
lgao4 7e89358a58 Remove EdkPeCoffLoaderLibX64 library from EdkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@931 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 00:01:16 +00:00
lgao4 cef5ff82ae Remove PeCoffLoaderLib X64, because PeCoffLoader library has supported to X64 PEImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@928 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:40:02 +00:00
lgao4 5343eab11a Add missing files in msa file and add module description in msa file, and reorganize DriverSample and DxeIplX64 module directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@927 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:38:53 +00:00
lgao4 47a16b84f2 Add missing files in msa file and add module description in msa file, and reorganize DriverSample and DxeIplX64 module directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@926 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:37:54 +00:00
lgao4 2a7b1e115d git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@925 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 23:16:00 +00:00
qhuang8 1fe4ef1bd8 1. Updated some files’ description files in MdePkg, EdkModulePkg & EdkNt32Pkg.
2.	Update .msa files to add some missing files files in MdePkg 
3.	Add Help text to Mde Library related PCDs.
4.	Fix some bugs in CpuId.S and CpuIdEx.S.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@919 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 14:15:40 +00:00
jwang36 67ffdcb021 removed unintended lines.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@912 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 12:11:49 +00:00