10 years agoFix UEFI_SPECIFICATION_VERSION display defect.
qhuang8 [Mon, 8 Feb 2010 10:03:53 +0000 (10:03 +0000)]

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1854 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate ImageSize to align 4K page size for load module at fix address feature.
lgao4 [Mon, 8 Feb 2010 09:05:12 +0000 (09:05 +0000)]
Update ImageSize to align 4K page size for load module at fix address feature.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1853 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoECC file license header and predicate expression check fix.
jlin16 [Mon, 8 Feb 2010 07:06:35 +0000 (07:06 +0000)]
ECC file license header and predicate expression check fix.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1852 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate to not generate EOT report when the FV list in empty
qhuang8 [Mon, 8 Feb 2010 06:29:04 +0000 (06:29 +0000)]
Update to not generate EOT report when the FV list in empty

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1851 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoRemove spec macro definitions in AutoGen.h for EDKII native modules as these macros...
qhuang8 [Mon, 8 Feb 2010 06:05:26 +0000 (06:05 +0000)]
Remove spec macro definitions in AutoGen.h for EDKII native modules as these macros should not be used in EDKII native source code.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1850 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance StringRef to support STRING_TOKEN syntax.
lgao4 [Mon, 8 Feb 2010 05:50:15 +0000 (05:50 +0000)]
Enhance StringRef to support STRING_TOKEN syntax.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1849 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect copyright time.
lgao4 [Fri, 5 Feb 2010 06:59:58 +0000 (06:59 +0000)]
Correct copyright time.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1848 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect copyright of C tools.
lgao4 [Fri, 5 Feb 2010 06:50:09 +0000 (06:50 +0000)]
Correct copyright of C tools.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1847 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate TimeData help in GenFw to specify time zone impacts time scope.
lgao4 [Fri, 5 Feb 2010 03:33:51 +0000 (03:33 +0000)]
Update TimeData help in GenFw to specify time zone impacts time scope.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1846 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect GuidAttr type to array.
lgao4 [Fri, 5 Feb 2010 02:07:49 +0000 (02:07 +0000)]
Correct GuidAttr type to array.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1845 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate GenFds tool to use common PeImageClass to get PeImage section alignment.
lgao4 [Fri, 5 Feb 2010 01:44:01 +0000 (01:44 +0000)]
Update GenFds tool to use common PeImageClass to get PeImage section alignment.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1844 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix one FD base address display defect
qhuang8 [Thu, 4 Feb 2010 12:50:03 +0000 (12:50 +0000)]
Fix one FD base address display defect

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1843 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Turn off prediction feature of build report by default.
qhuang8 [Thu, 4 Feb 2010 12:25:41 +0000 (12:25 +0000)]
1. Turn off prediction feature of build report by default.
2. Show absolute path instead of workspace relative path
3. Show time stamp relative to local time zone instead of utc time zone
4. Show DXE_SMM_DRIVER as SMM file type if the module spec version >= 1.1

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1842 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Close file after Flush file
lgao4 [Thu, 4 Feb 2010 10:03:26 +0000 (10:03 +0000)]
1. Close file after Flush file
2. Compare file content, not file time stamp.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1841 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix a bug that file name should be printed
qhuang8 [Thu, 4 Feb 2010 09:44:40 +0000 (09:44 +0000)]
Fix a bug that file name should be printed

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1840 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd these tools link
lgao4 [Thu, 4 Feb 2010 06:04:00 +0000 (06:04 +0000)]
Add these tools link

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1839 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate build system to support the feature of Load Module At Fix Address (LMFA).
lgao4 [Thu, 4 Feb 2010 02:34:53 +0000 (02:34 +0000)]
Update build system to support the feature of Load Module At Fix Address (LMFA).
1. Build.exe tool will calculate the required memory, assign the memory for the different modules, automatically patch LMFA PCDs into EFI image after build, and create the address map file when this feature is enabled by set FIX_LOAD_TOP_MEMORY_ADDRESS macro value.
2. New PatchPcdValue tool is developed to patch the value into binary image.
3. New GenPatchPcdTable tool is added to parse EFI image and map file to get the offset of Patchable PCD in EFI image.
4. GenFv tool don’t assign the memory address for the loaded module, which has been taken over by Build.exe tool.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1838 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate AutoGen code to always create the same string token list got from uni file.
lgao4 [Tue, 2 Feb 2010 11:25:43 +0000 (11:25 +0000)]
Update AutoGen code to always create the same string token list got from uni file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1837 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoImport EOT tool if only required
qhuang8 [Tue, 2 Feb 2010 10:21:20 +0000 (10:21 +0000)]
Import EOT tool if only required

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1836 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance ECC tools:
qhuang8 [Tue, 2 Feb 2010 10:05:50 +0000 (10:05 +0000)]
Enhance ECC tools:
1. Add same Include File Name checkpoint
2. Add -w option support to specify workspace environment
3. Add -e option support to specify an exception file list
4. Print out the error file, line number, error info in the command output in the standard format to be captured by some editor when ECC tool is run as the plug in.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1835 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoRollback to BaseTools revision 1799. The patch tries to use Win32 platform specific...
qhuang8 [Tue, 2 Feb 2010 08:42:48 +0000 (08:42 +0000)]
Rollback to BaseTools revision 1799. The patch tries to use Win32 platform specific method to solve multi-thread build issue. We might need complete solution after more detailed investigation.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1834 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate CLexter.py and Cparser.py accordingly:
qhuang8 [Tue, 2 Feb 2010 06:44:31 +0000 (06:44 +0000)]
Update CLexter.py and Cparser.py accordingly:
They are the output of ANTLR 3.0.1 output for C.g

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1833 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd PACKET as new modifier to c grammar
qhuang8 [Tue, 2 Feb 2010 06:41:30 +0000 (06:41 +0000)]
Add PACKET as new modifier to c grammar

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1832 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Save the report file to DOS format
qhuang8 [Mon, 1 Feb 2010 12:47:23 +0000 (12:47 +0000)]
1. Save the report file to DOS format
2. Do not re-parse the INF files in FDF file to collect GUID and INF file path
3. Wrapper EOT tool in try...except statement

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1831 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCatch TypeError exception when do int(value)
lgao4 [Mon, 1 Feb 2010 09:21:34 +0000 (09:21 +0000)]
Catch TypeError exception when do int(value)

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1830 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoSet the FdfPcdSet to be empty if the platform DSC does not has assosicated FDF file.
qhuang8 [Mon, 1 Feb 2010 02:35:58 +0000 (02:35 +0000)]
Set the FdfPcdSet to be empty if the platform DSC does not has assosicated FDF file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1829 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Add loading fixed address report if the fixed address map file is generated.
qhuang8 [Fri, 29 Jan 2010 11:44:32 +0000 (11:44 +0000)]
1. Add loading fixed address report if the fixed address map file is generated.
2. Add driver execution order report by integrating EOT tool

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1828 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd initialization of ReportList
qhuang8 [Fri, 29 Jan 2010 06:00:56 +0000 (06:00 +0000)]
Add initialization of ReportList

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1827 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd check for the invalid negative PCD value setting.
lgao4 [Fri, 29 Jan 2010 02:56:49 +0000 (02:56 +0000)]
Add check for the invalid negative PCD value setting.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1826 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect GuidXRefFile generation for EDK module.
lgao4 [Fri, 29 Jan 2010 02:54:50 +0000 (02:54 +0000)]
Correct GuidXRefFile generation for EDK module.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1825 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix a syntax error in parser
qhuang8 [Fri, 29 Jan 2010 01:49:53 +0000 (01:49 +0000)]
Fix a syntax error in parser

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1824 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix a bug in case log file is not specified
qhuang8 [Thu, 28 Jan 2010 13:16:28 +0000 (13:16 +0000)]
Fix a bug in case log file is not specified

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1823 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate GenFw to support rebase image to the specified address.
lgao4 [Thu, 28 Jan 2010 10:28:04 +0000 (10:28 +0000)]
Update GenFw to support rebase image to the specified address.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1822 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance Eot tool to support run standalone or invoked by other tools.
qhuang8 [Thu, 28 Jan 2010 09:57:12 +0000 (09:57 +0000)]
Enhance Eot tool to support run standalone or invoked by other tools.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1821 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect import statement to Eot subdirectory
qhuang8 [Thu, 28 Jan 2010 09:55:20 +0000 (09:55 +0000)]
Correct import statement to Eot subdirectory

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1820 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Extend Platform Build Options only for EDK module, or only for EDKII module, or...
lgao4 [Thu, 28 Jan 2010 01:46:33 +0000 (01:46 +0000)]
1. Extend Platform Build Options only for EDK module, or only for EDKII module, or for both.
2. Support negative value setting for PCD value.
3. Check whether PCD value is valid for its data type.
4. Correct the generation for patchable PCD in AutoGen code.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1819 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd addition "-g" option to specify a file that contains the GUID Name and value.
qhuang8 [Tue, 26 Jan 2010 14:22:57 +0000 (14:22 +0000)]
Add addition "-g" option to specify a file that contains the GUID Name and value.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1818 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance Trim tool to handle framework FV header.
lgao4 [Tue, 26 Jan 2010 08:16:15 +0000 (08:16 +0000)]
Enhance Trim tool to handle framework FV header.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1817 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance GenFds to support the absolute file path.
lgao4 [Tue, 26 Jan 2010 07:18:06 +0000 (07:18 +0000)]
Enhance GenFds to support the absolute file path.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1816 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd flash related features for build report generation tools
qhuang8 [Tue, 26 Jan 2010 06:14:58 +0000 (06:14 +0000)]
Add flash related features for build report generation tools

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1815 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCode brief scrubs to fix some python syntax error and incorrect copyright format
qhuang8 [Tue, 26 Jan 2010 01:38:14 +0000 (01:38 +0000)]
Code brief scrubs to fix some python syntax error and incorrect copyright format

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1814 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance AsciiStringToUint64 to support the conversion for the number >=4G.
lgao4 [Mon, 25 Jan 2010 14:19:14 +0000 (14:19 +0000)]
Enhance AsciiStringToUint64 to support the conversion for the number >=4G.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1813 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Enable Execution Order Tool in Build Tool project. This tool is used to statically...
hchen30 [Sat, 23 Jan 2010 17:25:56 +0000 (17:25 +0000)]
1. Enable Execution Order Tool in Build Tool project. This tool is used to statically scan c source code and FV image files to find the dispatch order of each PEIM/DXE DIRVER with their produced/consumed PPI/PROTOCOL.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1812 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoRemove obsolete --xip flagx
ajfish [Sun, 17 Jan 2010 18:26:07 +0000 (18:26 +0000)]
Remove obsolete --xip flagx

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

10 years agoFix build broken
klu2 [Fri, 15 Jan 2010 08:02:16 +0000 (08:02 +0000)]
Fix build broken

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

10 years agoFix python syntax error
qhuang8 [Fri, 15 Jan 2010 06:09:19 +0000 (06:09 +0000)]
Fix python syntax error

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

10 years agoFix the issue that makefile could be created success in VS2008 environment. The root...
klu2 [Thu, 14 Jan 2010 17:43:41 +0000 (17:43 +0000)]
Fix the issue that makefile could be created success in VS2008 environment. The root cause is the file handler of make file was not be closed as quickly as possbile, but VS2008's make.exe would like open the file exclusively.

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

10 years agocorrect the latest mingw runtime file and its checksum
klu2 [Thu, 14 Jan 2010 15:54:35 +0000 (15:54 +0000)]
correct the latest mingw runtime file and its checksum

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

10 years ago1. Add a compatibility check point in INF parser to ignore program stopping when...
hchen30 [Wed, 13 Jan 2010 08:46:42 +0000 (08:46 +0000)]
1. Add a compatibility check point in INF parser to ignore program stopping when INF file format error found during non-building parsing.

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

10 years agotools_def.template: Revert unintended changes in r1803
jljusten [Tue, 12 Jan 2010 23:35:16 +0000 (23:35 +0000)]
tools_def.template: Revert unintended changes in r1803

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

10 years agoAdded VS2008 toolchain support.
ywang [Tue, 12 Jan 2010 22:22:25 +0000 (22:22 +0000)]
Added VS2008 toolchain support.

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

10 years agoChange linker for XCODE32 ARM tools. iPhone SDK linker does not properly support...
ajfish [Tue, 12 Jan 2010 17:16:34 +0000 (17:16 +0000)]
Change linker for XCODE32 ARM tools. iPhone SDK linker does not properly support relocations, so the Snow Leopard linker must be used.

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

10 years agoGenerate GUID cross file in the FV directory after build fds ends successfully.
qhuang8 [Tue, 12 Jan 2010 09:20:20 +0000 (09:20 +0000)]
Generate GUID cross file in the FV directory after build fds ends successfully.

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

10 years agobuild_rule.template: Remove 'objcopy -S' command
jljusten [Tue, 12 Jan 2010 07:08:34 +0000 (07:08 +0000)]
build_rule.template: Remove 'objcopy -S' command

This command was added in r1744, but it causes the GCC44 toolchain
to fail to build properly on the IA32 architecture.

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

10 years agoAdd part of build report generation features: PCD, Library, DEPEX, etc. (The build...
qhuang8 [Mon, 11 Jan 2010 07:32:43 +0000 (07:32 +0000)]
Add part of build report generation features: PCD, Library, DEPEX, etc. (The build report features all resident in BuildReport.py to be separate from the major build code flow.)

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

10 years agoUpdate doxygen check error message.
jlin16 [Mon, 11 Jan 2010 05:57:54 +0000 (05:57 +0000)]
Update doxygen check error message.

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

10 years agoFix GCC4.3 build break
lgao4 [Mon, 11 Jan 2010 03:24:30 +0000 (03:24 +0000)]
Fix GCC4.3 build break

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

10 years agoUpdate GenFds tool to support the guided data generation for the fixuped sub FvImage...
lgao4 [Sat, 9 Jan 2010 07:37:03 +0000 (07:37 +0000)]
Update GenFds tool to support the guided data generation for the fixuped sub FvImage when the sub FvImage is wrapped into a guided section or a FvImage section into another FvImage.

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

10 years agoEnhance ECC to deal with quoted predicate expression.
jlin16 [Fri, 8 Jan 2010 06:01:57 +0000 (06:01 +0000)]
Enhance ECC to deal with quoted predicate expression.

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

10 years agoEnhance incremental build for MicroCode
lgao4 [Thu, 7 Jan 2010 06:01:01 +0000 (06:01 +0000)]
Enhance incremental build for MicroCode

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

10 years agoUpdate FFS_FIXED_CHECKSUM value to 0xAA according to PI spec 1.2.
lgao4 [Mon, 4 Jan 2010 14:37:06 +0000 (14:37 +0000)]
Update FFS_FIXED_CHECKSUM value to 0xAA according to PI spec 1.2.

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

10 years agoRemove unnecessary warning.
lgao4 [Mon, 4 Jan 2010 10:27:02 +0000 (10:27 +0000)]
Remove unnecessary warning.

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

10 years agoEnhance Guided section to support multiple guid attribute setting.
lgao4 [Mon, 4 Jan 2010 08:01:40 +0000 (08:01 +0000)]
Enhance Guided section to support multiple guid attribute setting.

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

10 years ago1. Support Auto alignment for PE32 and TE section.
lgao4 [Mon, 4 Jan 2010 05:38:08 +0000 (05:38 +0000)]
1. Support Auto alignment for PE32 and TE section.
2. Add FFS section in their alphabetical order when [Rule] specifies a wildcard.

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

10 years agoCorrect CHAR16 data type to HII UINT16 data type
lgao4 [Mon, 4 Jan 2010 02:45:22 +0000 (02:45 +0000)]
Correct CHAR16 data type to HII UINT16 data type

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

10 years agoFix GCC warning for GenFv and VfrCompiler tool
lgao4 [Thu, 31 Dec 2009 02:39:15 +0000 (02:39 +0000)]
Fix GCC warning for GenFv and VfrCompiler tool

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

10 years agoCorrect zero value for Guid variable
lgao4 [Wed, 30 Dec 2009 02:29:13 +0000 (02:29 +0000)]
Correct zero value for Guid variable

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

10 years agoFix compiler warning!
lgao4 [Wed, 30 Dec 2009 02:25:01 +0000 (02:25 +0000)]
Fix compiler warning!

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

10 years agoSet default block size to 1 when block size is not set for FD or FV.
lgao4 [Wed, 30 Dec 2009 01:18:42 +0000 (01:18 +0000)]
Set default block size to 1 when block size is not set for FD or FV.

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

10 years agoUpdate GenFds tool to support fixup the sub FvImage when the sub FvImage is wrapped...
lgao4 [Mon, 28 Dec 2009 14:19:02 +0000 (14:19 +0000)]
Update GenFds tool to support fixup the sub FvImage when the sub FvImage is wrapped into a guided section or a FvImage section into another FvImage.

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

10 years agoFix GCC build error.
lgao4 [Fri, 25 Dec 2009 02:38:35 +0000 (02:38 +0000)]
Fix GCC build error.

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

10 years ago1. Set Min/Max value for OneOf opcode according to its oneof option value.
lgao4 [Thu, 24 Dec 2009 11:56:41 +0000 (11:56 +0000)]
1. Set Min/Max value for OneOf opcode according to its oneof option value.
2. Check Numeric flag when the varstore is buffer store.

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

10 years agoCheck whether numericFlags matches the var data type when varstore is bufferstore...
lgao4 [Thu, 24 Dec 2009 05:50:23 +0000 (05:50 +0000)]
Check whether numericFlags matches the var data type when varstore is bufferstore or efivarstore.

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

10 years agoCorrect license header to BSD license.
lgao4 [Thu, 24 Dec 2009 01:33:53 +0000 (01:33 +0000)]
Correct license header to BSD license.

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

10 years agoGenerate constructor of NULL library instances in order that they are listed in DSC...
lgao4 [Wed, 23 Dec 2009 05:29:28 +0000 (05:29 +0000)]
Generate constructor of NULL library instances in order that they are listed in DSC file.

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

10 years agoSupport EFI_IFR_NUMERIC_SIZE_x flags definition
lgao4 [Wed, 23 Dec 2009 02:48:57 +0000 (02:48 +0000)]
Support EFI_IFR_NUMERIC_SIZE_x flags definition

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

10 years agoRemove the action of using objcopy to add debug link section. In UNIXGCC tool chain...
klu2 [Wed, 23 Dec 2009 01:58:45 +0000 (01:58 +0000)]
Remove the action of using objcopy to add debug link section. In UNIXGCC tool chain, MinGW's objcopy do not add the section in PE way, but in ELF way that add section index at bottom of file, add section's content in ahead of file. It will make original PE file corrupt.

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

10 years agoGenFw: PeCoffConvertImageToXip overwrites file headers
jljusten [Tue, 22 Dec 2009 07:28:32 +0000 (07:28 +0000)]
GenFw: PeCoffConvertImageToXip overwrites file headers

If a section had an offset which overlapped with the executable headers
then the headers would be overwritten by PeCoffConvertImageToXip.
Now, this function will abort the conversion to XIP if this situation
is detected.

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

10 years agoFix build broken for IA64 architecture under linux
klu2 [Mon, 21 Dec 2009 10:23:01 +0000 (10:23 +0000)]
Fix build broken for IA64 architecture under linux

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

10 years agoSplit debug information into a fake-pdb file for GCC tool chain
klu2 [Sat, 19 Dec 2009 10:31:54 +0000 (10:31 +0000)]
Split debug information into a fake-pdb file for GCC tool chain

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

10 years agoRemove ARM compiler intrinsic libs and use new NULL library class feature.
ajfish [Wed, 16 Dec 2009 18:25:27 +0000 (18:25 +0000)]
Remove ARM compiler intrinsic libs and use new NULL library class feature.

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

10 years agoFix two bugs in FvLib functions.
lgao4 [Wed, 16 Dec 2009 14:22:17 +0000 (14:22 +0000)]
Fix two bugs in FvLib functions.

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

10 years agoGenFw: Update PeCoffExpandZeroFillSections to work with UNIXGCC & CYGGCC
jljusten [Wed, 16 Dec 2009 08:10:11 +0000 (08:10 +0000)]
GenFw: Update PeCoffExpandZeroFillSections to work with UNIXGCC & CYGGCC

PeCoffExpandZeroFillSections is also being renamed to

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

10 years agoCorrect the latest link for ming runtime source for x64 architecture
klu2 [Sat, 12 Dec 2009 09:30:25 +0000 (09:30 +0000)]
Correct the latest link for ming runtime source for x64 architecture

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

10 years agoCorrect the latest link for ming runtime source
klu2 [Sat, 12 Dec 2009 09:23:29 +0000 (09:23 +0000)]
Correct the latest link for ming runtime source

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

10 years agom32 option is missed for GCC IA32 assembler, which make IA32 building failure on...
klu2 [Sat, 12 Dec 2009 08:00:13 +0000 (08:00 +0000)]
m32 option is missed for GCC IA32 assembler, which make IA32 building failure on a GCC 64bit machine

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

10 years agoCorrect the source of build template file. They are should be pointed to EDK_TOOLS_PA...
klu2 [Sat, 12 Dec 2009 05:07:17 +0000 (05:07 +0000)]
Correct the source of build template file. They are should be pointed to EDK_TOOLS_PATH. So customer could use EDK_TOOLS_PATH to re-point the current tools path as their development.

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

10 years agoGenFw: Comment call to PeCoffExpandZeroFillSections
jljusten [Fri, 11 Dec 2009 05:08:55 +0000 (05:08 +0000)]
GenFw: Comment call to PeCoffExpandZeroFillSections

This function appears to be breaking the UNIXGCC and CYGGCC toolchains
for the IA32 and X64 architectures.

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

10 years agoMissed one of the tools when I added the set.
AJFISH [Wed, 9 Dec 2009 01:39:32 +0000 (01:39 +0000)]
Missed one of the tools when I added the set.

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

10 years agoAdd in the hooks points for Cygwin and update the TestTools.py to know how to find...
AJFISH [Tue, 8 Dec 2009 22:55:44 +0000 (22:55 +0000)]
Add in the hooks points for Cygwin and update the TestTools.py to know how to find them.

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

10 years agoCYGWIN 1.7 uses gcc 4.3.4 and the follownig files get build errors for the ctype...
AJFISH [Tue, 8 Dec 2009 22:16:28 +0000 (22:16 +0000)]
CYGWIN 1.7 uses gcc 4.3.4 and the follownig files get build errors for the ctype.h isdigit() and the like macros. The arguments are defined in POSIX as int, so I casted them to int to make the warning go away.

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

10 years agoNeed to add this to get BeagleBoard to build. Probably will get moved to edk2 in...
ajfish [Tue, 8 Dec 2009 19:24:53 +0000 (19:24 +0000)]
Need to add this to get BeagleBoard to build. Probably will get moved to edk2 in the long run.

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

10 years agoAdding fixes for Snow Leopard build. Snow Leopard tools default to 64-bit images...
ajfish [Mon, 7 Dec 2009 22:13:11 +0000 (22:13 +0000)]
Adding fixes for Snow Leopard build. Snow Leopard tools default to 64-bit images, but the uname stuff still reports i386. The tools are not yet 64-bit clean so make sure we build for i386 on Snow Leopard. Found an extra warning in BasePeCoff.c. Added sitecustomize.py that only does stuff for Mac OS X, turns out the default version of pyhton on Snow Leopard needs a little tweak to work correctly.

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

10 years agoFix an issue with mtoc not producing XIP images correctly as an area of zeros was...
ajfish [Mon, 7 Dec 2009 22:10:29 +0000 (22:10 +0000)]
Fix an issue with mtoc not producing XIP images correctly as an area of zeros was not in the PE/COFF file image, but was in the virtual (memory) image. This makes for a file that does not run XIP. This code includes fixes from the code review done on the mailing list.

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

10 years agoUpdate the .template files for latest OS X and RVCT builds. Fix some GCC issues with...
ajfish [Mon, 7 Dec 2009 19:17:46 +0000 (19:17 +0000)]
Update the .template files for latest OS X and RVCT builds. Fix some GCC issues with .h files, and add definition for MTOC PE/COFF debug image type. Also add a function needed for the --xip GenFw changed that is pending.

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

10 years agoMinor update the wording in help to follow build spec 1.2 literally.
qhuang8 [Thu, 3 Dec 2009 06:27:05 +0000 (06:27 +0000)]
Minor update the wording in help to follow build spec 1.2 literally.

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

10 years ago1. Support EDK DXE_SMM_DRIVER module type.
lgao4 [Tue, 1 Dec 2009 06:20:22 +0000 (06:20 +0000)]
1. Support EDK DXE_SMM_DRIVER module type.
2. Add build rule for microcode .inc file.

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

10 years agotools_def.template: Add GCC 4.4 IA32 toolchain
jljusten [Mon, 30 Nov 2009 16:52:35 +0000 (16:52 +0000)]
tools_def.template: Add GCC 4.4 IA32 toolchain

Please note that GCC 4.4 is not yet supported by the EDK II project.

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

10 years agoSync the description of GenFw and GenFv tool options between source code and man...
lgao4 [Wed, 25 Nov 2009 02:20:02 +0000 (02:20 +0000)]
Sync the description of GenFw and GenFv tool options between source code and man page document.

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

10 years ago1. Add a new option (--hiibinpackage) of GenFw tool to generate the resource section...
lgao4 [Wed, 25 Nov 2009 01:23:56 +0000 (01:23 +0000)]
1. Add a new option (--hiibinpackage) of GenFw tool to generate the resource section based on the input HII data.
2. Fix an error in AutoGen that processes all binary by default build rule. It should only process the binary files specified in INF by default rule.

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