people/mcb30/basetools.git
12 years ago1. Change key word "Variable" to "Identifier", all related items are changed
hche10x [Thu, 27 Dec 2007 09:24:39 +0000 (09:24 +0000)]
1. Change key word "Variable" to "Identifier", all related items are changed
2. Add a Model "MODEL_IDENTIFIER_PCD"
3. Add an API for Database.py to update field "BelongsToFunction" of Identifier table.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@933 7335b38e-4728-0410-8992-fb3ffe349368

12 years agocode fragment storage initial check-in.
jlin16 [Tue, 25 Dec 2007 11:21:35 +0000 (11:21 +0000)]
code fragment storage initial check-in.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@932 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add a ModelType for enumerate
hche10x [Tue, 25 Dec 2007 08:47:45 +0000 (08:47 +0000)]
1. Add a ModelType for enumerate
2. Add a member "Model" in VariableClass

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@931 7335b38e-4728-0410-8992-fb3ffe349368

12 years agogit-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@930 7335b...
jlin16 [Tue, 25 Dec 2007 05:52:35 +0000 (05:52 +0000)]
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@930 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add a super class for all tables
hche10x [Tue, 25 Dec 2007 05:50:14 +0000 (05:50 +0000)]
1. Add a super class for all tables
2. Add api to update file information.
3. Adjust apis provided by tables
4. Change the logger level

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@929 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Create ECC Database structure
hche10x [Mon, 24 Dec 2007 06:13:21 +0000 (06:13 +0000)]
1. Create ECC Database structure
2. Create ECC tables
3. Create ECC data classes

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@928 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded component type convertion from PE32_PEIM to PEIM for R8 modules
jwang36 [Mon, 24 Dec 2007 05:37:21 +0000 (05:37 +0000)]
Added component type convertion from PE32_PEIM to PEIM for R8 modules

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@927 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoa. Enabled building R8 modules
jwang36 [Sat, 22 Dec 2007 16:49:31 +0000 (16:49 +0000)]
a. Enabled building R8 modules
b. Always inherit library's [depex] if there's no dxs file declared in module's inf file

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@926 7335b38e-4728-0410-8992-fb3ffe349368

12 years agomodified BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
jljusten [Fri, 14 Dec 2007 01:22:26 +0000 (01:22 +0000)]
modified BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
  In ReplaceWorkspaceMacro routine, do not call os.path.realpath
  as it replaces symbolic links.  Instead use os.path.abspath
  if the path is not an absolute path.  This change allows
  $(WORKSPACE) to contain a symbolic link.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@925 7335b38e-4728-0410-8992-fb3ffe349368

12 years agomodified BaseTools/Source/Python/GenFds/AprioriSection.py
jljusten [Fri, 14 Dec 2007 00:41:39 +0000 (00:41 +0000)]
modified   BaseTools/Source/Python/GenFds/AprioriSection.py
modified   BaseTools/Source/Python/GenFds/Capsule.py
modified   BaseTools/Source/Python/GenFds/CompressSection.py
modified   BaseTools/Source/Python/GenFds/DataSection.py
modified   BaseTools/Source/Python/GenFds/EfiSection.py
modified   BaseTools/Source/Python/GenFds/FfsFileStatement.py
modified   BaseTools/Source/Python/GenFds/FfsInfStatement.py
modified   BaseTools/Source/Python/GenFds/Fv.py
modified   BaseTools/Source/Python/GenFds/FvImageSection.py
modified   BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
modified   BaseTools/Source/Python/GenFds/GuidSection.py
modified   BaseTools/Source/Python/GenFds/UiSection.py
modified   BaseTools/Source/Python/GenFds/VerSection.py
modified   BaseTools/Source/Python/GenFds/Vtf.py
  Similar to change in r858.
  Changes for python on unix-like systems.  On these systems
  subprocess.Popen requires a tuple to send parameters to
  the command.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@924 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/Python/build/build.py:
jljusten [Thu, 13 Dec 2007 21:07:02 +0000 (21:07 +0000)]
BaseTools/Source/Python/build/build.py:
  Change check for PATH environment such that it checks to see if
  the 'build' tool is found in the PATH.  If so, it is good enough
  for our purposes.  Potentially we might want to add a check to see
  if other BaseTools tools are found in the PATH, but just
  checking for 'build' may be enough.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@923 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed incorrect index number for DynamicEx PCD in PCD database.
jwang36 [Thu, 13 Dec 2007 06:53:05 +0000 (06:53 +0000)]
Fixed incorrect index number for DynamicEx PCD in PCD database.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@922 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add a checkpoint to ignore commented "[]" section
hche10x [Wed, 12 Dec 2007 03:29:54 +0000 (03:29 +0000)]
1. Add a checkpoint to ignore commented "[]" section

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@921 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoadded BaseTools/PseudoBin
jljusten [Tue, 11 Dec 2007 09:28:19 +0000 (09:28 +0000)]
added BaseTools/PseudoBin
  This directory can be used in place of the normal 'Bin' directory.
  The 'pseudo' refers to the fact that the tools here may not be
  actual binaries.  For example, the 'pseudo-bins' might be 'scripts'
  or 'batch files' that run python on the corresponding python script
  code.

  This is supported in edk2 as of:
  https://edk2.tianocore.org/svn/edk2/trunk/edk2/BaseTools/BuildEnv r4386

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@920 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/C/GenFv/GNUmakefile:
jljusten [Tue, 11 Dec 2007 08:32:17 +0000 (08:32 +0000)]
BaseTools/Source/C/GenFv/GNUmakefile:
  APPNAME: GenFvImage -> GenFv

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@919 7335b38e-4728-0410-8992-fb3ffe349368

12 years agogenerate parser that have the ability to recognize function contents and start, end...
jlin16 [Tue, 11 Dec 2007 07:14:41 +0000 (07:14 +0000)]
generate parser that have the ability to recognize function contents and start, end positions.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@918 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Ignore the commented content when parsing a file to search line no of error content
hche10x [Tue, 11 Dec 2007 06:33:23 +0000 (06:33 +0000)]
1. Ignore the commented content when parsing a file to search line no of error content

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@917 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoPrint correct TEImage start address into Fv map file.
lgao4 [Mon, 10 Dec 2007 06:26:12 +0000 (06:26 +0000)]
Print correct TEImage start address into Fv map file.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@916 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoa. Changed the code to use PCD's value as default value of the default value of its...
jwang36 [Fri, 7 Dec 2007 09:42:49 +0000 (09:42 +0000)]
a. Changed the code to use PCD's value as default value of the default value of its sku, when the PCD is not defined in DSC file.
b. Fixed an issue of comparing string with digital

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@915 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoChanged the "DefaultValue" of default sku to be string "0" not digital 0
jwang36 [Fri, 7 Dec 2007 08:04:34 +0000 (08:04 +0000)]
Changed the "DefaultValue" of default sku to be string "0" not digital 0

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@914 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded DataArray support when calculating datum size
jwang36 [Fri, 7 Dec 2007 06:44:22 +0000 (06:44 +0000)]
Added DataArray support when calculating datum size

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@913 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded code to calculate the string size for PCD with datum type "VOID*", if MaxDatumS...
jwang36 [Fri, 7 Dec 2007 05:49:12 +0000 (05:49 +0000)]
Added code to calculate the string size for PCD with datum type "VOID*", if MaxDatumSize is not specified.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@912 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoSeveral minor improvements
jwang36 [Fri, 7 Dec 2007 05:02:40 +0000 (05:02 +0000)]
Several minor improvements

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@911 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded "DEFAULT" SkuId to dynamic PCD not found in DSC file
jwang36 [Fri, 7 Dec 2007 03:35:55 +0000 (03:35 +0000)]
Added "DEFAULT" SkuId to dynamic PCD not found in DSC file

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@910 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoUpdated usage messages to use the same tag names as they appear in the target.txt...
lhauch [Fri, 7 Dec 2007 00:09:08 +0000 (00:09 +0000)]
Updated usage messages to use the same tag names as they appear in the target.txt file.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@909 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoCommented out the unnecessary code to override the PCD type with type in DSC file...
jwang36 [Thu, 6 Dec 2007 09:44:05 +0000 (09:44 +0000)]
Commented out the unnecessary code to override the PCD type with type in DSC file, because this have been done during autogen stage.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@908 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed tracker 717 to use the constructor/destructor according to the library's type.
jwang36 [Wed, 5 Dec 2007 06:37:41 +0000 (06:37 +0000)]
Fixed tracker 717 to use the constructor/destructor according to the library's type.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@907 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/C/Common/GNUmakefile
jljusten [Tue, 4 Dec 2007 22:01:02 +0000 (22:01 +0000)]
BaseTools/Source/C/Common/GNUmakefile
  Fixed OsPath.obj to OsPath.o

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@906 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed the PCD type choosing issue when it's not found in DSC file.
jwang36 [Tue, 4 Dec 2007 16:46:45 +0000 (16:46 +0000)]
Fixed the PCD type choosing issue when it's not found in DSC file.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@905 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded code to always check if a toke space GUID is defined in a package.
jwang36 [Tue, 4 Dec 2007 06:59:48 +0000 (06:59 +0000)]
Added code to always check if a toke space GUID is defined in a package.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@904 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed the PCD type choosing error if it is not defined in DSC file
jwang36 [Tue, 4 Dec 2007 06:56:52 +0000 (06:56 +0000)]
Fixed the PCD type choosing error if it is not defined in DSC file

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@903 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoadded BaseTools/Makefile
jljusten [Mon, 3 Dec 2007 22:54:46 +0000 (22:54 +0000)]
added      BaseTools/Makefile
modified   BaseTools/Source/Python/Makefile
modified   BaseTools/toolsetup.bat
  Moved code from toolsetup.bat into Makefile and Source/Python/Makefile
  in order to separate out C and Python building.  Now after the
  environment is initialized, you can just run nmake to build both C and
  Python tools.  Alternatively you can run 'nmake c' or 'nmake python'
  to only build the applicable set of tools.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@902 7335b38e-4728-0410-8992-fb3ffe349368

13 years agomodified BaseTools/Source/C/GNUmakefile
jljusten [Mon, 3 Dec 2007 22:07:21 +0000 (22:07 +0000)]
modified   BaseTools/Source/C/GNUmakefile
modified   BaseTools/Source/C/Makefile
added      BaseTools/Source/C/VolInfo
added      BaseTools/Source/C/VolInfo/GNUmakefile
added      BaseTools/Source/C/VolInfo/Makefile
added      BaseTools/Source/C/VolInfo/VolInfo.c
added      BaseTools/Source/C/VolInfo/VolInfo.h
  Added VolInfo tool.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@901 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoadded BaseTools/Source/C/Common/BinderFuncs.c
jljusten [Mon, 3 Dec 2007 18:30:50 +0000 (18:30 +0000)]
added      BaseTools/Source/C/Common/BinderFuncs.c
added      BaseTools/Source/C/Common/BinderFuncs.h
added      BaseTools/Source/C/Common/FirmwareVolumeBuffer.c
added      BaseTools/Source/C/Common/FirmwareVolumeBufferLib.h
modified   BaseTools/Source/C/Common/GNUmakefile
modified   BaseTools/Source/C/Common/Makefile
  Added 'FvBuf' library.  It has a consistent function prefix ('FvBuf')
  and the functions can operate on multiple FVs at the same time.  (In
  FvLib.c, InitializeFvLib call ties the functions to a single FV.)

  The BinderFuncs.* files are functions that make the FvBuf library code
  usable in other environments, such as UEFI applications or drivers.
  In the case of BinderFuncs.c, the code targets the ANSI C type of
  environment.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@900 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed an incorrect use of EdkLogger.error()
jwang36 [Fri, 30 Nov 2007 09:52:54 +0000 (09:52 +0000)]
Fixed an incorrect use of EdkLogger.error()

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@899 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoMoved the clear action to the place before exiting scheduler
jwang36 [Fri, 30 Nov 2007 09:27:35 +0000 (09:27 +0000)]
Moved the clear action to the place before exiting scheduler

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@898 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed incorrect indention in Makefile template.
jwang36 [Fri, 30 Nov 2007 09:26:09 +0000 (09:26 +0000)]
Fixed incorrect indention in Makefile template.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@897 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed multi-target build issue.
jwang36 [Fri, 30 Nov 2007 08:53:20 +0000 (08:53 +0000)]
Fixed multi-target build issue.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@896 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded code to check if FvDir exists or not because open() won't create file if the...
jwang36 [Fri, 30 Nov 2007 07:20:37 +0000 (07:20 +0000)]
Added code to check if FvDir exists or not because open() won't create file if the directory doesn't exist.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@895 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed an issue which will cause wrong library instances used for constructor re-ordering.
jwang36 [Fri, 30 Nov 2007 07:04:55 +0000 (07:04 +0000)]
Fixed an issue which will cause wrong library instances used for constructor re-ordering.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@894 7335b38e-4728-0410-8992-fb3ffe349368

13 years agomodified BaseTools/Source/C/Common/CommonLib.c
jljusten [Fri, 30 Nov 2007 00:43:55 +0000 (00:43 +0000)]
modified   BaseTools/Source/C/Common/CommonLib.c
modified   BaseTools/Source/C/Common/CommonLib.h
modified   BaseTools/Source/C/Common/GNUmakefile
modified   BaseTools/Source/C/Common/Makefile
added      BaseTools/Source/C/Common/OsPath.c
added      BaseTools/Source/C/Common/OsPath.h
  Moved function: DoesFileExist to OsPath.c and renamed to OsPathExists
  Added OsPath.c/OsPath.h for functions related to filename paths.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@893 7335b38e-4728-0410-8992-fb3ffe349368

13 years agomodified BaseTools/Source/C/Common/CommonLib.c
jljusten [Fri, 30 Nov 2007 00:31:31 +0000 (00:31 +0000)]
modified   BaseTools/Source/C/Common/CommonLib.c
modified   BaseTools/Source/C/Common/CommonLib.h
  Added function: DoesFileExist

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@892 7335b38e-4728-0410-8992-fb3ffe349368

13 years agomodified BaseTools/Source/C/Common/GNUmakefile
jljusten [Thu, 29 Nov 2007 21:49:25 +0000 (21:49 +0000)]
modified   BaseTools/Source/C/Common/GNUmakefile
modified   BaseTools/Source/C/Common/Makefile
added      BaseTools/Source/C/Common/ParseGuidedSectionTools.c
added      BaseTools/Source/C/Common/ParseGuidedSectionTools.h
  Added functions to parse GuidedSectionTools.txt which is
  generated by the build(.exe) tool in the FV output directory.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@891 7335b38e-4728-0410-8992-fb3ffe349368

13 years agomodified BaseTools/Source/C/Common/GNUmakefile
jljusten [Thu, 29 Nov 2007 19:05:21 +0000 (19:05 +0000)]
modified   BaseTools/Source/C/Common/GNUmakefile
modified   BaseTools/Source/C/Common/Makefile
added      BaseTools/Source/C/Common/StringFuncs.c
added      BaseTools/Source/C/Common/StringFuncs.h
  Added 'string functions' including the ability to have an
  easy to work with 'string list'.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@890 7335b38e-4728-0410-8992-fb3ffe349368

13 years agomodified BaseTools/Source/C/Common/GNUmakefile
jljusten [Thu, 29 Nov 2007 18:31:19 +0000 (18:31 +0000)]
modified   BaseTools/Source/C/Common/GNUmakefile
modified   BaseTools/Source/C/Common/Makefile
added      BaseTools/Source/C/Common/MemoryFile.c
added      BaseTools/Source/C/Common/MemoryFile.h
modified   BaseTools/Source/C/Common/ParseInf.h
  Separated 'memory file' routines out into separate files.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@889 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoBaseTools/Source/Python/build/build.py:
jljusten [Thu, 29 Nov 2007 17:52:22 +0000 (17:52 +0000)]
BaseTools/Source/Python/build/build.py:
  Generate GuidedSectionTools.txt as a sibling to the
  firmware volumes files.  This file will concisely list
  which tools can be used to decode guided sections
  within the firmware volume.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@888 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoBaseTools/Source/C/Common/CommonLib.c:
jljusten [Thu, 29 Nov 2007 00:00:04 +0000 (00:00 +0000)]
BaseTools/Source/C/Common/CommonLib.c:
BaseTools/Source/C/Common/CommonLib.h:
  Added PutFileImage function to CommonLib.  This helper
  function makes it very simple to write out a binary
  file.  It is very similar to the GetFileImage function,
  except it writes the file rather than reading it.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@887 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoRemoved conflicting '-d' option for setting the debug level. The '--debug' form...
jljusten [Wed, 28 Nov 2007 00:14:52 +0000 (00:14 +0000)]
Removed conflicting '-d' option for setting the debug level.  The '--debug' form of the same option can still be used.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@886 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoCheck in config.ini used in ECC tool
hche10x [Tue, 27 Nov 2007 05:32:43 +0000 (05:32 +0000)]
Check in config.ini used in ECC tool

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@885 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoinitial C file content recognizer generated by ANTLR using C.g; but Fail to recognize...
jlin16 [Tue, 27 Nov 2007 03:50:59 +0000 (03:50 +0000)]
initial C file content recognizer generated by ANTLR using C.g; but Fail to recognize some MACRO wrapped statement now.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@884 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoClean up: update "EFI" to "UEFI" if applicable.
qhuang8 [Thu, 22 Nov 2007 06:09:46 +0000 (06:09 +0000)]
Clean up: update "EFI" to "UEFI" if applicable.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@883 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoUpdate comments info to tell user set PATH.
lgao4 [Wed, 21 Nov 2007 06:01:24 +0000 (06:01 +0000)]
Update comments info to tell user set PATH.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@882 7335b38e-4728-0410-8992-fb3ffe349368

13 years agocheck BASE_TOOLS_PATH
lgao4 [Wed, 21 Nov 2007 05:51:43 +0000 (05:51 +0000)]
check BASE_TOOLS_PATH

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@881 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdd Variable Header and WorkingBlockHeader definition.
lgao4 [Wed, 21 Nov 2007 05:46:05 +0000 (05:46 +0000)]
Add Variable Header and WorkingBlockHeader definition.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@880 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdd GenCrc32 tool, and Update GenFfs tool to add alignment for TeSection.
lgao4 [Wed, 21 Nov 2007 03:34:30 +0000 (03:34 +0000)]
Add GenCrc32 tool, and Update GenFfs tool to add alignment for TeSection.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@879 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdd back up VfrCompile tool in main Makefile
lgao4 [Mon, 19 Nov 2007 08:54:20 +0000 (08:54 +0000)]
Add back up VfrCompile tool in main Makefile

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@878 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoMinor change for GenFv to support capsule attribute, GenSec to support guid header...
lgao4 [Mon, 19 Nov 2007 08:37:18 +0000 (08:37 +0000)]
Minor change for GenFv to support capsule attribute, GenSec to support guid header size and GenFw to process microcode.txt

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@877 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoRevised error message for a module that is not required by a Platform when building...
lhauch [Wed, 14 Nov 2007 19:39:21 +0000 (19:39 +0000)]
Revised error message for a module that is not required by a Platform when building just the module

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@876 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoPort r869 Makefile change to GNUmakefile.
jljusten [Tue, 13 Nov 2007 17:23:24 +0000 (17:23 +0000)]
Port r869 Makefile change to GNUmakefile.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@875 7335b38e-4728-0410-8992-fb3ffe349368

13 years ago1. Remove "/" or "\" following $(WORKSPACE) before getting real path when parsing...
hche10x [Thu, 8 Nov 2007 05:21:28 +0000 (05:21 +0000)]
1. Remove "/" or "\" following $(WORKSPACE) before getting real path when parsing DSC files

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@874 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoChanged the position of MAKE* macros in platform's makefile
jwang36 [Thu, 8 Nov 2007 03:51:33 +0000 (03:51 +0000)]
Changed the position of MAKE* macros in platform's makefile

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@873 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded "MAKE_FILE" macro in platform and module's makefile
jwang36 [Thu, 8 Nov 2007 03:14:32 +0000 (03:14 +0000)]
Added "MAKE_FILE" macro in platform and module's makefile

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@872 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFix bug to use local variable without init value.
lgao4 [Wed, 7 Nov 2007 07:50:03 +0000 (07:50 +0000)]
Fix bug to use local variable without init value.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@871 7335b38e-4728-0410-8992-fb3ffe349368

13 years agocopy .map file to output directory for the file which is used to generate section...
jlin16 [Wed, 7 Nov 2007 05:51:01 +0000 (05:51 +0000)]
copy .map file to output directory for the file which is used to generate section in FILE statement.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@870 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoUpdate GenFv, GenFw and GenVtf tool to support reloc section stripped, PAD file with...
lgao4 [Tue, 6 Nov 2007 11:16:36 +0000 (11:16 +0000)]
Update GenFv, GenFw and GenVtf tool to support reloc section stripped, PAD file with same guid and check no duplicated guid file in the same fv.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@869 7335b38e-4728-0410-8992-fb3ffe349368

13 years agochange file name extension before relocation strip from .reloc to .efi; after relocat...
jlin16 [Tue, 6 Nov 2007 09:18:48 +0000 (09:18 +0000)]
change file name extension before relocation strip from .reloc to .efi; after relocation strip from .stipped to stripped.
Fix bug in FDF parser for GetNextToken and UndoToken.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@868 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoDetect region out of order or overlap.
jlin16 [Mon, 5 Nov 2007 08:19:44 +0000 (08:19 +0000)]
Detect region out of order or overlap.
Add relocation section strip feature (need GenFw.exe update).

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@867 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoRevert changes from r860 for makefiles that are only used
jljusten [Thu, 1 Nov 2007 22:58:47 +0000 (22:58 +0000)]
Revert changes from r860 for makefiles that are only used
by the GNU toolchain.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@866 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoPorted r864 to gnu toolchain.
jljusten [Thu, 1 Nov 2007 22:45:45 +0000 (22:45 +0000)]
Ported r864 to gnu toolchain.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@865 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoMoved most makefiles under a separate Makefiles directory. This will allow the makef...
jljusten [Thu, 1 Nov 2007 22:14:13 +0000 (22:14 +0000)]
Moved most makefiles under a separate Makefiles directory.  This will allow the makefiles and common library to be used in other project by using subversion 'externals' to pull down the Common & Makefiles directories.  (The other projects will have to provide a similar Makefile/GNUmakefile in their own root directory.  Notice the these files are not moved in the BaseTools C code.)

This change has only been ported for the microsoft build tools (VS 2003).

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@864 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoa. Fixed an issue which a incorrect command (no leading space/tab) generated in top...
jwang36 [Wed, 31 Oct 2007 10:37:17 +0000 (10:37 +0000)]
a. Fixed an issue which a incorrect command (no leading space/tab) generated in top level Makefile
b. Added code to check zero thread number and disable multi-thread build mode if zero thread number.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@863 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoChanged way to call LaunchCommand
jwang36 [Wed, 31 Oct 2007 09:14:06 +0000 (09:14 +0000)]
Changed way to call LaunchCommand

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@862 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoa. Supplemented file/class/function header comments
jwang36 [Wed, 31 Oct 2007 05:56:50 +0000 (05:56 +0000)]
a. Supplemented file/class/function header comments
b. Changed WARN log level to be higher than INFO, i.e. WARN message will be printed out by default.
c. Added initial version of cache mechanism

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@861 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoUpdated makefiles to use flags that are common in both 2003 and 2005, replaced the...
lhauch [Tue, 30 Oct 2007 23:01:23 +0000 (23:01 +0000)]
Updated makefiles to use flags that are common in both 2003 and 2005, replaced the 2003 only /MLd flag with the common /MTd flag.  This flag has been successfully tested in the Build Pool with both 2003 and 2005 compilers.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@860 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoBaseTools/Source/Python/Trim/Trim.py:
jljusten [Tue, 30 Oct 2007 20:01:17 +0000 (20:01 +0000)]
BaseTools/Source/Python/Trim/Trim.py:
  Fix trim failure for source files with a zero length.  For example
  edk2 => MdePkg/Library/BaseLib/X64/Thunk16.S currently has a zero length.
  Code also reviewed by Javen (jwang36).

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@859 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoBaseTools/Source/Python/build/build.py:
jljusten [Mon, 29 Oct 2007 07:14:25 +0000 (07:14 +0000)]
BaseTools/Source/Python/build/build.py:
BaseTools/Source/Python/AutoGen/AutoGen.py:
  Changes for python on unix.  Subprocess.Popen on unix requires
  a tuple to send parameters to the command.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@858 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded separate makefile for the BaseTools/Source/Python.
jljusten [Mon, 29 Oct 2007 05:33:48 +0000 (05:33 +0000)]
Added separate makefile for the BaseTools/Source/Python.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@857 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed spelling of APPLOCATION to APPLICATION, as it was only partially
jljusten [Sat, 27 Oct 2007 03:31:31 +0000 (03:31 +0000)]
Fixed spelling of APPLOCATION to APPLICATION, as it was only partially
corrected in r851, and therefore left the tools in an un-buildable state.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@856 7335b38e-4728-0410-8992-fb3ffe349368

13 years ago1. Add support of a new filed "Shadow" in INF
hche10x [Fri, 26 Oct 2007 09:31:48 +0000 (09:31 +0000)]
1. Add support of a new filed "Shadow" in INF

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@855 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoUpdated Makefile to replace -o File to -FoFile for object files generated by the...
lhauch [Thu, 25 Oct 2007 22:54:26 +0000 (22:54 +0000)]
Updated Makefile to replace -o File to -FoFile for object files generated by the CXX compiler.  These flags are common to both MS Visual Studio versions.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@854 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoUpdated MSFT makefiles to use _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE...
lhauch [Thu, 25 Oct 2007 22:52:35 +0000 (22:52 +0000)]
Updated MSFT makefiles to use _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE flags for VS2005 - these flags are ignored by MSVS 2003, so no impact to the tools.  Also changed -o File to -FoFile for objects and -FeFile for executables generated by the compiler.  These flags are common to both MSVS versions.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@853 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoMoved DEBUG message for VendorGuidSect into the section where it was defined configur...
lhauch [Thu, 25 Oct 2007 22:48:37 +0000 (22:48 +0000)]
Moved DEBUG message for VendorGuidSect into the section where it was defined configured - under some circumstances, it was not defined, and the DEBUG statement caused the tool to fail under a VS2005 build.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@852 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoModified all tool Makefiles to set the LIBS=$(LIB_PATH)\Common.lib so that we do...
lhauch [Thu, 25 Oct 2007 16:15:36 +0000 (16:15 +0000)]
Modified all tool Makefiles to set the LIBS=$(LIB_PATH)\Common.lib so that we do not have to use /libpath: in the MSmakefile.app

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@851 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed memory re-free issue
jwang36 [Thu, 25 Oct 2007 09:44:25 +0000 (09:44 +0000)]
Fixed memory re-free issue

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@850 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed the "rebuild" failure issue
jwang36 [Thu, 25 Oct 2007 08:27:03 +0000 (08:27 +0000)]
Fixed the "rebuild" failure issue

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@849 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded "/MLd" to CFLAGS and added "/nodefaultlib:libc.lib" to link command to make...
jwang36 [Thu, 25 Oct 2007 08:13:48 +0000 (08:13 +0000)]
Added "/MLd" to CFLAGS and added "/nodefaultlib:libc.lib" to link command to make sure tools using static link of runtime library.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@848 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdding gcc information to the UserManuals area of BaseTools
lhauch [Tue, 23 Oct 2007 17:17:30 +0000 (17:17 +0000)]
Adding gcc information to the UserManuals area of BaseTools

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@847 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded function/class header comments
jwang36 [Tue, 23 Oct 2007 08:27:14 +0000 (08:27 +0000)]
Added function/class header comments

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@846 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoUpdate the precise verbose information in GenFfs and GenFv.
lgao4 [Tue, 23 Oct 2007 03:45:08 +0000 (03:45 +0000)]
Update the precise verbose information in GenFfs and GenFv.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@845 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoFixed build issue when building individual module with unsupported architectures.
jwang36 [Mon, 22 Oct 2007 09:05:25 +0000 (09:05 +0000)]
Fixed build issue when building individual module with unsupported architectures.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@844 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoRolled back the check of not found library instance.
jwang36 [Mon, 22 Oct 2007 06:35:32 +0000 (06:35 +0000)]
Rolled back the check of not found library instance.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@843 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded RunningQueue to keep track of running build thread to avoid dead loop when...
jwang36 [Mon, 22 Oct 2007 06:34:47 +0000 (06:34 +0000)]
Added RunningQueue to keep track of running build thread to avoid dead loop when aborting build.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@842 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded NonDynamicPcdList to store non-dynamic type of PCD
jwang36 [Mon, 22 Oct 2007 06:33:14 +0000 (06:33 +0000)]
Added NonDynamicPcdList to store non-dynamic type of PCD

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@841 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoLower down the level of debug message in GetDependencyList
jwang36 [Mon, 22 Oct 2007 06:32:22 +0000 (06:32 +0000)]
Lower down the level of debug message in GetDependencyList

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@840 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoAdded check of MaxDatumSize against empty string and changed the error message.
jwang36 [Mon, 22 Oct 2007 06:31:17 +0000 (06:31 +0000)]
Added check of MaxDatumSize against empty string and changed the error message.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@839 7335b38e-4728-0410-8992-fb3ffe349368

13 years agoChanged code to use PCD from module only
jwang36 [Mon, 22 Oct 2007 06:30:06 +0000 (06:30 +0000)]
Changed code to use PCD from module only

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@838 7335b38e-4728-0410-8992-fb3ffe349368

13 years agooutput command line of calling c tools.
jlin16 [Fri, 19 Oct 2007 11:06:16 +0000 (11:06 +0000)]
output command line of calling c tools.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@837 7335b38e-4728-0410-8992-fb3ffe349368

13 years agodisable autogen lib instance check.
jlin16 [Fri, 19 Oct 2007 10:32:38 +0000 (10:32 +0000)]
disable autogen lib instance check.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@836 7335b38e-4728-0410-8992-fb3ffe349368

13 years agodisable autogen lib instance check.
jlin16 [Fri, 19 Oct 2007 09:59:36 +0000 (09:59 +0000)]
disable autogen lib instance check.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@835 7335b38e-4728-0410-8992-fb3ffe349368

13 years agopass -v and -d options to c tools.
jlin16 [Fri, 19 Oct 2007 08:57:03 +0000 (08:57 +0000)]
pass -v and -d options to c tools.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@834 7335b38e-4728-0410-8992-fb3ffe349368