Commit Graph

1254 Commits

Author SHA1 Message Date
jlin16 9ccee2a037 Add null pointer check to drop-down list of platform Pcd editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2139 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 06:46:27 +00:00
klu2 7432a21444 If "SupArchList" is defined for a PCD in MSA, should check current arch is in the range of "SupArchList".
If not exist in the range, do not autogen for that PCD. If exist, autogen it.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2136 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-25 09:21:54 +00:00
jwang36 13cbe22d4f Fixed a bug which will cause single module build fail
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2135 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-25 05:26:45 +00:00
bbahnsen 3134cc7386 Add the doxygen config file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2134 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-23 20:20:39 +00:00
jwang36 89da7ebac5 Rewrote the error message output when module cannnot be found in any packages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2133 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 09:59:49 +00:00
jwang36 2c0bc1a2cc Fixed the issue in multi-msa build in single mode; cleaned the code of re-ordering library instance constructor sequence.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2130 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 07:55:24 +00:00
jwang36 3dc87a3e78 Fixed the issue in the library instance constructor calling sequence
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2127 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 01:30:56 +00:00
bbahnsen af2efcafd4 Added some new field to the far template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2126 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 00:25:11 +00:00
jlin16 d56b1906f1 Add new-line characters in error message to make them shorter in multi-lines.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2125 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-21 08:27:00 +00:00
bbahnsen fb96878ec4 Added a template mechanism to act as the user interface in far creation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2124 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-21 01:32:37 +00:00
jlin16 fa67a8b221 Add support for PCD token larger than 0x80000000 when declaring a PCD in package editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2122 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-20 08:30:04 +00:00
bbahnsen 52e3b5be76 Add an elf tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2119 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 18:52:30 +00:00
bbahnsen 10d6603f3b Add md5sums to the manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2118 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 08:02:13 +00:00
lgao4 0292fd30b3 Update APP flag for VS2003, VS2005PRO and WINDDK toolchain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2117 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 06:32:14 +00:00
bbahnsen 3ff56e5e44 Populate the zip file while building the manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2107 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 20:51:59 +00:00
bbahnsen d0f7ef3eb2 Add better command line parameter handling.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2106 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 19:15:09 +00:00
bbahnsen d32aaa956e Corrections to the far manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2105 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 08:28:47 +00:00
bbahnsen 69932b41f0 Start to build the manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2104 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 07:50:00 +00:00
bbahnsen e853a9d483 Add a far maker
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2103 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 06:39:33 +00:00
jwang36 2251a36013 Added support for macro/property in tools_def.txt. Now you can define a property via environment variable and use it in tools_def.txt and target.txt in the form of ${name}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2094 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 06:35:03 +00:00
jwang36 bc022470e4 Fixed EDKT484 and rewrite the output message when no arch is found.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2089 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 02:42:46 +00:00
jwang36 86f3fef093 Used the msa file name instead of module name as intermediate directory name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2082 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-11 14:54:44 +00:00
hche10x 3cbeeeb8d7 1. Fix EDKT483 FrameworkWizard Should support multiple msa files in a same directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2081 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-11 06:09:30 +00:00
jwang36 c340a28e27 Fixed EDKT482. Added support for multiple msa files in the same directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2079 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 08:14:10 +00:00
klu2 265c22cc33 Handle new relocation type EFI_IMAGE_REL_BASED_DIR64 for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2075 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 03:43:57 +00:00
jwang36 fb42187380 Changed /SUBSYSTEM:CONSOLE back to /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER because EBC cannot support CONSOLE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2073 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 02:54:26 +00:00
jwang36 69df5708bd Changed the /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER back to /SUBSYSTEM:CONSOLE for IA32, X64 and EBC architecture because nt32 cannot be debugged with source. In addition, fwimage will fix the subsystem field later. So, for better compatible with more tool chain, it's ok to just use CONSOLE. The link option for IPF doesn't get changed in case of the runtime issue in shell.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2072 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 02:47:36 +00:00
lgao4 4afc6a7bf2 (1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type to conform to spec.
(2) Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC,
  & X64 images all.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2069 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 11:32:26 +00:00
klu2 b2b5e78fbb Fix the issues caused by EfiCompress.h was changed to Compress.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2066 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 06:39:45 +00:00
xli24 02918ed0ab Let specify GUID value for GUID-defined FV region, and remove potential dead loop in Nt32 package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2065 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 06:02:54 +00:00
klu2 30f80dd8de The main issue want to be resolve is that some tools need EfiCompress and other tools need TianoCompress, but only common Compress(indeed is TianoCompress) is provided in tool/CCode/Common.
EfiCompress and TianoCompress are all originated from LZ77 algorithms and they have very little different, that different position set for Huffman code.
	EfiCompress is defined in EFI 1.1 spec and EfiRom tool need it to create a recognized compressed EFI driver.
	TianoCompress is for pursuer more size saving and it used be GenFfs and GenSection tools.
	So this patch:
	1) Split EfiComress and TianoCompress in edkII’s tools
	2) Change EfiRom tool use EfiCompress and GenFfs/GenSection use TianoCompress


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2064 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 05:29:07 +00:00
bbahnsen 4cb7d1e02b Delete
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2053 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:54:42 +00:00
bbahnsen d4e3c434b8 Remove
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2052 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:36:52 +00:00
bbahnsen 09d4d22408 Change Name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2051 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:35:01 +00:00
bbahnsen 40fdc5c43a Change name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2050 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:11:22 +00:00
bbahnsen 77afa5eb93 Factor out the XML API so other scripts can use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2049 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 21:57:04 +00:00
bbahnsen 6a138c666a Do not check __STDC_VERSION__ for gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2047 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-04 17:01:58 +00:00
hche10x c942b0e8f9 1. Fix EDKT476 Wizard gives wrong warning messsage that confuses user
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2040 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 07:45:39 +00:00
rsun3 d9e0f88e2f Fix a bug when zeroing exception data in FwImage tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2039 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 04:02:47 +00:00
bbahnsen 22982ae4a2 _filelength is a function of fd, not FILE *
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2038 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 21:03:11 +00:00
bbahnsen 16fdd1e20e Add an example of a mingw32 tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2030 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 16:54:15 +00:00
jlin16 2109b16ef8 set pcd data type to boolean when declaring a FEATURE_FLAG usage typed pcd in package pcd declarations editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2025 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 05:36:38 +00:00
mdkinney ad3e8660d3 Enable global optimizations for IPF builds
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2017 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 04:16:07 +00:00
mdkinney c6137cfd5d Add support for.sdata sections
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2013 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-26 04:07:04 +00:00
mdkinney 2b37c802dc Add "-d debug" to the IPF ASM FLAGS to enable source level debugging of IPF .S files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2012 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-26 00:27:57 +00:00
jlin16 85d9e5b10d Fix Sku Info update UI refresh to update the dynamic pcd value for selected sku id.
Fix the phenomena of endless warning message when opening FrameworkModules pane after changing workspace.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2010 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-24 08:39:20 +00:00
wuyizhong 0f2da7f1d3 A minor mistake. Remove debug info.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2005 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 08:24:42 +00:00
wuyizhong c4da108316 Change supporting section alignment from 4k to 64k. Add check whether section-alignment and file-alignment match or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2004 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 08:22:43 +00:00
mdkinney 822698dca9 Change IPF flags to use /Os instead of /O1i
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2003 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 06:06:35 +00:00
mdkinney 2330460a28 Add flags for DEBUG IPF builds
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2002 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 03:03:29 +00:00
bbahnsen 45a6b8074a A script that helps you install python on OS X.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2000 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 21:07:40 +00:00
bbahnsen 64683effc6 Set the exe bit and point to the right interpreter on Unix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1999 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 19:56:46 +00:00
bbahnsen 74ee4f7670 Roll back to previous version of the script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1998 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 19:10:40 +00:00
bbahnsen 17c3d4b04c Add a script to build a mingw64 compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1997 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 18:45:04 +00:00
bbahnsen 1a137e9826 Adding a python script dir and a script to calculate what dependencies a module has on library classes and guids.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1995 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:58:38 +00:00
mdkinney 55cc53294c Fix IPF build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1989 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-21 18:49:43 +00:00
qouyang 62f022cc55 Change name from "VFR_FLAGES" to "VFRPP_FLAGES".
Fixed the bug of "VFR compile is broken for gcc builds".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1988 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-21 08:58:29 +00:00
lgao4 4c50c88544 Enhance peirebase tool to get base address from the corresponding fv.inf file, which don't need one base address parameter for this tool any longer. We can reduce base address duplicated definition in fv.inf and fpd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1986 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 09:29:14 +00:00
vanjeff e5d3db39cb fixed bug occurred when new msa file and spd file are in the same directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1985 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 08:59:18 +00:00
jlin16 8cc715257a Refresh library instance selection UI for platform editor after library instance adding/deleting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1984 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 07:25:47 +00:00
jlin16 a883d8c9de Fix the no library instance in UI display when some exception occurs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1982 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 05:21:41 +00:00
wuyizhong 593a98d248 To fix bug edkt466. Change all default subsystem from CONSOLE to EFI_BOOT_SERVICE_DRIVER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1980 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 03:15:47 +00:00
mdkinney 1ac034d883 Fix VFR related build break when compiling with IPF compilers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1975 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 05:02:03 +00:00
bbahnsen bf24763fa5 Resync the VFR flags
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1973 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 17:49:33 +00:00
bbahnsen b7a148acec Add the VFR FLAGS for x64 gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1965 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 23:17:54 +00:00
qouyang b609c89b77 Fixed EDKT419.
Removing C Pre-Processing from VfrCompile Tool.
Now the input file for VfrCompile tool should be *.i file which was preprocessed by compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1964 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 10:19:07 +00:00
hche10x 888f61aa99 1. Fix EDKT433 help context triggered by mouse movement is not displayed properly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1963 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 06:23:10 +00:00
hche10x 14a32a70c2 1. Fix EDKT433 help context triggered by mouse movement is not displayed properly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1961 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 06:07:56 +00:00
bbahnsen e2136826a3 Add new tool chain configs for x64 gcc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1958 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 01:09:19 +00:00
jlin16 adf6ff605f Provide default value for PCD in platform if user does not specify anything for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1956 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15 08:57:57 +00:00
wuyizhong e799f87fe6 Update PEI Apriori Module GUID based on PIWG spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1955 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15 07:13:59 +00:00
ywang a85cb24e2b File modified to add usage information and implement minor corrections.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1954 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 22:01:45 +00:00
qouyang e425f07334 Fixed EDKT469
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1951 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 09:03:19 +00:00
jlin16 b8cc11a572 Add new line "\n" to seperate long messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1950 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 07:23:52 +00:00
wuyizhong 380191dd24 Supporting Apriori File from build tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1949 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 07:15:01 +00:00
jlin16 ed7aa83f2e Modify the way of pcd warning message reporting to be a total in the end.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1948 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 07:14:04 +00:00
bbahnsen c2bf31448e Add a Mixed tool chain for x64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1947 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 06:51:14 +00:00
jlin16 0227d24c77 Synchronize platform pcd automatically with MSA pcd when opening FrameworkModules of a platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1945 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 06:33:37 +00:00
qouyang e87022aa87 Fixed EDKT469.
Add the PCD control for "_gDriverModelProtocolList" list in Autogen.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1944 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 06:12:26 +00:00
jlin16 f893f7562b Fix the bug of Pcd value update in FrameworkModule settings. remove the curious warning message of pcd type can not be changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1942 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 03:19:42 +00:00
hche10x b3cb8ee7d0 1. Fix EDKT461 [Framework Wizard] Can't change ModuleBuildOptions for MSA file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1938 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 08:11:53 +00:00
jlin16 15db5db9f1 Fix Ffs sections encapsulation type update problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1934 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 06:56:45 +00:00
hche10x ef9086417e 1. Fix EDKT468 Click some buttons in MSA header by wizard can not be saved properly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1932 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 05:56:01 +00:00
jlin16 d73991a143 For encapsulated sections in FFS layout in FpdBuildOptions, if no longer exists sections in an encapsulated section, remove from UI that section to be consistent with contents in FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1930 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-10 09:13:10 +00:00
jlin16 4fd52612c2 Fix the invalid warning message when user add a module that does not support platform architectures to this platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1918 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 08:31:56 +00:00
wuyizhong 5f0b744eae To fix bug T400. If user select a Repackage=false package during creating a FAR, give warning and a choose to continue or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1917 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 08:22:05 +00:00
wuyizhong e4764daec7 Fix a bug that can't add library MSA specific build option in multi-thread build mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1914 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 03:27:53 +00:00
jlin16 99125b466d Provide UI for generating Apriori file of PEI or DXE phase. The module order information are put into BuildOptions->UserExtensions with UserId as "APRIORI" and Identifier as "0" for PEI phase and "1" for DXE phase. Build tools will use these UserExtensions information to produce the Apriori files that will be placed into each FV image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1912 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 02:59:31 +00:00
wuyizhong 15d449ba23 Fix a bug that can't add library MSA specific build option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1911 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 02:40:27 +00:00
wuyizhong 1d940d05b5 Update ParseInf to resolve different line separator between WINDOWS and LINUX (\r\n vs. \n). Update GenFvImage to resolve different file separator between WINDOWS and LINUX (\ vs. /). Add variable initialize for SymImageSize.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1908 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 03:03:06 +00:00
cwu11 b51f14f4d6 This check-in add Pci23.h, Pci30.h, EfiPci.h and take those originally put in Pci22.h to their proper position in the new files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1907 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 03:02:33 +00:00
jwang36 7446fb2d43 Commented out the message for building "DUMMY" files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1903 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 05:52:10 +00:00
alfred bea0971260 Coding Style
Comment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1902 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 05:45:08 +00:00
jwang36 015849a450 Changed the tool chain error message to be more specific.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1901 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 05:10:56 +00:00
cwu11 3681d193ed This check-in fixed the following bugs:
1.	Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
2.	SetVariable() with DataSize=0xffffffff will cause system hang
(EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c)
3.	Windows XP Pro & XP HOME Fails to Install from Retail CD
(EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c)
4.	Pci22.h header file needs to add some recent type
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
5.	Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller
(EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c;
EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa;
EdkModulePkg\ EdkModulePkg.spd)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 04:20:32 +00:00
jwang36 05b52e9665 Fixed the build error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1899 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 03:55:24 +00:00
jwang36 2b0fe8b4a4 Added code to check that the definitions in target.txt are valid against tools_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1898 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 03:09:32 +00:00
hche10x fc87d0ba58 1. Fix EDKT463: When wizard new or clone a msa/spd/fpd, should follow these rules
2. Fix EDKT465: The content in memory should be reloaded when a modified msa/fpd/spd is closed without saving

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1896 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 08:42:47 +00:00
cwu11 511710d68f 1. Add the fix for the following Bugs:
i)	BMM_FAKE_NV_DATA definition inconsistent in bm.vfr and BootMain.h
        (EdkNt32Pkg\Dxe\PlatformBdsDxe\Generic\BootMaint\BootMain.h)
ii)	Change some files’ EOL(end of line) format to DOS. Some file use even mixed style EOL.
   (EdkModulePkg\Universal\DevicePath\Dxe\DevicePath.c, DevicepathFromText.c, DevicePathUtilities.c;
EdkModulePkg\Universal\Disk\DiskIo\Dxe\diskIo.c; MdePkg\Library\UefiLib\UefiNotTiano.c)
iii)    Change some illegal characters in many files, the problem is mainly connected with people using Chinese Input method to input symbols such as ' " - ?, etc. Multiple files are influenced.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1890 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 02:47:43 +00:00
jlin16 e4f1ff6cf9 Modify FrameworkModules editor for FPD files to meet the new PCD type adjust operation rules:
a. Add a module with PCD type Dyn. 
	If this PCD not exists in platform, 
ModuleSA.PcdType is set as Dyn (choose one from spd).
	Else
		ModuleSA.PcdType is set as existing type ? 
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform.)
		
	If PCD type is determined to be Dyn.
Add PCD to DynamicPcdBuildDefinitions if it not exists there.
SkuId = 0;
SkuInfo.value = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
	Set ModuleSA.PcdMaxDatumSize;


b. Add a module with PCD type DynEx.
If this PCD not exists in platform, 
ModuleSA.PcdType is set as DynEx.
	Else
		ModuleSA.PcdType is set as existing type ? 
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform.)

Add PCD to DynamicPcdBuildDefinitions if it not exists there.
SkuId = 0;
SkuInfo.value = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
	    Set ModuleSA.PcdMaxDatumSize;


c. Add a module with PCD type FixedAtBuild, PIM, FF
If this PCD not exists in platform, 
ModuleSA.PcdType is set as FaB | PIM | FF.
	Else
		ModuleSA.PcdType is set as existing type ? 
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform..)

ModuleSA.PcdValue = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
		Set ModuleSA.PcdMaxDatumSize;


d. Edit ModuleSA.PcdType
	Get the corresponding MSA.PcdType in MSA file for this ModuleSA.
	
	If MSA.PcdType == Dyn.
		ModuleSA.PcdType could be [(valid Pcd types in SPD)]
		
    Else 
		ModuleSA.PcdType can NOT be changed.

	1) Change ModuleSa.PcdType from Dynamic. to [valid Pcd types in SPD]: 
	All same PCDs in FrameworkModules are changed to one of valid Pcd types in SPD according to user selection. 
	Check in whole platform other ModuleSA for the same pcd, if the corresponding MSAes for other ModuleSAes pcd can NOT accept the new type, give error message.
        
Keep old ModuleSA.PcdValue.
	Remove this PCD in DynamicPcdBuildDefintion.

2) Change ModuleSa.PcdType from [FaBor PIM] to Dynamic, DynEx.: 
	All same PCDs in FrameworkModules are changed to Dynamic | DynEx. 
Check in whole platform other ModuleSA for the same pcd, if the corresponding MSAes for other ModuleSAes pcd can NOT accept the new type, give error message.

Keep old ModuleSA.PcdValue?
	Add one new dynamic PCD in DynamicPcdBuildDefintion.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1888 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 11:04:27 +00:00
jjin9 bd23689590 Fix the bug EDKT464. ? and * are regarded as wildcard char by OS. so we have to remove the support of /? and -?
To show the help info, ContextTool only support: -h, /h, --help, /help.  

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1887 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 08:55:15 +00:00
bbahnsen 6b039a5145 Changed the rules to allow for partial installation and removal of fars.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1884 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-01 18:33:49 +00:00
hche10x 3767c118ef 1. Fix EDKT418: Some buttons are not displayed correctly in Linux and MAC OS X operating system
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1882 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-01 03:48:13 +00:00
hche10x cc95b47b5e 1. Fix EDKT462: "Save/Save All' are still highlighted if close a msa/spd/fpd without saving
2. Fix parts of EDKT423 After modification in text editor, save and save all firsthand, they are gray

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1881 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-01 03:17:20 +00:00
lgao4 cc0d3fe255 Add extra APP Flag to preprocess asl file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1877 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 09:19:49 +00:00
lgao4 d3f7534772 Modify GenFvImage tool to record the largest alignment of all the FFS files in the FV to FvHeader alignment attribute.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1876 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 08:28:18 +00:00
jlin16 0cc00bf06b Add Fv option value edit support;
Give hover hint why some Fv options are not editable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1874 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 08:14:22 +00:00
bbahnsen 4961f50cc4 Fix for linux builds
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1873 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 06:45:53 +00:00
hche10x e421fb258c 1. Fix EDKT437 Save is to save current modified file, Save All is to save all modified files
2. Fix EDKT438 Close should save current modified file only, Close All should save all modified file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1871 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 03:25:05 +00:00
hche10x 8b44bd1d51 1. Fix EDKT447 Keep PPI/Protocol/GUID/PCD in find result even if they are only declared but not used
2. Fix EDKT448 Provide reload solution in Find Result

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1870 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 03:04:31 +00:00
alfred 71f30e5184 Coding Style
Phase 1
Eclipse Format
Comment for MigrationTool.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1869 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 02:27:39 +00:00
lgao4 d8022b368a Add build rules for asl files of acpi tables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1867 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 01:58:39 +00:00
bbahnsen 71ea530c37 Adding tools for IPF development.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1865 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 16:43:48 +00:00
qhuang8 a7a7033316 Fix several issues:
Misreplace library name
Support commenting out nonlocal header files for dxs FileArg.class
Add a new protocol Guid to database 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1864 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 11:57:37 +00:00
wuyizhong a7081d204a To fix tool StrGather.exe can not work correctly in Linux environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1863 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 09:17:24 +00:00
alfred 8de9f9e154 Database singleton
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1862 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 08:31:11 +00:00
hche10x ba73bc0bc0 1. Fix EDKT451 It should append ".txt" to filename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1860 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:40:42 +00:00
hche10x 6173283b85 1. Fix EDKT436 "Is PCD driver" only gives one value: PEI_PCD_DRIVER to user
2. Fix EDKT444 Should not allow user to delete last "Supported Architecture" of a module

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1859 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:32:19 +00:00
qhuang8 76734b249f Add a unified migration database to replace the original Protocol, Ppi, Guid, Library database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1858 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:13:01 +00:00
qhuang8 99f757db47 Preparative work to collect Library info from workspace dynamically.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1857 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 06:29:54 +00:00
hche10x d8be5b148b 1. Fix EDKT457 Multiple FPD, MSA or SPD files in a directory is prohibited
2. Fix EDKT450 Please don't allow user to set same Guid in clone operation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1855 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 05:26:27 +00:00
wuyizhong 92cfaeee66 To fix bug EDKT432. Add judge to avoid include flags twice.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1854 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 04:03:55 +00:00
jlin16 62df8efa93 Delete useless file SpdPackageDefinitions.java;
Change button texts to Add, Delete, Clear All.
Activate the Read-Only attribute checking for package editors.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1853 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 03:46:11 +00:00
hche10x 57046e97fa 1. Fix EDKT441 After some modifications and refresh, there will show a dialog for save all files. The operation of Cancel should not refresh wizard.
2. Fix EDKT442 After some modifications and refresh, there will show a dialog for save all files. The operation of erasing this dialog should be regarded as Cancel, not refresh wizard.
3. Fix EDKT455 The style of menu should be unified
4. Fix EDKT439 After some modifications and exit, there will show a dialog for save all files. The operation of erasing this dialog should be regard as Cancel, not exit wizard.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1851 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 03:02:15 +00:00
qhuang8 e83a1d9ad3 Preparative work to collect Ppis, Guids & Protocols info from workspace dynamically.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1850 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-27 08:57:25 +00:00
alfred 9dcf28619a Coding Style - decomment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1849 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-27 05:43:55 +00:00
alfred 1f0b4e9cb0 fix .s comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1848 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-27 02:04:32 +00:00
bbahnsen fec7633848 Implement a filelength function for GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1847 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-26 18:14:11 +00:00
hche10x cbee1e7407 1. Fix EDKT449 Close Build Preferences will crash wizard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1844 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-26 07:29:30 +00:00
qhuang8 7bd5773542 Fix a bug to convert EFI_PEI_HOB_POINTER to VOID*.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1843 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-26 02:32:47 +00:00
lhauch d565d6cd83 Changed to format of the Package and Platform list outputs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1842 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-26 00:17:32 +00:00
lhauch 8aa9a1a22a Added quotes around the classpath option in script files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1841 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 20:34:36 +00:00
lhauch 94e17f1190 Fixed a usage spelling error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1840 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 17:09:16 +00:00
lhauch 4de9276478 Added the DbTools that will update the FrameworkDatabase.db file based on what is found after scanning the WORKSPACE environment - entries for new SPD and FPD files that are found during the scan are added, and the entries for SPD and FPD files that are listed in the database, but are not in the current workspace are deleted.
Modified AllResource to include only files that are not compiled.
Added the MSA entries to the SPD file for all modules that are compiled, both Java and C.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1839 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 16:17:28 +00:00
wuyizhong e1869179c6 Update several MSA/Filenames which do not inconsistent with current source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1838 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 10:10:55 +00:00
qhuang8 4c5f3cc94c Fix a bug in HobLib migration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1837 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 08:36:35 +00:00
qouyang 2679d84f24 Fixed EDKT400.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1836 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 02:41:50 +00:00
hche10x 0c61f948b2 1. Add a function in WorkspaceTools to get all packages which can be repackaged.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1835 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:59:27 +00:00
hche10x d12f87d3b1 1. Fix EDKT434: After Workspace is changed, Wizard should close all (desktop area and tree area) and refresh automatically.
2. Fix EDKT340: Search needs to provided a way to display Selected PCD information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1834 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:29:36 +00:00
jjin9 c81f5d4433 1.add code to support friendly output message.
2.fix the bug, and support "ContextTool /?"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1831 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:02:59 +00:00
jlin16 c777d1d406 Fix the problem of label, button text part-display on Linux and iMac.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1829 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 08:46:53 +00:00
jwang36 fe6d0f7404 Added code to fetch more detailed error message from XMLBeans when there's error in msa/spd/fpd files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1828 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 08:34:59 +00:00
jlin16 2cd33eaf82 Do not display token number for Pcd in ModuleSA and Dynamic Pcd editors for FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1821 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 03:02:28 +00:00
hche10x 453a815ba0 1. Update ICheckBoxList to add one attribute "selected". Set the first item of ICheckBoxList selected when it is inited.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1820 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 02:51:55 +00:00
hche10x bf1168562b 1. Fix EDKT429 The number of Type in [MSA->BootMode->BootModeAttributes->BootModeNames] is shorten than Schema
2. Fix EDKT430 Private in [MSA->BootMode->BootModeAttributes->Uasge] should be removed
3. Fix EDKT431 Tool in [MSA->Library Class Definition->Support Module Type] should be removed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1819 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 01:58:55 +00:00
jwang36 6c82102e9e Fixed issue caused by the directory change
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1817 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 01:37:48 +00:00
hche10x 419558bbad 1. Fix EDKT339 Library Class Search need to get info for selected library class
2. Fix EDKT303 Give warning if no library instances that support the required the library class

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1816 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 00:58:22 +00:00
jlin16 9162172593 Fix the problem of not sync. module order list in FVs when user change the FvBinding for a ModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1808 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-21 04:05:01 +00:00
bbahnsen 92a4a910df Fix the CLASSPATH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1807 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 20:59:43 +00:00
bbahnsen fb9d7224e6 Fix the CLASSPATH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1806 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 20:52:56 +00:00
bbahnsen 30f79db7a6 Fix the CLASSPATH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1805 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 20:47:41 +00:00
jlin16 50d4c727a8 a. Add support arch. filter for library instance selection in FPD file.
b. add sync. operation for modifying dynamic pcd values to set the new value to all pcd entries in ModuleSA.
c. Make line wrap for SPD, FPD header copyright text area.
d. give warning of default section added when user add new Sections under FPD build options.
e. not generating the empty build targets when user creating a new entry for build options.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1804 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 17:36:45 +00:00
klu2 3fabe9752d Remove unnecessary exception caching.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1803 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 09:28:08 +00:00
qouyang 192a42b4de Replace "system.out.print" with "EdkLog.Log".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1802 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 03:58:23 +00:00
hche10x 7dce20fdb7 1. Fix EDKT426: Supported Module Types in Library Class Definitions can not be saved to MSA file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1800 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-19 09:16:15 +00:00
lhauch 34ff1170bc Fixed ckt for cygwin, and verified this works on OS X as well
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1797 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 19:26:07 +00:00
lhauch dbfb39ef04 Added result line for valid file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1796 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 19:22:42 +00:00
lhauch 81dbf46f98 Adding the *NIX based script for the merge tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1794 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 17:20:55 +00:00
lhauch 486e69b36f Removed the DOS CTRL-M characters so that the script will run on *NIX based operating systems
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1793 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 17:19:08 +00:00
lhauch 0e9d6c6345 Adding the *NIX script to call the CheckTools program
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1792 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 17:07:03 +00:00
wuyizhong b69bb9ba72 Support MSA build options. Now the build options from four places: 1. tools_def.txt
2. MSA <ModuleBuildOptions>/<Options> 3. FPD <BuildOptions>/<Options> 4. FPD <FrameworkModules>/<ModuleSaBuildOptions>/<Options>. And we do not support "ABC", "XYZ" such format from now on, please only use the simple format like ABC XYZ. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1790 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 08:22:09 +00:00
hche10x 01022d98b3 1. Fix EDKT399: "RePackagable" attribute should be supported by clone operation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1789 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 07:01:35 +00:00
hche10x 350785ff49 1. Fix EDKT411: Need right and left scroll bar to display find results
2. Add a function in Tools.java to adjust a table's all columns' width

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1788 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 05:57:36 +00:00
jwang36 20480ea138 Added dependency of AutoGen.h for .c file generated from unicode file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1787 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 05:36:54 +00:00
wuyizhong a753ec90e8 Add flags for ASMLINK. ASMLINK is real mode link.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1785 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 03:05:39 +00:00
wuyizhong 706c2ad4ba Add Build Macro to build SEC modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1784 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 02:38:01 +00:00
lhauch 641cd03cea Added more detail to the usage screen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1783 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 00:19:35 +00:00
lhauch a8e1928c2f Added instruction on how to remove WARNINGS with -v flag set
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1782 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 23:46:01 +00:00
lhauch c81d735d57 Changed invalid tool chain tag name to WARNING rather than an ERROR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1781 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 23:33:10 +00:00
lhauch 0062d29adf Added Java program, CheckTools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1780 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 23:09:48 +00:00
lhauch ddfdc8e69d Adding Java Tool: ckt.bat for CheckTools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1779 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 22:17:18 +00:00
bbahnsen 9eaf1b3c89 Remove extraneous URLs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1778 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 20:46:12 +00:00
lhauch 9ee538d48d Added Options and UserExtensions sections to ModuleBuildOptions, replacing the lax processing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1777 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 19:21:31 +00:00
qhuang8 a8cf1c1847 Fix a typo in lib name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1776 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 10:23:43 +00:00
qouyang 96edfc7504 Remove some unuseful imports.
amend some incorrect use of EdkLog.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1775 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 09:41:22 +00:00
jjin9 d3f458486e Fix the EDKT414, the old value should be replaced with new value.
Another modification,
For some settings, there are one and only one valid value, such as ACTIVE_PLATFORM and TOOL_CHAIN_CONF. Add a protection to ensure the valid number of these setting in this version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1774 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 08:29:13 +00:00
wuyizhong 2fcfed38cb Provide a way to update config files[target.txt, tools_def.txt, FrameworkDatabase.db] even they are existed. Using edksetup.bat Reconfig. Give a more detail edksetup.bat help usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1773 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 07:07:24 +00:00
hche10x 1fd225e033 1. Fix EDKT417: System hangs to setup build preference when there is no target.txt existing
2. Replace the values of ToolCode of SourceFile with the items defined in spec 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1771 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 06:57:56 +00:00
hche10x ae69d4dae8 1. Fix EDKT308: Tool initialization should be supported by wizard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1768 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 06:14:42 +00:00
qhuang8 3c82f1a543 Support to handle IPF assembly files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1767 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 12:44:46 +00:00
lgao4 dddd748e54 remove /D OLDSMM=1 /D EFI_FIRMWARE_VENDOR from the default C_FLAGS setting, using the corresponding PCD to replace them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1766 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 10:48:55 +00:00
wuyizhong 112d8087ac Resolve the warning msg from generated FlashMap.h file when use GCC compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1765 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 10:47:36 +00:00
wuyizhong 877de74948 Update BuildMacro to support LIBPATH and INCLUDEPATH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1764 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 10:32:01 +00:00
jlin16 98aee6e933 add calculation for max. datum size based on pcd default value input by user.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1763 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 09:43:12 +00:00
wuyizhong c639781ef0 Support two more attribute LIBPATH and INCLUDEPATH in tools_def file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1761 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 09:24:08 +00:00
alfred 8270b34d9d Enhance MsaOwner.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1760 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:55:58 +00:00
hche10x edbacf2e5c 1. Fix EDKT344: The algorithm for PCD of msa should be adjusted
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1759 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:46:52 +00:00
qhuang8 b28af3d768 Change to the correct library class name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1758 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:29:09 +00:00
hche10x 37bd8fbb21 1. Fix EDKT408: Clone a library class does not copy the library head
2. Fix EDKT398: Wizard does not refresh work environment when clone a module or a library

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1757 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:17:20 +00:00
jlin16 9d6f6d70da Adjust module order list after specifying FvBinding for ModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1756 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:11:27 +00:00
wuyizhong b0a8056223 Sync TOOLS_DEF's attribute definitions. Since there are two copy attribute definitions in ToolDefinitions.java and ToolChainAttribute.java, remove one and only keep one definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1755 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 07:40:59 +00:00
wuyizhong 51f9486371 Update cpptaks to support LIBPATH and INCLUDEPATH which will defined in TOOLS_DEF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1754 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 07:34:13 +00:00
hche10x aa197375d8 1. Fix EDKT379: Check if Constructor exists in a library when user adds a destructor
2. Fix EDKT378: Can not add any external definitions to a new created MSA file by wizard
3. Fix a bug in function wrapStringByWord of Tools.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1753 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:44:56 +00:00
hche10x 0915a2ce53 1. Fix EDKT330 Source files in sub-directories are not added to MSA correctly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1752 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:23:19 +00:00
qouyang 5776c5c045 Fixed EDKT372
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1751 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:14:02 +00:00
wuyizhong d61237595f Make Logo build following standard build process instead of customize build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1750 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:05:46 +00:00
jjin9 f15e135965 fix the bug in revision 1746
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1747 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 11:50:20 +00:00
jjin9 f337986f8e add some features:
1. display current settings in target.txt by ContextTool
2. display help information with arguments, such as: ContextTool -h, arguments include -h, /h, -?, /?, -help, /help
3. display current setting by ContextTool -x
4. display possible setting by ContextTool -x ?
5. clean current setting by ContextTool -x 0
6. merge new setting to current setting by ContextTool -x new
x is the setting argument, such as p, a, n, m, t, c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1746 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 08:22:12 +00:00
qhuang8 9c0e70cb4a Add Package-Guid Map.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1745 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 07:01:53 +00:00
jwang36 8c84e1b1ac a) Cleaned tools_def.template
b) Changed overriding priority of tool chain definition. Now right non-* has higher priority.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1744 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 09:21:14 +00:00