Commit Graph

1152 Commits

Author SHA1 Message Date
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