efi/basetools/.git
10 years agoTurn on objcopy for CYGGCC tool chain to avoid big size impact due to "-g" option...
klu2 [Mon, 1 Mar 2010 05:37:49 +0000 (05:37 +0000)]
Turn on objcopy for CYGGCC tool chain to avoid big size impact due to "-g" option is opened.

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

10 years agoFix the bug to support PI not compressed compression section.
lgao4 [Fri, 26 Feb 2010 10:07:19 +0000 (10:07 +0000)]
Fix the bug to support PI not compressed compression section.

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

10 years agomingw-gcc-build.py: Add ability to skip building GCC or binutils
jljusten [Thu, 25 Feb 2010 22:02:59 +0000 (22:02 +0000)]
mingw-gcc-build.py: Add ability to skip building GCC or binutils

Added --skip-binutils and --skip-gcc parameters.

A recent upgrade to the binutils version make it useful to just
build the binutils without rebuilding GCC.

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

10 years agomingw-gcc-build.py: Fix binutils version to match md5sum
jljusten [Thu, 25 Feb 2010 22:01:54 +0000 (22:01 +0000)]
mingw-gcc-build.py: Fix binutils version to match md5sum

The given md5sum was for binutils 2.20.51.0.5, but the path
was listing version 2.20.51.0.1.

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

10 years agoUpgrade the binutil 2.18.50.0.5 to 2.20.51.0.5 for UNIXGCC tool chain
klu2 [Thu, 25 Feb 2010 10:53:39 +0000 (10:53 +0000)]
Upgrade the binutil 2.18.50.0.5 to 2.20.51.0.5 for UNIXGCC tool chain

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

10 years agoSet the default value in BuildReport.py
qhuang8 [Wed, 24 Feb 2010 16:26:21 +0000 (16:26 +0000)]
Set the default value in BuildReport.py

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

10 years agoAdd prediction expression
qhuang8 [Wed, 24 Feb 2010 10:22:12 +0000 (10:22 +0000)]
Add prediction expression

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

10 years ago1. Remove unconditionally build report for build tools stable snapshot candidate
qhuang8 [Wed, 24 Feb 2010 09:43:15 +0000 (09:43 +0000)]
1. Remove unconditionally build report for build tools stable snapshot candidate
2. Add debug print trace for the execution of EOT tool

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

10 years agoEnhance VfrCompiler to support HiiFormMap feature.
lgao4 [Wed, 24 Feb 2010 09:18:03 +0000 (09:18 +0000)]
Enhance VfrCompiler to support HiiFormMap feature.

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

10 years agoUpdate to not raise error to fail the normal build if some un-handled exception is...
qhuang8 [Wed, 24 Feb 2010 09:00:54 +0000 (09:00 +0000)]
Update to not raise error to fail the normal build if some un-handled exception is encountered in Build report logic.

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

10 years ago1. Fix the bug to support BlockSize with PCD value setting.
lgao4 [Wed, 24 Feb 2010 08:05:26 +0000 (08:05 +0000)]
1. Fix the bug to support BlockSize with PCD value setting.
2. Support FD section without FdName is set when only FD image is specified in FDF file.

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

10 years ago1. In same include file checkpoint, remove "\" of the beginning of file path
hchen30 [Wed, 24 Feb 2010 07:47:57 +0000 (07:47 +0000)]
1. In same include file checkpoint, remove "\" of the beginning of file path
2. In duplicate pcd checkpoint, now it is set to only check FDF/DSC files with the same filename. The duplicate PCD in A.dsc and B.fdf will not be considered as a failure.
3. In name convention checkpoint, fix a bug of unnecessary work path going through.

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

10 years agoFix typo in platform summary report.
qhuang8 [Wed, 24 Feb 2010 07:12:46 +0000 (07:12 +0000)]
Fix typo in platform summary report.

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

10 years agoUpdate the build tools devel mail list in python source.
qhuang8 [Wed, 24 Feb 2010 03:27:13 +0000 (03:27 +0000)]
Update the build tools devel mail list in python source.

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

10 years agotools_def: Fix VS2008 build issue
jljusten [Wed, 24 Feb 2010 03:16:52 +0000 (03:16 +0000)]
tools_def: Fix VS2008 build issue

rc.exe is no longer located in the Visual C++ bin
directory.

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

10 years agoUpdate manual format
qhuang8 [Wed, 24 Feb 2010 03:11:09 +0000 (03:11 +0000)]
Update manual format

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

10 years agoUpdate manual format
qhuang8 [Wed, 24 Feb 2010 03:01:38 +0000 (03:01 +0000)]
Update manual format

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

10 years ago1. Add file header for all __init__.py
qhuang8 [Wed, 24 Feb 2010 02:40:19 +0000 (02:40 +0000)]
1. Add file header for all __init__.py
2. Update ANTLR grammar file C.g to inject file header to the output CLexer.py and CParser.py

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

10 years agoUpdating GCC 4.4 support for improved binary size.
geekboy15a [Wed, 24 Feb 2010 01:18:37 +0000 (01:18 +0000)]
Updating GCC 4.4 support for improved binary size.

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

10 years agoCreate load fix address map when single module build with fds target.
lgao4 [Tue, 23 Feb 2010 14:16:18 +0000 (14:16 +0000)]
Create load fix address map when single module build with fds target.

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

10 years agoUpdate build Utility Man to sync current build tool
qhuang8 [Tue, 23 Feb 2010 08:53:17 +0000 (08:53 +0000)]
Update build Utility Man to sync current build tool

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

10 years agoUpdate build command line option for -Y to separate fixed address & execution order.
qhuang8 [Tue, 23 Feb 2010 08:52:16 +0000 (08:52 +0000)]
Update build command line option for -Y to separate fixed address & execution order.

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

10 years agoFix one bug about library dependency display issue.
qhuang8 [Mon, 22 Feb 2010 06:37:38 +0000 (06:37 +0000)]
Fix one bug about library dependency display issue.

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

10 years agoAdd debug logic to print trace entries for major logic of build report.
qhuang8 [Mon, 22 Feb 2010 02:45:51 +0000 (02:45 +0000)]
Add debug logic to print trace entries for major logic of build report.

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

10 years agoDefer the data collection for build report to make the build duration time more accurate.
qhuang8 [Sun, 21 Feb 2010 10:42:23 +0000 (10:42 +0000)]
Defer the data collection for build report to make the build duration time more accurate.

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

10 years ago1. Ignore depex section for SEC, PEI_CORE & DXE_CORE
qhuang8 [Sun, 21 Feb 2010 09:27:58 +0000 (09:27 +0000)]
1. Ignore depex section for SEC, PEI_CORE & DXE_CORE
2. Show (None) if an EDKII module INF does not have [depex] section, although it is the same as TRUE
3. Always add () for library depex for consistency.

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

10 years agoUse alternative algorithm to collect PCD default value from all platform dependent...
qhuang8 [Sat, 20 Feb 2010 03:22:58 +0000 (03:22 +0000)]
Use alternative algorithm to collect PCD default value from all platform dependent DEC files.

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

10 years agoSet XCODE32 ARM default to armv7
andrewfish [Fri, 19 Feb 2010 18:50:56 +0000 (18:50 +0000)]
Set XCODE32 ARM default to armv7

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

10 years agoUpdate the template for RVCT size optimized image, and update RVCT tools path to...
andrewfish [Thu, 18 Feb 2010 03:12:47 +0000 (03:12 +0000)]
Update the template for RVCT size optimized image, and update RVCT tools path to match the one I have installed.

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

10 years agoChange default cpu target to ARMv7-A.
andrewfish [Thu, 18 Feb 2010 01:49:23 +0000 (01:49 +0000)]
Change default cpu target to ARMv7-A.

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

10 years agoBaseTools GenFv: Fix build warning on X64 Linux
jljusten [Fri, 12 Feb 2010 09:01:11 +0000 (09:01 +0000)]
BaseTools GenFv: Fix build warning on X64 Linux

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

10 years agoUse info to echo the report file location
qhuang8 [Fri, 12 Feb 2010 08:29:23 +0000 (08:29 +0000)]
Use info to echo the report file location

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

10 years agoAdd @REM for windows BAT file comment
qhuang8 [Fri, 12 Feb 2010 08:28:55 +0000 (08:28 +0000)]
Add @REM for windows BAT file comment

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

10 years agoUpdate GenVtf manual document format.
lgao4 [Fri, 12 Feb 2010 03:25:44 +0000 (03:25 +0000)]
Update GenVtf manual document format.

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

10 years agoAdd BSD license header for some source files and scripts in build tools project.
qhuang8 [Fri, 12 Feb 2010 03:24:54 +0000 (03:24 +0000)]
Add BSD license header for some source files and scripts in build tools project.

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

10 years agoFix headers.
andrewfish [Thu, 11 Feb 2010 18:11:16 +0000 (18:11 +0000)]
Fix headers.

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

10 years agoFix OS X build error due to warning.
andrewfish [Thu, 11 Feb 2010 18:10:37 +0000 (18:10 +0000)]
Fix OS X build error due to warning.

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

10 years agoAdd log info if build report is successfully generated.
qhuang8 [Thu, 11 Feb 2010 12:32:39 +0000 (12:32 +0000)]
Add log info if build report is successfully generated.

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

10 years ago1. Fix absolute path issue in duplicate include file checkpoint
hchen30 [Thu, 11 Feb 2010 11:06:13 +0000 (11:06 +0000)]
1. Fix absolute path issue in duplicate include file checkpoint
2. Fix a bug in PCD calling function type checkpoint
3. Add two new error types for function prototype checkpoint and add exception support for it.

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

10 years agoSupport HII VOID* dynamic/dynamicEx type PCD.
klu2 [Thu, 11 Feb 2010 08:21:03 +0000 (08:21 +0000)]
Support HII VOID* dynamic/dynamicEx type PCD.

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

10 years agoTurn on report feature unconditionally for code coverage on various platform build.
qhuang8 [Thu, 11 Feb 2010 06:36:15 +0000 (06:36 +0000)]
Turn on report feature unconditionally for code coverage on various platform build.
This is temporal and should be removed later.

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

10 years ago1. Print VTF file offset info
qhuang8 [Thu, 11 Feb 2010 06:18:05 +0000 (06:18 +0000)]
1. Print VTF file offset info
2. Sort the module list according to their offset in FV

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

10 years agoMinor update AutoGen.c template to avoid global variable initialization:
qhuang8 [Thu, 11 Feb 2010 05:26:23 +0000 (05:26 +0000)]
Minor update AutoGen.c template to avoid global variable initialization:
static EFI_STATUS  mDriverEntryPointStatus = EFI_LOAD_ERROR;
This statement might fail EBC compiler

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

10 years ago1. Support EFI image with none zero base address.
lgao4 [Wed, 10 Feb 2010 11:59:18 +0000 (11:59 +0000)]
1. Support EFI image with none zero base address.
2. Check whether the specified fixed top address is page alignment.
3. Make sure that IPF runtime EFI image at 2 page alignment address.

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

10 years agoSupport EFI image with none zero base address.
lgao4 [Wed, 10 Feb 2010 11:57:15 +0000 (11:57 +0000)]
Support EFI image with none zero base address.

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

10 years agoUpdate PCD report for the correct override relationship
qhuang8 [Tue, 9 Feb 2010 15:11:09 +0000 (15:11 +0000)]
Update PCD report for the correct override relationship

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

10 years agoUpdate the license header format
qhuang8 [Tue, 9 Feb 2010 13:08:13 +0000 (13:08 +0000)]
Update the license header format

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

10 years agoEnhance PCD report to display Dynamic HII and VPD type PCD extra info
qhuang8 [Tue, 9 Feb 2010 10:18:16 +0000 (10:18 +0000)]
Enhance PCD report to display Dynamic HII and VPD type PCD extra info

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

10 years agoEnhance build tool to support "UEFI_SPECIFICATION_VERSION" in INF spec. It also suppo...
qhuang8 [Tue, 9 Feb 2010 10:16:00 +0000 (10:16 +0000)]
Enhance build tool to support "UEFI_SPECIFICATION_VERSION" in INF spec. It also supports the original "EFI_SPECIFICATION_VERION" for backward compatibility.

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

10 years agoAdd license header for the sample exception.xml
qhuang8 [Tue, 9 Feb 2010 01:52:22 +0000 (01:52 +0000)]
Add license header for the sample exception.xml

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

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

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