people/mcb30/basetools.git
10 years agoOnly Check the buffer var store CheckBox question to the boolean type according to... master origin/HEAD origin/master
lgao4 [Wed, 3 Sep 2008 01:49:49 +0000 (01:49 +0000)]
Only Check the buffer var store CheckBox question to the boolean type according to UEFI spec.

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

10 years agoUpdate VfrCompiler to fix the following incompatible and check issues.
lgao4 [Tue, 2 Sep 2008 13:11:26 +0000 (13:11 +0000)]
Update VfrCompiler to fix the following incompatible and check issues.
     1. First structure name will be declared as the default buffer varstore if no any buffer varstore is declared.
     2. Use numeric IFR type to declare the undefined question in order to support the different data type.
     3. Array check for CheckBox, Nemeric and Oneof Type, because they don't support the array as their question.
     4. Check the index in array for UEFI and Framework VFR question.

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

10 years ago1. Fix a bug for variable init issue.
hche10x [Tue, 2 Sep 2008 07:52:54 +0000 (07:52 +0000)]
1. Fix a bug for variable init issue.

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

10 years agoR9 Build & GenFds ECP support initial check in.
jlin16 [Mon, 1 Sep 2008 09:39:47 +0000 (09:39 +0000)]
R9 Build & GenFds ECP support initial check in.

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

10 years agoUpdates from June - don't remember why they were not checked in then.
lhauch [Fri, 29 Aug 2008 16:49:27 +0000 (16:49 +0000)]
Updates from June - don't remember why they were not checked in then.

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

10 years agoMore place to convert build type
jwang36 [Fri, 29 Aug 2008 07:04:46 +0000 (07:04 +0000)]
More place to convert build type

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

10 years agoConverted build type to upper case in order to solve build rule matching issue.
jwang36 [Fri, 29 Aug 2008 06:36:27 +0000 (06:36 +0000)]
Converted build type to upper case in order to solve build rule matching issue.

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

10 years agoFixed the macro option from -y to -D
lhauch [Thu, 28 Aug 2008 16:38:05 +0000 (16:38 +0000)]
Fixed the macro option from -y to -D

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

10 years agoChanging these files EOL character to be DOS CRLF
lhauch [Thu, 28 Aug 2008 15:25:59 +0000 (15:25 +0000)]
Changing these files EOL character to be DOS CRLF

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

10 years agoAdded utf_16_le and latin_1 encodings to the MODULES line
lhauch [Thu, 28 Aug 2008 15:18:33 +0000 (15:18 +0000)]
Added utf_16_le and latin_1 encodings to the MODULES line

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

10 years agoChanging option character for defining Macros from -y to -D
lhauch [Wed, 27 Aug 2008 18:03:34 +0000 (18:03 +0000)]
Changing option character for defining Macros from -y to -D

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

10 years agoChanging option character for defining Macros from -y to -D
lhauch [Wed, 27 Aug 2008 18:02:48 +0000 (18:02 +0000)]
Changing option character for defining Macros from -y to -D

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

10 years agoupdated the Option comment for adding -D, --define in the future
lhauch [Wed, 27 Aug 2008 17:57:33 +0000 (17:57 +0000)]
updated the Option comment for adding -D, --define in the future

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

10 years agoFixed error message grammar
lhauch [Tue, 26 Aug 2008 15:39:55 +0000 (15:39 +0000)]
Fixed error message grammar

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

10 years agoGenFds: update Fdf parser to make raw acpi and asl section could be optional; update...
jlin16 [Fri, 22 Aug 2008 04:32:44 +0000 (04:32 +0000)]
GenFds: update Fdf parser to make raw acpi and asl section could be optional; update section generation to search build output files in directory and all sub-directory.

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

10 years agoAdd check for the input file whose size is Zero.
lgao4 [Thu, 21 Aug 2008 11:41:07 +0000 (11:41 +0000)]
Add check for the input file whose size is Zero.

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

10 years agoDeclare Default MANUFACTURING Store for Vfr Code Reference.
lgao4 [Thu, 14 Aug 2008 04:37:31 +0000 (04:37 +0000)]
Declare Default MANUFACTURING Store for Vfr Code Reference.

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

10 years ago1. Added TOOLCHAIN macro in makefile as well as TOOLCHAIN_TAG for backward-compatibility.
jwang36 [Thu, 14 Aug 2008 01:43:26 +0000 (01:43 +0000)]
1. Added TOOLCHAIN macro in makefile as well as TOOLCHAIN_TAG for backward-compatibility.
2. Upgrade the build version

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

10 years agogcc/mingw-gcc-build.py:
jljusten [Tue, 12 Aug 2008 19:31:31 +0000 (19:31 +0000)]
gcc/mingw-gcc-build.py:
* Add initial support for building an IPF GCC cross compiler for
  edk2/UEFI.  This cross compiler build is not validated at this
  time, and therefore an extra warning is printed.
* Add a retry (up to 3 times) for downloading of the source code.

gcc/README.txt
* Fix reference to built-essential Ubuntu package

gcc/x86_64-mingw-gcc-build.py:
gcc/tianoCross-gcc-4.1:
* Deprecated.  Use the mingw-gcc-build.py script instead.

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

10 years agoEnhance VfrCompiler to handle framework vfr file, and print more debug information...
lgao4 [Tue, 12 Aug 2008 09:48:20 +0000 (09:48 +0000)]
Enhance VfrCompiler to handle framework vfr file, and print more debug information into .lst file.

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

10 years agoEnhanced the build_rule format and merged updates from edk2 trunk
jwang36 [Tue, 12 Aug 2008 07:20:59 +0000 (07:20 +0000)]
Enhanced the build_rule format and merged updates from edk2 trunk

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

10 years ago1. Enhanced the format of build_rule.txt to allow module type and arch information.
jwang36 [Tue, 12 Aug 2008 07:18:52 +0000 (07:18 +0000)]
1. Enhanced the format of build_rule.txt to allow module type and arch information.
2. Enhanced Trim to convert ASL style of include to C style of include
3. Enhanced Trim to convert some EDK coding convention to EDK2 ECP convention
4. Added warning message when encountering unrecognized content in DSC/DEC/INF File

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

10 years agoGenFds output message clarification for build ARCH.
jlin16 [Tue, 12 Aug 2008 04:23:35 +0000 (04:23 +0000)]
GenFds output message clarification for build ARCH.

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

10 years agoEnhance GenFv tool to print Fv Size and Length, and Get module map by module pdb...
lgao4 [Tue, 12 Aug 2008 03:32:55 +0000 (03:32 +0000)]
Enhance GenFv tool to print Fv Size and Length, and Get module map by module pdb pointer and get module guid by module FFS guid.

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

10 years agoGenFds add feature of display FV space information.
jlin16 [Mon, 11 Aug 2008 09:16:57 +0000 (09:16 +0000)]
GenFds add feature of display FV space information.

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

10 years agoIgnored everything outside DEPENDENCY_START and DEPENDENCY_END for dxs file in R8.
jwang36 [Fri, 8 Aug 2008 06:17:57 +0000 (06:17 +0000)]
Ignored everything outside DEPENDENCY_START and DEPENDENCY_END for dxs file in R8.

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

10 years agoAdded '-a' and '--asl-file' options to convert asl include style to c include style.
jwang36 [Fri, 8 Aug 2008 06:00:20 +0000 (06:00 +0000)]
Added '-a' and '--asl-file' options to convert asl include style to c include style.

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

10 years agoRemoved the test of a key of tdict since it doesn't support this operation and will...
jwang36 [Thu, 7 Aug 2008 07:59:02 +0000 (07:59 +0000)]
Removed the test of a key of tdict since it doesn't support this operation and will cause dead block.

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

10 years agoAdded two global variable to record module in building or processing
jwang36 [Thu, 31 Jul 2008 08:22:42 +0000 (08:22 +0000)]
Added two global variable to record module in building or processing

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

10 years agoAdded more error check
jwang36 [Thu, 31 Jul 2008 08:21:31 +0000 (08:21 +0000)]
Added more error check

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

10 years ago1. Fixed escape character issue
jwang36 [Mon, 28 Jul 2008 02:57:58 +0000 (02:57 +0000)]
1. Fixed escape character issue
2. Added host and python information in message for better debug

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

10 years ago1. Fixed unknown error report when no corresponding table in database for a file
jwang36 [Fri, 25 Jul 2008 06:33:41 +0000 (06:33 +0000)]
1. Fixed unknown error report when no corresponding table in database for a file
2. Added more detailed error information for format error

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

10 years agoFixed an issue which NULL library instance won't be built into the module using it
jwang36 [Fri, 25 Jul 2008 05:34:29 +0000 (05:34 +0000)]
Fixed an issue which NULL library instance won't be built into the module using it

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

10 years agoECC: change doxygen tag check policy to not allow retval but allow return tag for...
jlin16 [Wed, 16 Jul 2008 10:11:49 +0000 (10:11 +0000)]
ECC: change doxygen tag check policy to not allow retval but allow return tag for void return functions.

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

10 years agoFix the bug to create Pci2.3 and Pci3.0 rom image.
lgao4 [Wed, 16 Jul 2008 07:06:42 +0000 (07:06 +0000)]
Fix the bug to create Pci2.3 and Pci3.0 rom image.

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

10 years agoECC: fix incomplete comment strip when searching field name in struct.
jlin16 [Wed, 16 Jul 2008 03:36:45 +0000 (03:36 +0000)]
ECC: fix incomplete comment strip when searching field name in struct.

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

10 years agoECC: fix Boolean array variable check.
jlin16 [Tue, 15 Jul 2008 08:39:21 +0000 (08:39 +0000)]
ECC: fix Boolean array variable check.

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

10 years ago1. Change tool name from "Dbt" to "Ddc"
hche10x [Mon, 14 Jul 2008 06:15:19 +0000 (06:15 +0000)]
1. Change tool name from "Dbt" to "Ddc"

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

10 years agoECC: Fix array type variable doxygen comment check
jlin16 [Wed, 9 Jul 2008 10:08:47 +0000 (10:08 +0000)]
ECC: Fix array type variable doxygen comment check

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

10 years agoAdd an error code for DBT
hche10x [Tue, 8 Jul 2008 09:14:28 +0000 (09:14 +0000)]
Add an error code for DBT

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

10 years agoAdd support to EBC image
lgao4 [Tue, 8 Jul 2008 06:09:33 +0000 (06:09 +0000)]
Add support to EBC image

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

10 years agoChanged unknown error message
jwang36 [Mon, 7 Jul 2008 08:55:16 +0000 (08:55 +0000)]
Changed unknown error message

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

10 years agoFixed library instance override issue
jwang36 [Mon, 7 Jul 2008 08:17:34 +0000 (08:17 +0000)]
Fixed library instance override issue

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

10 years ago1. Added more error check
jwang36 [Mon, 7 Jul 2008 07:29:33 +0000 (07:29 +0000)]
1. Added more error check
2. Added more or more exact information in error message
3. Cleaned error message

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

10 years agoRemove the specific SHT_GNU_HASH for some version unix OS.
lgao4 [Fri, 4 Jul 2008 08:10:06 +0000 (08:10 +0000)]
Remove the specific SHT_GNU_HASH for some version unix OS.

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

10 years agogit-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1275...
jlin16 [Fri, 4 Jul 2008 07:45:35 +0000 (07:45 +0000)]
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1275 7335b38e-4728-0410-8992-fb3ffe349368

10 years ago1. Add a checkpoint to check duplicated PCD defined in one DEC file.
hche10x [Thu, 3 Jul 2008 06:13:42 +0000 (06:13 +0000)]
1. Add a checkpoint to check duplicated PCD defined in one DEC file.

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

10 years agobuildtools/BaseTools/Source/Python/build/build.py:
jljusten [Wed, 2 Jul 2008 18:00:05 +0000 (18:00 +0000)]
buildtools/BaseTools/Source/Python/build/build.py:
  Be sure that exit code is between 0 and 127 inclusive.  If not,
  return 127 instead.  As mentioned in the python documentation for
  sys.exit, the return should be in the range 0-127, or else there
  may be undefined results.
  (http://docs.python.org/lib/module-sys.html)

  For the return code of 0x4000 (16384), it was found that several
  unix-like system would end up mapping this return to 0, which was
  then interpreted as a successful return.

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

10 years agoa. Solved the force rebuild failure if there's un-recognized macro found in "#include"
jwang36 [Mon, 30 Jun 2008 07:15:14 +0000 (07:15 +0000)]
a. Solved the force rebuild failure if there's un-recognized macro found in "#include"
b. Let the IsChanged return True as long as files' time stamp are not the same

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

10 years agoEnhance GenFw to support handling the shared ELF object file. This is helpful to...
lgao4 [Mon, 30 Jun 2008 06:11:50 +0000 (06:11 +0000)]
Enhance GenFw to support handling the shared ELF object file. This is helpful to provide source level debug ability in *unix environment.
[Background]
The UnixPkg provide an simulator in *unix. To support source level debug, we need dynamically load all of modules using dlopen(). This requires the output of compiler must be a shared ELF object. Therefore the GenFw should be able to handle the kind of object to generate .efi PE file.

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

10 years agoAutoGen is no longer a standalone tool
jwang36 [Fri, 27 Jun 2008 02:10:00 +0000 (02:10 +0000)]
AutoGen is no longer a standalone tool

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

10 years agoCorrect Error usage (FileName, LineNumber, MessageCode, Text, MsgFmt) to print error...
lgao4 [Sat, 21 Jun 2008 09:28:46 +0000 (09:28 +0000)]
Correct Error usage (FileName, LineNumber, MessageCode, Text, MsgFmt) to print error information.

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

10 years agoECC: open all check points in config.ini; revert the 'TPMINTERNALAPI' in Modifier...
jlin16 [Fri, 20 Jun 2008 02:54:25 +0000 (02:54 +0000)]
ECC: open all check points in config.ini; revert the 'TPMINTERNALAPI' in Modifier list.

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

10 years ago1. Fix a bug when parsing empty typedef name.
hche10x [Fri, 20 Jun 2008 02:27:46 +0000 (02:27 +0000)]
1. Fix a bug when parsing empty typedef name.
2. Modify config.ini to support two new checkpoints.

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

10 years agoRemove unrecognized chars in comments
qhuang8 [Thu, 19 Jun 2008 11:19:27 +0000 (11:19 +0000)]
Remove unrecognized chars in comments

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

10 years agoECC: Add progress indicator of file name for time-consuming checks; Cache include...
jlin16 [Thu, 19 Jun 2008 07:45:39 +0000 (07:45 +0000)]
ECC: Add progress indicator of file name for time-consuming checks; Cache include files for FullFileNames to improve check speed.

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

10 years agoAdded utf_16_le for another line of cx_Freeze
jwang36 [Thu, 19 Jun 2008 05:00:57 +0000 (05:00 +0000)]
Added utf_16_le for another line of cx_Freeze

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

10 years agoAdded encoding.utf_16_le in the command line for cx_Freeze
jwang36 [Thu, 19 Jun 2008 04:57:36 +0000 (04:57 +0000)]
Added encoding.utf_16_le in the command line for cx_Freeze

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

10 years agoFixed a key error
jwang36 [Thu, 19 Jun 2008 02:32:10 +0000 (02:32 +0000)]
Fixed a key error

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

10 years agoFix two bugs in GenFfs and GenSec tool to handle the different cases.
lgao4 [Wed, 18 Jun 2008 09:16:29 +0000 (09:16 +0000)]
Fix two bugs in GenFfs and GenSec tool to handle the different cases.

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

10 years agoECC: Fix misuse of error message type for boolean variable checking; fix intermediate...
jlin16 [Wed, 18 Jun 2008 08:02:21 +0000 (08:02 +0000)]
ECC: Fix misuse of error message type for boolean variable checking; fix intermediate variable type checking isssue for pointer type.

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

10 years agoMerged the latest changes in edk2 tree
jwang36 [Wed, 18 Jun 2008 03:23:29 +0000 (03:23 +0000)]
Merged the latest changes in edk2 tree

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

10 years agoECC: add TPMINTERNALAPI to modifier list in config.ini; add StripComments procedure...
jlin16 [Tue, 17 Jun 2008 06:29:17 +0000 (06:29 +0000)]
ECC: add TPMINTERNALAPI to modifier list in config.ini; add StripComments procedure before searching structure for variable type.

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

10 years ago1. Add two checkpoints to check “file name collisions in header files” and “structure...
hche10x [Tue, 17 Jun 2008 03:53:02 +0000 (03:53 +0000)]
1. Add two checkpoints to check “file name collisions in header files” and “structure name collisions”

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

10 years agobuildtools/BaseTools/Source/Python/Common/ToolDefClassObject.py:
jljusten [Mon, 16 Jun 2008 21:23:31 +0000 (21:23 +0000)]
buildtools/BaseTools/Source/Python/Common/ToolDefClassObject.py:
  Added 'ToolName' parameter to EdkLogger.warn call.

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

10 years agoECC: add function pattern check for non-boolean predicate expression check.
jlin16 [Mon, 16 Jun 2008 02:46:05 +0000 (02:46 +0000)]
ECC: add function pattern check for non-boolean predicate expression check.

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

10 years agoECC: No longer store struct/union which lies in the typedef pattern; add predicate...
jlin16 [Wed, 11 Jun 2008 07:21:07 +0000 (07:21 +0000)]
ECC: No longer store struct/union which lies in the typedef pattern; add predicate expression check for function calling pattern.

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

10 years ago1. Add the path of inf file itself to include path list of function GetIncludeListOfFile
hche10x [Wed, 11 Jun 2008 05:39:00 +0000 (05:39 +0000)]
1. Add the path of inf file itself to include path list of function GetIncludeListOfFile

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

10 years agoAdded FDF file in dependency check
jwang36 [Wed, 11 Jun 2008 05:30:28 +0000 (05:30 +0000)]
Added FDF file in dependency check

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

10 years ago1. Add the path of inf file itself to include path list.
hche10x [Wed, 11 Jun 2008 05:16:25 +0000 (05:16 +0000)]
1. Add the path of inf file itself to include path list.

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

10 years agoAdded extra files in build_rule.txt to source file's dependency
jwang36 [Thu, 5 Jun 2008 07:17:51 +0000 (07:17 +0000)]
Added extra files in build_rule.txt to source file's dependency

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

10 years ago1. Add -m and -s to support only scanning meta-data files or source code files
hche10x [Thu, 5 Jun 2008 05:51:01 +0000 (05:51 +0000)]
1. Add -m and -s to support only scanning meta-data files or source code files
2. Add -r to support specifying report file name on command line
3. Ignore the library of BASE type for error code 10002 and 10003
4. Stop raise error for most parsing error, remain some for critical errors

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

10 years agoECC: Fix C parser to accommodate debug macro strings.
jlin16 [Wed, 4 Jun 2008 07:42:35 +0000 (07:42 +0000)]
ECC: Fix C parser to accommodate debug macro strings.

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

10 years agoChanged the error message to be more meaningful when a module cannot be built
jwang36 [Thu, 29 May 2008 01:50:40 +0000 (01:50 +0000)]
Changed the error message to be more meaningful when a module cannot be built

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

10 years agoAdded the UnknownuserExtensions attribute.
lhauch [Wed, 28 May 2008 20:03:54 +0000 (20:03 +0000)]
Added the UnknownuserExtensions attribute.

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

10 years agoEnhance GenFv tool always collect all module Map files into the single FvMap file...
lgao4 [Tue, 27 May 2008 09:04:09 +0000 (09:04 +0000)]
Enhance GenFv tool always collect all module Map files into the single FvMap file for user easy reference.

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

10 years agoFinal modifications complete, ready for review.
lhauch [Fri, 23 May 2008 20:28:46 +0000 (20:28 +0000)]
Final modifications complete, ready for review.

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

10 years agoFixed two issues, XmlSpecification default is 1.1 for UEFI and removed required heade...
lhauch [Fri, 23 May 2008 20:28:13 +0000 (20:28 +0000)]
Fixed two issues, XmlSpecification default is 1.1 for UEFI and removed required header for MiscellaneousFiles

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

10 years agoECC: enable CheckAll feature by setting 'CheckAll' item in config.ini file to one.
jlin16 [Thu, 22 May 2008 08:44:45 +0000 (08:44 +0000)]
ECC: enable CheckAll feature by setting 'CheckAll' item in config.ini file to one.

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

10 years agoECC: fix the mis-report of function parameter position.
jlin16 [Thu, 22 May 2008 08:25:14 +0000 (08:25 +0000)]
ECC: fix the mis-report of function parameter position.

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

10 years agoECC: fix the mis-report of function return type position.
jlin16 [Thu, 22 May 2008 04:40:17 +0000 (04:40 +0000)]
ECC: fix the mis-report of function return type position.

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

10 years agoa. Fixed the incorrect generated array in c code for default store values.
jwang36 [Wed, 21 May 2008 08:03:31 +0000 (08:03 +0000)]
a. Fixed the incorrect generated array in c code for default store values.
b. Fixed the version string.

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

10 years ago1. Fix a bug in ECC code.
hche10x [Wed, 21 May 2008 07:44:37 +0000 (07:44 +0000)]
1. Fix a bug in ECC code.

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

10 years ago1. Add two columns in table Function
hche10x [Wed, 21 May 2008 06:28:08 +0000 (06:28 +0000)]
1. Add two columns in table Function
2. Ignore 'Build' directory when ECC tool parses workspace

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

10 years agoFixed PCD override issue.
jwang36 [Mon, 19 May 2008 05:10:21 +0000 (05:10 +0000)]
Fixed PCD override issue.

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

10 years agoFixed an error which caused value of PCD cannot be overridden.
jwang36 [Fri, 16 May 2008 08:44:07 +0000 (08:44 +0000)]
Fixed an error which caused value of PCD cannot be overridden.

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

10 years agoAdded file type check in dsc file
jwang36 [Fri, 16 May 2008 08:39:04 +0000 (08:39 +0000)]
Added file type check in dsc file

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

10 years agoFixed an issue in Optimize() when encounter expression like "TRUE AND TRUE"
jwang36 [Fri, 16 May 2008 03:02:50 +0000 (03:02 +0000)]
Fixed an issue in Optimize() when encounter expression like "TRUE AND TRUE"

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

10 years agoFixed error report error when more than one inf files found
jwang36 [Fri, 16 May 2008 02:17:22 +0000 (02:17 +0000)]
Fixed error report error when more than one inf files found

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

10 years ago1. Add an error catch in function GuidStructureStringToGuidString
hche10x [Thu, 15 May 2008 09:14:33 +0000 (09:14 +0000)]
1. Add an error catch in function GuidStructureStringToGuidString

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

10 years agoFixed a type issue.
jwang36 [Thu, 15 May 2008 03:38:39 +0000 (03:38 +0000)]
Fixed a type issue.

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

10 years agoAdded check of varid against 0
jwang36 [Thu, 15 May 2008 03:33:11 +0000 (03:33 +0000)]
Added check of varid against 0

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

10 years agoFixed an undefined variable issue
jwang36 [Thu, 15 May 2008 03:16:57 +0000 (03:16 +0000)]
Fixed an undefined variable issue

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

10 years agoMoved some content out of top level of the schema into local sections.
lhauch [Wed, 14 May 2008 22:19:13 +0000 (22:19 +0000)]
Moved some content out of top level of the schema into local sections.

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

10 years agoMerged several document sections into single document section within an annotation...
lhauch [Wed, 14 May 2008 18:51:45 +0000 (18:51 +0000)]
Merged several document sections into single document section within an annotation were appropriate

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

10 years agoContent ready for review
lhauch [Wed, 14 May 2008 18:30:38 +0000 (18:30 +0000)]
Content ready for review

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

10 years agotrunk/BaseTools/Source/C/VfrCompile/VfrSyntax.g:
jljusten [Tue, 13 May 2008 16:22:43 +0000 (16:22 +0000)]
trunk/BaseTools/Source/C/VfrCompile/VfrSyntax.g:
  Remove unneeded inclusion of Error.h, which
  is not available on Linux/OS X.

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

10 years agoa. Merged bug fixes from R8 tree
jwang36 [Tue, 13 May 2008 09:29:57 +0000 (09:29 +0000)]
a. Merged bug fixes from R8 tree
b. Fixed default storage issue
c. Changed the error message to standard format

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

10 years ago1. Add API 'append' to class sdict
hche10x [Tue, 13 May 2008 08:36:43 +0000 (08:36 +0000)]
1. Add API 'append' to class sdict

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

10 years agoUpdated with latest version of Schema for WorkspaceContent DB.
lhauch [Fri, 9 May 2008 23:33:29 +0000 (23:33 +0000)]
Updated with latest version of Schema for WorkspaceContent DB.

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