summaryrefslogtreecommitdiff
path: root/Tools/CCode
AgeCommit message (Collapse)AuthorFilesLines
2007-04-13Fixed bug of incorrect processing of hexadecimal numbers.bxing1-9/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2567 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-111. Updated LOG file format generated by PeiRebase.bxing2-321/+507
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-11Merge the patch provided by Johnsonklu22-2/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2555 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05Add more judgement.klu21-3/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2539 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05The alignment of data section also meet with the requirement of section itself.klu21-2/+10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2536 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Fix the unalignment issue for RODATA section when converting ELF image to PE ↵klu21-14/+22
image. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2531 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02Merged the fix of CompressDll.dll manifest issue when built by VS2005jwang361-0/+10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2521 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26When GenFvMap tool doesn't open one module map file, it will skip this module.lgao41-3/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2323 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18Minor word change.ywang1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2269 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18Minor word change in utility display.ywang1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2268 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17Modified the version and usage display.ywang1-6/+48
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2263 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17Modified version and usage display.ywang3-48/+148
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2262 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17ReCaculate the checksum after fixing up AP section for Sec module.klu21-11/+170
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2260 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-161. Change "BA" to "BaseAddress" and "EP" to "EntryPoint".bxing1-15/+27
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-16Fix PeLoad function can't handle invalid PeImage to skip correct debug entry.lgao41-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2253 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15Correct TeImage Header based on PeiCis spec.lgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2250 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15Correct TeImage file format and Clean up PeiRebase tool to remove unused ↵lgao43-350/+118
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-12Add ULL for long long type valueklu21-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2239 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12Correct some linux building issue and wrong file headerklu25-8/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2238 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12Add checking code for GenAcpiTable tools.klu28-0/+1861
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2237 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10Modified utility usage and version display.ywang1-4/+56
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2211 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10Modified utility usage and version display.ywang2-20/+29
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2210 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10Added/modified utility usage and version display.ywang2-28/+42
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2209 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10Original range calculation in GetNextFile() is incorrect.xli241-6/+8
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-09git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2201 ↵ywang4-34/+149
6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09Increased the image buffer size to avoid invalid address access issuejwang361-5/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2200 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09Merged back the Yizhong's fix which was overwritten by check-in of r2157,2158.jwang361-9/+27
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2197 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08Minor changes and bug fixes implemented.ywang13-75/+236
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2196 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08Fix one minor bug for GenDepex tool. When no input parameter, GenDepex tool ↵lgao41-16/+9
should output help info. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2189 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06automagically convert ELF to PE/COFF (i386 only)tgingold1-7/+571
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2181 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04Fix building issue for VC compiler. And enable GenFvMap in building CCode ↵klu22-2/+1
package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2168 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04Fix building issue for Mac OSklu22-1/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2167 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04Fix building error in Linuxklu22-7/+21
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2165 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03Remove GenFvMap from the build since it does not compile under gcc.bbahnsen1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2163 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03Added or modified utility version and usage display.ywang4-22/+111
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2162 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-02git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2160 ↵ywang1-3/+3
6f19259b-4bc3-4df7-8a09-765794883524
2007-01-02Added or modified utility version and usage display.ywang12-101/+312
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2159 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-31Integrated FV memory map into R9bxing3-121/+70
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2158 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-301. Added a new tool GenFvMap, which is able to generate FV map files upon ↵bxing5-272/+942
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-30Downgrade the checking for 'extra qualification' introduced by latest gcc ↵klu21-0/+1
version git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2156 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08Handle new relocation type EFI_IMAGE_REL_BASED_DIR64 for X64.klu21-35/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2075 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07(1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION ↵lgao45-29/+218
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-07Fix the issues caused by EfiCompress.h was changed to Compress.h.klu22-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2066 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07Let specify GUID value for GUID-defined FV region, and remove potential dead ↵xli241-1/+63
loop in Nt32 package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2065 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07The main issue want to be resolve is that some tools need EfiCompress and ↵klu28-889/+2521
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-04Do not check __STDC_VERSION__ for gcc.bbahnsen1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2047 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30Fix a bug when zeroing exception data in FwImage toolrsun31-0/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2039 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29_filelength is a function of fd, not FILE *bbahnsen2-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2038 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-26Add support for.sdata sectionsmdkinney1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2013 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23A minor mistake. Remove debug info. wuyizhong1-1/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2005 6f19259b-4bc3-4df7-8a09-765794883524