summaryrefslogtreecommitdiffstats
path: root/BaseTools
Commit message (Collapse)AuthorAgeFilesLines
* git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6931 ↵jwang362008-12-091-10/+31
| | | | 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Separate the AutoGen code for PCDs between module and its library ↵jwang362008-12-092-0/+0
| | | | | | | | | | 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
* Updated with latest changes.jwang362008-12-081-62/+299
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6921 6f19259b-4bc3-4df7-8a09-765794883524
* revert to older version as /Zm option for "ml" can not work well.eric_tian2008-12-051-12/+12
| | | | | | | | | | | | | | | | | | 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
* add /Zm option for VS2005 assembly to make sure it is compatible with ↵eric_tian2008-12-051-12/+12
| | | | | | 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
* Added a feature to print out storage layout in lst file.jwang362008-12-041-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6844 6f19259b-4bc3-4df7-8a09-765794883524
* Re-generated with the latest source code.jwang362008-12-041-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6841 6f19259b-4bc3-4df7-8a09-765794883524
* a. Added a feature to allow override tools option via "==" in metafile.jwang362008-12-041-0/+0
| | | | | | 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
* Fixed regression bug HSD201375jwang362008-11-291-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6780 6f19259b-4bc3-4df7-8a09-765794883524
* Added /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) in EBC_CC_FLAGSto ensure ↵jwang362008-11-281-2/+2
| | | | | | 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
* a. Fixed R8 module build issue for EBC archjwang362008-11-282-0/+0
| | | | | | 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
* Check In Build.exe and tools_def.template lgao42008-11-272-10/+11
| | | | | | | 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
* Pcd Tools need .Map file when building a EFI binary for EBC tool chain.klu22008-11-261-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6735 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed an incorrect PCD type string conversionjwang362008-11-252-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6724 6f19259b-4bc3-4df7-8a09-765794883524
* Use "GLOBAL_REMOVE_IF_UNREFERENCED volatile" for variable of binary patch PCD.klu22008-11-241-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6712 6f19259b-4bc3-4df7-8a09-765794883524
* Update VfrCompile tool to fix bug that parse the complicated expression, ↵lgao42008-11-241-0/+0
| | | | | | 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
* Use VFRPP tool for VFR pre-processing.jljusten2008-11-211-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6675 6f19259b-4bc3-4df7-8a09-765794883524
* 1) StrGather (Build.exe) in compatible mode add a Framework Package Header ↵qwang122008-11-212-0/+0
| | | | | | | | | | | 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
* 1. Enhance GenFv WriteFvMap function to print basic debug information ↵lgao42008-11-212-0/+0
| | | | | | | | | | | | (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
* Changed the way to compare the content of AutoGen with the file to be ↵jwang362008-11-211-0/+0
| | | | | | 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
* Changed file line format of AutoGen files to native style.jwang362008-11-201-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6640 6f19259b-4bc3-4df7-8a09-765794883524
* Removed GLOBAL_REMOVE_IF_UNREFERENCED for patchable PCD because it will ↵jwang362008-11-191-0/+0
| | | | | | 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
* [VfrCompiler FeatureRequest] Generate data for ConfigAccess.ExtractConfig() implqwang122008-11-181-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6613 6f19259b-4bc3-4df7-8a09-765794883524
* Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib ↵lgao42008-11-172-2/+3
| | | | | | 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
* Update GenFv to support SEC built using X64 toolsmdkinney2008-11-151-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6549 6f19259b-4bc3-4df7-8a09-765794883524
* Removed the replacement rule of PEI_PCI_CFG_PPI for R8 source code conversionjwang362008-11-131-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6534 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed HSD 201877: 'END' in [depex] caused GenDepex failurejwang362008-11-131-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6501 6f19259b-4bc3-4df7-8a09-765794883524
* a. Added ImportTool.bat scriptjwang362008-11-132-0/+53
| | | | | | | 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
* a. Changed ASL code trim schemejwang362008-11-131-0/+0
| | | | | | | 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
* a. Fixed conversion failure for ASL style include.jwang362008-11-131-0/+0
| | | | | | | 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
* a. Allowed flags of tools not defined tools_def.txtjwang362008-11-113-0/+0
| | | | | | | | | | | | 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
* Fixed an issue which caused incorrect path generated when validatingjwang362008-11-102-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6438 6f19259b-4bc3-4df7-8a09-765794883524
* Fix HSD 201801: [GenFds] Error reported when a non-existing INF file is ↵jlin162008-11-061-0/+0
| | | | | | specified is not clear git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6411 6f19259b-4bc3-4df7-8a09-765794883524
* Remove all references to ASMLINK16. Those are never used.mdkinney2008-11-041-10/+4
| | | | | | | | | 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
* Remove all references to ASMLINK16. Those are never used.mdkinney2008-11-041-13/+13
| | | | | | | | | 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
* Fixed build failure of R8 modules with uni filejwang362008-10-301-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6310 6f19259b-4bc3-4df7-8a09-765794883524
* Performance improvement on startup of build.exejwang362008-10-302-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6289 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed incorrect function prototype in AutoGen.c for PEI modules.jwang362008-10-281-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6272 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fixed bugs of HSD bug trackers 201729, 201670 and 201601jwang362008-10-281-0/+0
| | | | | | | | | 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
* Regenerate build binary (based on BaseTools r1333) to include some missing ↵qhuang82008-10-222-0/+0
| | | | | | 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
* 1. Sync the binary with the latest source modificationhche10x2008-10-221-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6186 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Sync the binary with the latest source modificationhche10x2008-10-222-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6185 6f19259b-4bc3-4df7-8a09-765794883524
* Regenerate build binary (based on BaseTools r1332) to include some missing ↵qhuang82008-10-212-0/+0
| | | | | | 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
* 1. Sync the binary with the latest source modificationhche10x2008-10-212-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6162 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed two minor issuesjwang362008-10-161-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6122 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the incorrect file printed out when an unknown exception occurred.jwang362008-10-161-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6121 6f19259b-4bc3-4df7-8a09-765794883524
* ECP support update.jlin162008-10-152-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6116 6f19259b-4bc3-4df7-8a09-765794883524
* ECP support update.jlin162008-10-072-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6078 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed HSD201706, which a None SourceOverrideDir will cause path join failure.jwang362008-10-061-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6075 6f19259b-4bc3-4df7-8a09-765794883524
* GenFds fix two UI sections error.jlin162008-09-231-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5953 6f19259b-4bc3-4df7-8a09-765794883524