summaryrefslogtreecommitdiff
path: root/Tools/CCode
AgeCommit message (Collapse)Author
2007-10-10Modified to strip leading white-space characters and ignore blank or comment ↵lhauch
only lines git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4080 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13Fixed bug of incorrect processing of hexadecimal numbers.bxing
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.bxing
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 Johnsonklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2555 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05Add more judgement.klu2
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.klu2
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 ↵klu2
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 VS2005jwang36
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.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2323 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18Minor word change.ywang
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.ywang
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.ywang
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.ywang
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.klu2
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".bxing
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.lgao4
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.lgao4
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 ↵lgao4
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 valueklu2
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 headerklu2
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.klu2
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.ywang
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.ywang
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.ywang
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.xli24
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 ↵ywang
6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09Increased the image buffer size to avoid invalid address access issuejwang36
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.jwang36
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.ywang
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 ↵lgao4
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)tgingold
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 ↵klu2
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 OSklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2167 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04Fix building error in Linuxklu2
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.bbahnsen
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.ywang
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 ↵ywang
6f19259b-4bc3-4df7-8a09-765794883524
2007-01-02Added or modified utility version and usage display.ywang
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 R9bxing
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 ↵bxing
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 ↵klu2
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.klu2
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 ↵lgao4
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.klu2
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 ↵xli24
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 ↵klu2
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.bbahnsen
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 toolrsun3
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 *bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2038 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-26Add support for.sdata sectionsmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2013 6f19259b-4bc3-4df7-8a09-765794883524