Commit Graph

73 Commits

Author SHA1 Message Date
lhauch 2e7ddad2a0 Modified to strip leading white-space characters and ignore blank or comment only lines
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4080 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 17:03:48 +00:00
bxing df13cebafa Fixed bug of incorrect processing of hexadecimal numbers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2567 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 08:19:54 +00:00
bxing aaed63a98d 1. Updated LOG file format generated by PeiRebase.
2. Updated PeiRebase to rebase an FV in a single pass.
3. Fixed bugs in GenFvMap to make it compilable by WinDDK and able to generate FV map file for production tip.
4. Update genefi task to copy map files to ${BIN_DIR} as well.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2559 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 07:52:41 +00:00
klu2 7e9f4e1d8e Merge the patch provided by Johnson
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2555 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 03:08:47 +00:00
klu2 d91b2da7fe Add more judgement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2539 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 08:18:50 +00:00
klu2 1d6992b936 The alignment of data section also meet with the requirement of section itself.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2536 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 07:04:33 +00:00
klu2 189985640d Fix the unalignment issue for RODATA section when converting ELF image to PE image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2531 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 05:57:31 +00:00
jwang36 e22f5aaab7 Merged the fix of CompressDll.dll manifest issue when built by VS2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2521 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02 07:38:34 +00:00
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