summaryrefslogtreecommitdiff
path: root/BaseTools
AgeCommit message (Collapse)Author
2008-12-09git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6931 ↵jwang36
6f19259b-4bc3-4df7-8a09-765794883524
2008-12-091) Separate the AutoGen code for PCDs between module and its library ↵jwang36
instances. Only macros for module's PCDs will be put in AutoGen.h. Others will be put in AutoGen.c. This is intended to catch missed PCDs in inf file more easily. 2) For better compatibile between C standards or C compiler, add type cast for PCD constants in AutoGen.h according to the PCD datum type. 3) Add incremental generation capability for FV in GenFds tool. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6930 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08Updated with latest changes.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6921 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05revert to older version as /Zm option for "ml" can not work well.eric_tian
A bug exists when there are such statement in a asm file: _InterlockedCompareExchangePointer PROC _InterlockedCompareExchangePointer ENDP _InterlockedCompareExchange32 PROC mov ecx, [esp + 4] mov eax, [esp + 8] mov edx, [esp + 12] lock cmpxchg [ecx], edx ret _InterlockedCompareExchange32 ENDP The assembly will export _InterlockedCompareExchangePointer but not _InterlockedCompareExchange32 when using /Zm option. This option also introduced another strange issue in link time. Link tool will complain it can not find all symbols exported in the asm file when it is built by /Zm option. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6864 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05add /Zm option for VS2005 assembly to make sure it is compatible with ↵eric_tian
MASM5.1 syntax. Or "ml" in Vs2005 may break on old code style. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6856 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Added a feature to print out storage layout in lst file.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6844 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04Re-generated with the latest source code.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6841 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04a. Added a feature to allow override tools option via "==" in metafile.jwang36
b. Removed the AutoGen.c generation for R8 module without unicode file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6828 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29Fixed regression bug HSD201375jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6780 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28Added /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) in EBC_CC_FLAGSto ensure ↵jwang36
correct R8's module entry point for EBC arch. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6772 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28a. Fixed R8 module build issue for EBC archjwang36
B. Fixed issue in trimming preprocessed VFR file with no space between "struct" and open "{". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6771 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27Check In Build.exe and tools_def.template lgao4
1. Declare entry point, constructor into AutoGen.h 2. Create ModuleNameStrDefs.h to contain uni code string ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6762 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26Pcd Tools need .Map file when building a EFI binary for EBC tool chain.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6735 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25Fixed an incorrect PCD type string conversionjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6724 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24Use "GLOBAL_REMOVE_IF_UNREFERENCED volatile" for variable of binary patch PCD.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6712 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24Update VfrCompile tool to fix bug that parse the complicated expression, ↵lgao4
such as ((BOOLEAN)(1==1)) to create the wrong EndOf opcode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6711 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21Use VFRPP tool for VFR pre-processing.jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6675 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-211) StrGather (Build.exe) in compatible mode add a Framework Package Header ↵qwang12
to replace the original “ArrayLength” generated in the output. 2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output. 3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface. 4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6671 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-211. Enhance GenFv WriteFvMap function to print basic debug information ↵lgao4
(entrypoint, baseaddress, .text, .data section base address) when no map can be referred. 2. Enhance GenFv tool to create the non PI file system firmware volume. 3. Update VfrComile 1) Set the first framework var store name to “Setup” 2) Support DEFAULT and MANUFACTURING for framework CheckBox flags value git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6666 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21Changed the way to compare the content of AutoGen with the file to be ↵jwang36
generated from it. This is to solve the re-generation issue of AutoGen files because of the newline format is different between the internal representation and the file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6658 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20Changed file line format of AutoGen files to native style.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6640 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19Removed GLOBAL_REMOVE_IF_UNREFERENCED for patchable PCD because it will ↵jwang36
cause that patchable PCD variables information won't be in the map file generated by linker. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6617 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18[VfrCompiler FeatureRequest] Generate data for ConfigAccess.ExtractConfig() implqwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6613 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib ↵lgao4
PeiServiceLib to support the modules that uses EDKII Glue Lib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6551 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-15Update GenFv to support SEC built using X64 toolsmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6549 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13Removed the replacement rule of PEI_PCI_CFG_PPI for R8 source code conversionjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6534 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13Fixed HSD 201877: 'END' in [depex] caused GenDepex failurejwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6501 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13a. Added ImportTool.bat scriptjwang36
b. Added more error check for Trim.exe git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6490 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13a. Changed ASL code trim schemejwang36
b. Added one more rule for convert R8 source code and added missing '&' before gPciCfgPpi. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6488 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13a. Fixed conversion failure for ASL style include.jwang36
b. Not to save file if converted file is intact and the target file is the source file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6483 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11a. Allowed flags of tools not defined tools_def.txtjwang36
b. Added BUILD as internal tool to pass compatible mode of unicode to build tool. c. Added support of [Depex.common.<ModuleType>] in inf file d. Added more optimization, especially for architecture protocols, in GeDepex tool e. Fixed the generation of _gPeimRevision and _gDxeRevision global variables in AutoGen.c according to new MdePkg spec. f. Changed the header file of DxeSmmeEntryPoint.h to UefiDriverEntryPoint.h in AutoGen.c since it's no longer exist. g. Fixed $(PROCESSOR) macro replacement issue in [nmake] section git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6452 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10Fixed an issue which caused incorrect path generated when validatingjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6438 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06Fix HSD 201801: [GenFds] Error reported when a non-existing INF file is ↵jlin16
specified is not clear git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6411 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04Remove all references to ASMLINK16. Those are never used.mdkinney
Change ASMLINK to use link16.exe instead of link.exe to make it clear this is a 16-bit operation Remove all references to ASMLINK from IPF and X64 builds git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6381 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04Remove all references to ASMLINK16. Those are never used.mdkinney
Change ASMLINK to use link16.exe instead of link.exe to make it clear this is a 16-bit operation Remove all references to ASMLINK from IPF and X64 builds git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6380 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30Fixed build failure of R8 modules with uni filejwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6310 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30Performance improvement on startup of build.exejwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6289 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28Fixed incorrect function prototype in AutoGen.c for PEI modules.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6272 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-281. Fixed bugs of HSD bug trackers 201729, 201670 and 201601jwang36
2. Improved the screen output when in quiet build mode 3. Added "tbuild" target in makefile in order to not created directories in makefile. Instead, they will be created in build tool. This will give better build performance, especially in incremental build. 4. Added space check in WORKSPACE and OUTPUT_DIRECTORY (in dsc file) directory name and give error message if found. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6269 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22Regenerate build binary (based on BaseTools r1333) to include some missing ↵qhuang8
encodings to avoid build crash when generation the final image. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6188 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-221. Sync the binary with the latest source modificationhche10x
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6186 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-221. Sync the binary with the latest source modificationhche10x
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6185 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21Regenerate build binary (based on BaseTools r1332) to include some missing ↵qhuang8
encodings to avoid build crash when generation the final image. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6173 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-211. Sync the binary with the latest source modificationhche10x
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6162 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-16Fixed two minor issuesjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6122 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-16Fixed the incorrect file printed out when an unknown exception occurred.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6121 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15ECP support update.jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6116 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-07ECP support update.jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6078 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-06Fixed HSD201706, which a None SourceOverrideDir will cause path join failure.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6075 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-23GenFds fix two UI sections error.jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5953 6f19259b-4bc3-4df7-8a09-765794883524