people/mcb30/basetools.git
12 years ago1. Adjust the function of "GenerateID" of each table, use a global variable to store...
hche10x [Tue, 29 Jan 2008 06:22:39 +0000 (06:22 +0000)]
1. Adjust the function of "GenerateID" of each table, use a global variable to store the value but not query from table each time.

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

12 years agoECC: CParser add framework code data types.
jlin16 [Tue, 29 Jan 2008 06:04:35 +0000 (06:04 +0000)]
ECC: CParser add framework code data types.

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

12 years ago1. Adjust the function of "GenerateID" of each table, use a global variable to store...
hche10x [Tue, 29 Jan 2008 05:57:32 +0000 (05:57 +0000)]
1. Adjust the function of "GenerateID" of each table, use a global variable to store the value but not query from table each time.

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

12 years agoECC: CParser add 'ULL' postfix for integer
jlin16 [Mon, 28 Jan 2008 11:53:19 +0000 (11:53 +0000)]
ECC: CParser add 'ULL' postfix for integer

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

12 years agoECC: CParser remove \ in string.
jlin16 [Mon, 28 Jan 2008 09:59:52 +0000 (09:59 +0000)]
ECC: CParser remove \ in string.
FDF parser: ignore string in comment.

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

12 years agoECC: disable verbose output in Table.py
jlin16 [Mon, 28 Jan 2008 08:20:57 +0000 (08:20 +0000)]
ECC: disable verbose output in Table.py

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

12 years agoECC: fix wrong variable name in c.py
jlin16 [Mon, 28 Jan 2008 07:35:26 +0000 (07:35 +0000)]
ECC: fix wrong variable name in c.py

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

12 years agoTake a try to use 'DEFERRED' model in sql operation
hche10x [Mon, 28 Jan 2008 07:25:30 +0000 (07:25 +0000)]
Take a try to use 'DEFERRED' model in sql operation

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

12 years agoECC: ignore '#' in string and char literal '...'
jlin16 [Mon, 28 Jan 2008 05:14:26 +0000 (05:14 +0000)]
ECC: ignore '#' in string and char literal '...'

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

12 years agoECC: modify C parser to deal with keyword 'OPTIONAL' and ignore concatenation '\'
jlin16 [Mon, 28 Jan 2008 05:06:44 +0000 (05:06 +0000)]
ECC: modify C parser to deal with keyword 'OPTIONAL' and ignore concatenation '\'

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

12 years agoRemoved the unnecessary extra conversion of "\r\n".
jwang36 [Fri, 25 Jan 2008 02:22:12 +0000 (02:22 +0000)]
Removed the unnecessary extra conversion of "\r\n".

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

12 years agoECC parser add function name position.
jlin16 [Thu, 24 Jan 2008 03:40:48 +0000 (03:40 +0000)]
ECC parser add function name position.

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

12 years agoa) Added code to support [libraries.platform] section for R8 module
jwang36 [Thu, 24 Jan 2008 02:31:40 +0000 (02:31 +0000)]
a) Added code to support [libraries.platform] section for R8 module
b) Enforced the order of library for R8 modules.

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

12 years agoGenFds Use R8 component type when finding rule in FDF.
jlin16 [Wed, 23 Jan 2008 08:33:29 +0000 (08:33 +0000)]
GenFds Use R8 component type when finding rule in FDF.

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

12 years agoAdded code to pass macro to GenFds tool
jwang36 [Wed, 23 Jan 2008 06:02:27 +0000 (06:02 +0000)]
Added code to pass macro to GenFds tool

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

12 years agoGenFds tool creates target txt object to add macros in target.txt file to make DB...
jlin16 [Wed, 23 Jan 2008 05:42:16 +0000 (05:42 +0000)]
GenFds tool creates target txt object to add macros in target.txt file to make DB know them.

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

12 years agoSupport R8 modules in GenFds tool.
jlin16 [Wed, 23 Jan 2008 04:01:52 +0000 (04:01 +0000)]
Support R8 modules in GenFds tool.

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

12 years ago1. Add a pre-action to replace "'" with "''" for sql statement
hche10x [Tue, 22 Jan 2008 08:48:20 +0000 (08:48 +0000)]
1. Add a pre-action to replace "'" with "''" for sql statement

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

12 years ago1. Add a table to handle dsc data
hche10x [Tue, 22 Jan 2008 07:59:24 +0000 (07:59 +0000)]
1. Add a table to handle dsc data
2. Adjust structure of DataClass
3. Modify all table's insert sql command
4. Commit all database value to file after database closed
5. Add some new interfaces in String.py

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

12 years agoRemoved "print" statement for debug purpose
jwang36 [Tue, 22 Jan 2008 02:24:04 +0000 (02:24 +0000)]
Removed "print" statement for debug purpose

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

12 years agoRemoved the code checking invalid section name for R8 modules
jwang36 [Tue, 22 Jan 2008 01:31:22 +0000 (01:31 +0000)]
Removed the code checking invalid section name for R8 modules

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

12 years agoAdded macro replacement for BASE_NAME and library name for R8 module
jwang36 [Tue, 22 Jan 2008 01:30:30 +0000 (01:30 +0000)]
Added macro replacement for BASE_NAME and library name for R8 module

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

12 years agoECC tool:try to use DB interface to add file contents into DB.
jlin16 [Mon, 21 Jan 2008 13:02:01 +0000 (13:02 +0000)]
ECC tool:try to use DB interface to add file contents into DB.

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

12 years agoFixed failure in SetLogFile()
jwang36 [Mon, 21 Jan 2008 09:38:40 +0000 (09:38 +0000)]
Fixed failure in SetLogFile()

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

12 years agoa) Fixed a bug which will cause failure in accessing platform object
jwang36 [Mon, 21 Jan 2008 09:37:48 +0000 (09:37 +0000)]
a) Fixed a bug which will cause failure in accessing platform object
b) Added support module type check for library instances used by a module
c) Let enforced library instances (NULL library class) to support all module types

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

12 years agoFixed error messages
lhauch [Fri, 18 Jan 2008 20:55:23 +0000 (20:55 +0000)]
Fixed error messages

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

12 years agoFixed error messages
lhauch [Fri, 18 Jan 2008 20:44:25 +0000 (20:44 +0000)]
Fixed error messages

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

12 years agoFixed error messages
lhauch [Fri, 18 Jan 2008 19:48:27 +0000 (19:48 +0000)]
Fixed error messages

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

12 years agoFixed error messages
lhauch [Fri, 18 Jan 2008 19:44:17 +0000 (19:44 +0000)]
Fixed error messages

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

12 years agoFixed case in error type
lhauch [Fri, 18 Jan 2008 19:39:09 +0000 (19:39 +0000)]
Fixed case in error type

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

12 years agoFixed error messages
lhauch [Fri, 18 Jan 2008 19:33:12 +0000 (19:33 +0000)]
Fixed error messages

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

12 years agoFixed error messages
lhauch [Fri, 18 Jan 2008 19:08:20 +0000 (19:08 +0000)]
Fixed error messages

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

12 years agoFixed file format errors
lhauch [Fri, 18 Jan 2008 18:14:36 +0000 (18:14 +0000)]
Fixed file format errors

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

12 years agoFixed spelling errors
lhauch [Fri, 18 Jan 2008 18:09:46 +0000 (18:09 +0000)]
Fixed spelling errors

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

12 years agoFixed spelling errors
lhauch [Fri, 18 Jan 2008 17:44:57 +0000 (17:44 +0000)]
Fixed spelling errors

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

12 years agoAdded for global macros
jwang36 [Fri, 18 Jan 2008 07:35:53 +0000 (07:35 +0000)]
Added for global macros

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

12 years agoa) Added arch support for [Defines] section for R8 modules
jwang36 [Fri, 18 Jan 2008 07:12:12 +0000 (07:12 +0000)]
a) Added arch support for [Defines] section for R8 modules
b) Added macro replacement in the INF files of R8 modules
c) Fixed EDK_SOURCE and EFI_SOURCE environment issue
d) Fixed tool flags conversion issue when there're more than one lines of for the same tool under [nmake] section
e) Fixed incorrect relative include path in [includes] section of R8 INF file.
f) Fixed more than one time of output for the same message in EdkLogger

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

12 years agoMoved log setup code to Initialize() method to avoid multi-output caused by incorrect...
jwang36 [Fri, 18 Jan 2008 05:41:09 +0000 (05:41 +0000)]
Moved log setup code to Initialize() method to avoid multi-output caused by incorrect import

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

12 years ago1. Adjust the structure of TableFile
hche10x [Fri, 18 Jan 2008 03:04:41 +0000 (03:04 +0000)]
1. Adjust the structure of TableFile
2. Adjust the structure of TableFunction
3. Add some new model used in Ecc
4. Split some checkpoints in config.ini to more detailed sub items, adjust some names of them, and add comment for each checkpoint.

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

12 years agoRemove .pyc files.
hche10x [Thu, 17 Jan 2008 01:14:43 +0000 (01:14 +0000)]
Remove .pyc files.

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

12 years ago1. Fix a bug of StrGather tool for a special case when defining same string with...
hche10x [Thu, 17 Jan 2008 01:12:46 +0000 (01:12 +0000)]
1. Fix a bug of StrGather tool for a special case when defining same string with different number of language of multiple uni files and parsing them in a special sequence.
2. Move table related files of ECC to a single directory and then these files can be re-used by other tools
3. Move DataClass.py from ECC directory to CommonDataClass directory

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

12 years agoconditional statement support initial check-in.
jlin16 [Fri, 11 Jan 2008 03:19:27 +0000 (03:19 +0000)]
conditional statement support initial check-in.

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

12 years agoFixed an issue which the value of PCD from FDF file is not correct.
jwang36 [Fri, 4 Jan 2008 08:00:02 +0000 (08:00 +0000)]
Fixed an issue which the value of PCD from FDF file is not correct.

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

12 years agoadd !include statement support for GenFds
jlin16 [Fri, 4 Jan 2008 04:06:49 +0000 (04:06 +0000)]
add !include statement support for GenFds

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

12 years agoAdded more error check
jwang36 [Fri, 4 Jan 2008 02:07:25 +0000 (02:07 +0000)]
Added more error check

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

12 years agoDEPEX section generation initial check-in.
jlin16 [Wed, 2 Jan 2008 09:18:09 +0000 (09:18 +0000)]
DEPEX section generation initial check-in.

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

12 years ago1. Fix a bug to save guid information to ppi section
hche10x [Wed, 2 Jan 2008 08:33:17 +0000 (08:33 +0000)]
1. Fix a bug to save guid information to ppi section

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

12 years ago1. Modify StrGather to support UEFI 2.1 specification
hche10x [Wed, 2 Jan 2008 08:08:18 +0000 (08:08 +0000)]
1. Modify StrGather to support UEFI 2.1 specification
2. Adjust debug information format in ECC tool.

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

12 years agoFixed a bug about PCD override in [Components] section in DSC file
jwang36 [Wed, 2 Jan 2008 02:48:06 +0000 (02:48 +0000)]
Fixed a bug about PCD override in [Components] section in DSC file

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

12 years agoindent adjust.
jlin16 [Fri, 28 Dec 2007 07:54:12 +0000 (07:54 +0000)]
indent adjust.

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

12 years agocheck in list files under a root dir.
jlin16 [Fri, 28 Dec 2007 07:51:05 +0000 (07:51 +0000)]
check in list files under a root dir.

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

12 years agoSyncing this file with edk2/BaseTools/Conf/tools_def.template file
lhauch [Fri, 28 Dec 2007 00:20:05 +0000 (00:20 +0000)]
Syncing this file with edk2/BaseTools/Conf/tools_def.template file

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

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

12 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

12 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

12 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