Commit Graph

65 Commits

Author SHA1 Message Date
lgao4 60ad347998 When GenFvMap tool doesn't open one module map file, it will skip this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2323 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 05:56:49 +00:00
ywang 68a96e7358 Minor word change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2269 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 22:07:47 +00:00
ywang 6b26610128 Minor word change in utility display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2268 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 21:42:42 +00:00
ywang 26355eed43 Modified the version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2263 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 21:46:35 +00:00
ywang 243009a7bf Modified version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2262 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 21:31:03 +00:00
klu2 9fc9e7e0f4 ReCaculate the checksum after fixing up AP section for Sec module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2260 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 08:07:41 +00:00
bxing 93d16c6993 1. Change "BA" to "BaseAddress" and "EP" to "EntryPoint".
2. Sort modules by their preferred load address in ascending order.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2254 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 08:11:09 +00:00
lgao4 497ef745f0 Fix PeLoad function can't handle invalid PeImage to skip correct debug entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2253 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 06:30:16 +00:00
lgao4 582c7220f8 Correct TeImage Header based on PeiCis spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2250 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:24:23 +00:00
lgao4 5b66424456 Correct TeImage file format and Clean up PeiRebase tool to remove unused code and only relocate image.
Move two EFI_DEP_REPLACE_TRUE and DEPEX_STACK_SIZE_INCREMENT macros from MdePkg to EdkModule/DxeMain module, because these two macros are specific implementation, not defined in spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2249 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:13:40 +00:00
klu2 34dca9d54a Add ULL for long long type value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2239 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 07:35:53 +00:00
klu2 9dcae728e1 Correct some linux building issue and wrong file header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2238 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 07:28:44 +00:00
klu2 f6ab0ceeac Add checking code for GenAcpiTable tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2237 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 07:18:23 +00:00
ywang c6359f6825 Modified utility usage and version display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2211 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 21:08:01 +00:00
ywang eaad41e892 Modified utility usage and version display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2210 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 21:00:22 +00:00
ywang fd23b925fb Added/modified utility usage and version display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2209 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 20:52:01 +00:00
xli24 cee3584d1e Original range calculation in GetNextFile() is incorrect.
This patch fixes this issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2207 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 07:58:08 +00:00
ywang 60db81c16b git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2201 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-09 22:29:27 +00:00
jwang36 18a964cf70 Increased the image buffer size to avoid invalid address access issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2200 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 13:37:54 +00:00
jwang36 d0b053b7c2 Merged back the Yizhong's fix which was overwritten by check-in of r2157,2158.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2197 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 02:41:18 +00:00
ywang db608e6b5b Minor changes and bug fixes implemented.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2196 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 22:27:20 +00:00
lgao4 0ce0d9ae95 Fix one minor bug for GenDepex tool. When no input parameter, GenDepex tool should output help info.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2189 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 03:44:30 +00:00
tgingold 8ba7afaf2e automagically convert ELF to PE/COFF (i386 only)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2181 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06 14:54:24 +00:00
klu2 9fae0373b0 Fix building issue for VC compiler. And enable GenFvMap in building CCode package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2168 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:43:12 +00:00
klu2 1b266b0c7e Fix building issue for Mac OS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2167 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:33:14 +00:00
klu2 327bd141ad Fix building error in Linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2165 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:08:27 +00:00
bbahnsen 64bbd2e3c6 Remove GenFvMap from the build since it does not compile under gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2163 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03 22:15:50 +00:00
ywang 52be9a3b67 Added or modified utility version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2162 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03 22:09:16 +00:00
ywang 66b23b953f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2160 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-02 22:00:24 +00:00
ywang f091efb3cb Added or modified utility version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2159 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-02 20:17:36 +00:00
bxing a3ab2a47d9 Integrated FV memory map into R9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2158 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-31 09:55:05 +00:00
bxing 8733430b83 1. Added a new tool GenFvMap, which is able to generate FV map files upon LOG files generated by PeiRebase.
2. Updated PeiRebase to generate LOG files while processing FV images. The original MAP feature and its corresponding option '-M' are dropped, however, they are superceded by the FV map file.
3. The FV map file are not generated yet. My next check-in will update FPD files to generate FV map files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2157 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30 09:17:16 +00:00
klu2 242c77a085 Downgrade the checking for 'extra qualification' introduced by latest gcc version
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2156 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30 06:18:21 +00:00
klu2 265c22cc33 Handle new relocation type EFI_IMAGE_REL_BASED_DIR64 for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2075 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 03:43:57 +00:00
lgao4 4afc6a7bf2 (1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type to conform to spec.
(2) Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC,
  & X64 images all.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2069 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 11:32:26 +00:00
klu2 b2b5e78fbb Fix the issues caused by EfiCompress.h was changed to Compress.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2066 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 06:39:45 +00:00
xli24 02918ed0ab Let specify GUID value for GUID-defined FV region, and remove potential dead loop in Nt32 package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2065 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 06:02:54 +00:00
klu2 30f80dd8de The main issue want to be resolve is that some tools need EfiCompress and other tools need TianoCompress, but only common Compress(indeed is TianoCompress) is provided in tool/CCode/Common.
EfiCompress and TianoCompress are all originated from LZ77 algorithms and they have very little different, that different position set for Huffman code.
	EfiCompress is defined in EFI 1.1 spec and EfiRom tool need it to create a recognized compressed EFI driver.
	TianoCompress is for pursuer more size saving and it used be GenFfs and GenSection tools.
	So this patch:
	1) Split EfiComress and TianoCompress in edkII’s tools
	2) Change EfiRom tool use EfiCompress and GenFfs/GenSection use TianoCompress


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2064 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 05:29:07 +00:00
bbahnsen 6a138c666a Do not check __STDC_VERSION__ for gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2047 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-04 17:01:58 +00:00
rsun3 d9e0f88e2f Fix a bug when zeroing exception data in FwImage tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2039 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 04:02:47 +00:00
bbahnsen 22982ae4a2 _filelength is a function of fd, not FILE *
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2038 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 21:03:11 +00:00
mdkinney c6137cfd5d Add support for.sdata sections
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2013 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-26 04:07:04 +00:00
wuyizhong 0f2da7f1d3 A minor mistake. Remove debug info.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2005 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 08:24:42 +00:00
wuyizhong c4da108316 Change supporting section alignment from 4k to 64k. Add check whether section-alignment and file-alignment match or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2004 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 08:22:43 +00:00
lgao4 4c50c88544 Enhance peirebase tool to get base address from the corresponding fv.inf file, which don't need one base address parameter for this tool any longer. We can reduce base address duplicated definition in fv.inf and fpd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1986 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 09:29:14 +00:00
qouyang b609c89b77 Fixed EDKT419.
Removing C Pre-Processing from VfrCompile Tool.
Now the input file for VfrCompile tool should be *.i file which was preprocessed by compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1964 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 10:19:07 +00:00
ywang a85cb24e2b File modified to add usage information and implement minor corrections.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1954 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 22:01:45 +00:00
wuyizhong 1d940d05b5 Update ParseInf to resolve different line separator between WINDOWS and LINUX (\r\n vs. \n). Update GenFvImage to resolve different file separator between WINDOWS and LINUX (\ vs. /). Add variable initialize for SymImageSize.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1908 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 03:03:06 +00:00
cwu11 b51f14f4d6 This check-in add Pci23.h, Pci30.h, EfiPci.h and take those originally put in Pci22.h to their proper position in the new files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1907 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 03:02:33 +00:00
cwu11 3681d193ed This check-in fixed the following bugs:
1.	Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
2.	SetVariable() with DataSize=0xffffffff will cause system hang
(EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c)
3.	Windows XP Pro & XP HOME Fails to Install from Retail CD
(EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c)
4.	Pci22.h header file needs to add some recent type
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
5.	Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller
(EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c;
EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa;
EdkModulePkg\ EdkModulePkg.spd)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 04:20:32 +00:00