Commit Graph

881 Commits

Author SHA1 Message Date
jwang36 f88b9153c0 Changed the way of generating the pre-compiled header to solve incremental build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1587 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 06:31:33 +00:00
alfred 55bfa0f1ae + n/a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1586 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 05:29:00 +00:00
jwang36 4b13484788 1) Add FileTimeStamp class to centralize the cache mechanism for file time stamp check, and changed related classes
2) Fixed the FlashMapTask dependency issue
3) Fixed empty target issue in OnDenpendency class

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1584 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 05:11:58 +00:00
qhuang8 37e5cd656d Distinguish PEIM entrypoint and driver entrypoint
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1583 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 03:16:26 +00:00
mdkinney 0411bcafa0 Fixed FwImage/fwimage.c to guarantee that the raw size of a section is a multiple of the file alignment.
Revert PeCoffLoader/BasePeCoff.c and PeiRebase/PeiRebaseExe.c back to the previous revisions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1582 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 03:11:13 +00:00
qhuang8 0e9d14c4e7 Add EntryPointLib class once ImageEntryPoint is found in inf file.
Enhance to recognize function-invocation to not include protocol calling. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1581 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 02:03:47 +00:00
hche10x 3b7a9058fd 1. Fix EDKT273 "Externs are not being grouped together in MSA Files"
2. Fix EDKT274 "Wrong display in Extern when selecting "Specification"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1580 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 01:07:28 +00:00
qouyang 34a0c84476 Delete the midterm temporary file which created by GenFFSFile task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1576 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 06:21:04 +00:00
bxing 76c86b3ac4 Remove dependence check of FD upon FlashMap.fdf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1575 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 02:57:55 +00:00
jlin16 1b69863ad8 add multi-source pcd check before adding/deleting lib instance for ModuleSA in platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1574 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 00:48:36 +00:00
mdkinney 3edf127e48 1) Simplify implementation by reading the entire input file into memory, modifying the buffer in memory, and then writing the entire buffer from memory to the output file.
2) Zero all optional fields in the PE/COFF Optional Header

3) Zero the .pdata section of X64 images that do not have a Debug Directory

4) Strip zero padding at the end of the .reloc section.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1565 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:58:55 +00:00
mdkinney 0e84e0d7bd Fix buffer overflow when the raw size of a section and the virtual size of a section are not the same.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1564 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:53:32 +00:00
mdkinney 202515b47d Compute the end address of a section read from a file using the SizeOfRawData instead of VirtualSize, because the PE/COFF image format allows the SizeOfRawData to be smaller then VirtualSize.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1563 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:52:07 +00:00
mdkinney 928fbe8f1c Use a 64-bit Optional Header when a 64-bit image is detected
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1562 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:49:56 +00:00
mdkinney b7b99c7662 Enable source level debug of all tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1561 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:48:21 +00:00
mdkinney 1986771518 Enable source level debug of all tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1560 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:46:40 +00:00
mdkinney a6b6b67a48 Enable source level debug of all tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1559 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:46:15 +00:00
jwang36 34f40a4aca Fixed an issue which will cause dependency check failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1558 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 07:04:08 +00:00
alfred 77dd49a7d1 add EdkModule Guid
nmake.()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1557 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 06:42:24 +00:00
jwang36 d946661a82 1) Added dependency check for flashmap, genfvimage, peirebase tasks
2) Added code in FpdParserTask.java to avoid re-generate FV.inf file
3) Added isEmpty() to ToolArg class to check if an argument is empty or not

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1556 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 05:55:19 +00:00
hche10x d1760183fd 1. Fix EDKT277 "ModuleType missing when creating a new Module"
2. Fix EDKT278 "Can NOT save file after generate a new GUID for a MSA"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1555 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 02:14:15 +00:00
lhauch 13bb49b1fb Adding merge command line program that merges multiple MSA modules into a single MSA file. View readme.txt to see rules and usage. This is the batch file that executes this command on a Windows* system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1554 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 22:02:52 +00:00
lhauch 0e771cd32f Adding merge command line program that merges multiple MSA modules into a single MSA file. View readme.txt to see rules and usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1553 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 22:02:06 +00:00
jwang36 e5890ee5f8 Added check to skip generating target.txt and tools_def.txt if they already exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1550 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 10:36:58 +00:00
qouyang 3e73f377a8 Fixed EDK258.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1549 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 09:56:40 +00:00
jwang36 2f2c367ad8 Added synchronized to getCommandSetting to solve multi-thread build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1546 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 09:35:46 +00:00
jlin16 ac66fadf6f remove comments before ModuleSA and library instance , if any, in xml file when deleting a module or instance from FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1545 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 09:13:04 +00:00
lgao4 7838808993 Add EntryPoint info of module into Fv.map file, which is used to debug when no serial output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1544 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 07:53:15 +00:00
jwang36 1744b047bb Added "synchronized" to getToolChainInfo() to solve synchronization issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1543 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 06:18:55 +00:00
jwang36 e0ab6c7b60 fixed a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1536 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:36:26 +00:00
jwang36 0fdb42ac46 1) Applied ToolArg and FileArg class to represent tool arguments
2) Unified the tool output message and exception handling
3) Cleaned the coding style
4) Removed used code

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1535 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:35:38 +00:00
alfred 39e5e412f9 add .. support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1534 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:09:54 +00:00
jlin16 ce32083fca Add Binary or Source type check before providing PCD item choices when editing platform PCDBuildData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1533 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 07:06:02 +00:00
wuyizhong 2a9060e294 For stand-alone build, generate Platform_build.xml and call prebuild firstly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1532 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 02:39:02 +00:00
jlin16 73d9b1c494 For one library class, list all library instances from all packages in workspace.
Fix the PCD memory database inconsistency problem when changing PCD item type in platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1531 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 14:51:47 +00:00
qhuang8 10e4f9901c 1.Support to drop Pei Services Table Pointer at best.
2.Change the comments style of Migration tool.
3.Fix a bug in identify function header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1530 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 10:00:18 +00:00
qouyang 5c4eec41d7 (Customized Compression)If setting the EncapsulationType="Compress", Tool will transfer it to sectiontype="EFI_SECTION_COMPRESS" in <gensection>element of <genffsFile> task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1529 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 09:20:36 +00:00
wuyizhong d965d1f63f Update log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1528 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:40:49 +00:00
wuyizhong d8956f143e Add warning message for single module build if multi-thread enabled.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1527 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:14:54 +00:00
wuyizhong d3945b9d4c Auto close multi-thread flag when stand-alone module build. Also change some logs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1526 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:02:50 +00:00
qhuang8 9f98dbb76f Enhance recognizing Macro/Type defined in Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1525 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:00:19 +00:00
wuyizhong e38eb39cb0 Add more comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1522 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 03:32:00 +00:00
wuyizhong 89e1408fde To locate module precisely in stand-alone module build. Except Module Guid, add MSA file path to consider.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1521 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 03:25:23 +00:00
jwang36 93f5dd0a0e 1) Changed ToolArg class to abstract generic arguments of a tool
2) Added FileArg class to abstract arguments which represent the path of a file
3) Changed the log method to EdkLog and the message format for flashmap, fwimage, gendepex, genfvimage, gensection, peirebase, strgather and vfrcompile tool. And changed these tools to use ToolArg and FileArg to keep their arguments.
4) Added more verbose message for OnDependency task
5) Changed MakeDeps tool to insert a file end flag. This is very useful when dependency check is broken occasionally
6) Cleaned the coding style of java code


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1519 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 02:15:32 +00:00
jlin16 ed850fbf8b Fix the problem of not displaying library instances for multiple archs in supArchList.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1517 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-12 09:38:28 +00:00
wuyizhong 498e9021f5 Update LOG process.
1. Sort all log messages by module. Logs at the bottom of build.log is all logs already print to cmd
2. Once one module occurs error, print all logs belongs to this module’s


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1516 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-12 07:16:25 +00:00
jwang36 63062e1ead Merged the <libset> in <GenDll> to avoid warning message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1515 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-12 02:14:45 +00:00
ajfish 6d8597dcf0 Updated the default to parallel build. Even on a single core build is faster with threads. Set MAX thread number to 1+ max core in your system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1514 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 19:11:37 +00:00
qhuang8 733d48fec3 Add migration rule for Build Guid Hob.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1513 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 13:49:03 +00:00
qhuang8 d47b990060 Handle module entry point special case for self-relocated modules. (Replace references of original module entry point with _ModuleEntryPoint)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1512 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 12:17:47 +00:00
qhuang8 06d1ff5b98 Remove the special case handling of EfiInitializeDriverLib & DxeIntializeDriverLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1511 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 09:53:28 +00:00
wuyizhong 2e39c71883 Fix EDKT263. Change save dialog to open dialog. Update all Frame's titles.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1510 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 09:12:17 +00:00
wuyizhong 7dd2b2ad65 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1509 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-11 07:39:08 +00:00
wuyizhong d039f539ae Add two attributes to target.template. MULTIPLE_THREAD is to enable/disable multi-thread build. MAX_CONCURRENT_THREAD_NUMBER is used to specify the number of concurrent threads.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1508 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 06:42:49 +00:00
wuyizhong 3067c4b0c0 Remove TianoToolsException.java. Add code to stop all threads once one corrupts.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1507 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 06:29:26 +00:00
qouyang a1ffb10f21 Support calling customized compression tool in FrameworkTask.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1506 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-10 12:51:19 +00:00
jlin16 54aa8673cb Modify FV attribute editor and generate FvImage Attributes in FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1505 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-10 07:45:21 +00:00
wuyizhong 2eb7d78dcd Adding new Logger instead of Ant's.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1502 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 09:22:36 +00:00
hche10x 4917d9ddc3 1. Add function "Refresh" in main UI
2. Add function to add modules to GlobalData when clone a package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1501 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 01:58:04 +00:00
alfred 63e30d14b4 nothing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1500 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 01:51:33 +00:00
alfred 27e0221a85 \t 2 \ \ \ \
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1499 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 01:00:36 +00:00
jlin16 7242606411 FV attribute editor alpha.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1498 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 10:40:04 +00:00
hche10x 09ef924264 1. Fix EDKT193 "Provide a Module tree when platform/package are open"
2. Fix bugs in Clone


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1497 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 09:14:34 +00:00
alfred 274a3dbda1 enhance hoblib function convert
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1496 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 09:08:23 +00:00
qhuang8 af22c12f37 Randomize a Guid value if it can not be retrieved from inf file. This will prevent user input an illegal one.
User can adjust it via framework wizard if the random one does not requirement.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1495 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 09:07:19 +00:00
qouyang 61528a1be3 Unify the logger and exception in AutoGen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1493 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 08:02:44 +00:00
jlin16 607ef9948b refresh Pcd data from library instance when editing the settings of FrameworkModules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1492 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 07:57:58 +00:00
qhuang8 e2f1c84a39 Remove trailing blanks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1491 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 07:40:42 +00:00
alfred 99b0f0e6b2 fix logfile.close(), trim \n
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1490 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 07:19:39 +00:00
wuyizhong 02c768ee72 Move ${PLATFORM}_build.xml from PLATFORM_DIR to BULID_DIR. Now, all output files will be only under BUILD_DIR. To change BUILD_DIR in FPD.PlatformDefinitions.OutputDirectory, both abstract and relative path is allowed. For relative path is relative to WORKSPACE_DIR. Default BUILD_DIR is PLATFORM_DIR/BUILD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1489 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 02:39:37 +00:00
jjin9 67ce7c51e7 There is a potential flaw in HelpInfo.java previously. It use String[substrnum] to save the result of splitString(), the substrnum is calculated approximatively and has to be set larger enough to provide sufficient space. So substrnum relate to the string specifically.
In this version, it use ListedList to implement the splitString(), which is independent of string specifically.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1488 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 02:37:43 +00:00
qhuang8 68a05456c3 Support pointer return type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1487 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 11:20:45 +00:00
wuyizhong 892b0e7a05 Update GlobalData, SPD, SurfaceAreaQuery to using EdkException.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1485 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:37:36 +00:00
jjin9 91f560c1c9 1.modify the usage info
2.update the context tool to provide an example in help info

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1484 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:32:32 +00:00
jlin16 b411fc1f31 FV from FDF file options editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1483 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:28:47 +00:00
qhuang8 b4648de2bc Enhance doxygening function headers for .h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1481 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:49:27 +00:00
qhuang8 b30d28b3d4 Minor adjustments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1480 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:38:37 +00:00
alfred a817ecbf36 debug R8Lib.h
add @return

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1478 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:32:58 +00:00
wuyizhong 2619585ad0 Change GenBuildLogger format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1476 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 06:38:26 +00:00
jwang36 2279b26c4d Changed EdkException to GenBuildException for consistency
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1475 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 06:07:25 +00:00
wuyizhong 91f7d58229 Remove FrameworkLogger in FrameworkTasks and EdkException in GenBuild. Update EdkLog to accept one more parameter. Remove all System.out in GenBuild.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1474 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 05:58:31 +00:00
alfred 7ab9a5e580 modify r8onlylib generate
add Element

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1473 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 05:40:02 +00:00
alfred 2887f99b7c Laplace take over SourceFileReplacer.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1472 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 04:39:31 +00:00
jwang36 adb6105a5a Added AutoGen.h to assembly and vfr dependency check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1471 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 03:34:55 +00:00
alfred 71874f9369 Laplace, run
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1470 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 02:14:52 +00:00
lhauch 4a484c5ff8 Changed EncapsulationTag to ToolName
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1469 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 01:57:29 +00:00
jlin16 701d95b339 a. Sync FV info with FDF file contents when editing FV information.
b. display module GUID in FrameworkModules if that module no longer exists in workspace.
c. modify SourceFiles to reflect changes in Wizard Package/Platform part.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1466 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 10:31:51 +00:00
alfred eff5170cce add commentout entrypoint
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1465 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 08:59:44 +00:00
alfred 16b7eeef54 REMODEL OF SourceFileReplacer.java
AT LAST

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1464 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 07:37:01 +00:00
hche10x 78b5fb8265 1. Add keyboard support for tree pane, now you can press "ENTER" on a module/package/platform to open it, just like double-click.
2. Add check point when opening a node of tree, ignore the node whose id is null.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1463 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 07:34:32 +00:00
alfred 9481cdac18 add dxsfile convert
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1462 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 07:04:47 +00:00
hche10x 90bed2f7ff 1. Fix EDKT230 "A library class should not be specified for a module more than one time"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1460 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:51:14 +00:00
wuyizhong 4250be6c84 Add one more platform level common property "TARGET_DIR". Take Nt32 for example: TARGET_DIR=${BUILD_DIR}/${TARGET}_${TAGNAME}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1458 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:37:04 +00:00
wuyizhong e5a487d784 Miss one import.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1457 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:33:27 +00:00
wuyizhong 50017606db Add one more platform level common property "TARGET_DIR". Take Nt32 for example: TARGET_DIR=${BUILD_DIR}/${TARGET}_${TAGNAME}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1456 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:27:16 +00:00
wuyizhong b5240dbdee Update for the interface has changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1455 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:25:20 +00:00
hche10x 7f492c4322 1. Add a splash screen when starting, fix EDKT228
2. Update FrameworkWizard.msa for files list

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1453 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:11:36 +00:00
alfred 7deec1481c enhance ForDoAll
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1451 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 05:52:57 +00:00
wuyizhong c8df018e44 Add two definitions to ToolDefinitions. Enhance EdkLog and GenBuildLogger. GenBuildLogger contains two behaviors now, one is for normal; while another is for multi-thread. (4)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1450 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 05:47:21 +00:00
jwang36 a1c90cf694 Added pre-compiled header support for compiling source code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1448 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 03:16:09 +00:00
jchen20 473f57d42e Add method for Microcode building
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1447 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 02:44:54 +00:00
hche10x 94b0f428d7 1. Fix bug EDKT241 "If and MSA file is missing, the Wizard gives a NULL Pointer Exception, with no hints that the workspace is not valid."
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1444 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 02:12:02 +00:00
jlin16 ca40209e2c For long text display for table cell.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1441 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 09:34:14 +00:00
jlin16 98c207975e a. Enhanced toolchain setting UI for ModuleSa build options and global build options.
b. Fpd editor, Flash part UI FV operations.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1440 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 09:32:37 +00:00
alfred 6f55be9f0b let critic prepared
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1439 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 08:43:05 +00:00
wuyizhong aca6c736f6 Backup original properties to avoid property overriding message. This change is for multi-thread build preparations. (3)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1438 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 07:13:01 +00:00
alfred 1e8e8a82dd modify moduleinfo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1437 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 06:38:16 +00:00
wuyizhong abce9cbd99 Add thread control classes. (2)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1434 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 04:50:59 +00:00
wuyizhong 19bf6b15d0 Add thread control classes. (2)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1433 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 03:49:31 +00:00
lgao4 a651e231ec Fix EdkII tracker 223 to enhance genfvimage tool to support TE image format. If so, PEI CORE can contain one TE section to reduce size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1431 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 12:30:25 +00:00
wuyizhong 5acb4b67f2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1430 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-01 09:46:29 +00:00
jjin9 987912ad48 add the copyright info and the file description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1429 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 09:39:30 +00:00
wuyizhong 83fba80256 Remove static from SurfaceAreaQuery.java for preparing parallel build.(1)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1428 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 09:28:15 +00:00
jjin9 c74c7a4302 add ContextTool to workspace/Tools
In directory: workspace/Tools/bin
please type: ContextTool to see the usage help

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1427 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 09:21:38 +00:00
alfred bb2db65a8e Dom test
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1426 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 09:13:03 +00:00
hche10x c8b748bff3 1. Fix EDKT202 "Some externs do not have attribute SupArchList"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1422 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 06:23:58 +00:00
alfred 5ad6d22a16 add lisence
modify ui func

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1421 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 06:19:05 +00:00
hche10x ff383de448 1. Fix EDKT214 "Framework Wizard is not synchronized with FrameworkDatabase.db when install FAR"
2. Remove some unused code from some files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1420 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 06:11:35 +00:00
alfred 5f4eb6b6d5 add ModuleInfo2OutputPath Map
modify inf chooser

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1417 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 03:24:35 +00:00
jlin16 eb8ea8292e Flash UI add new FV feature. modify FvImageNames and FvBindings in fpd file if FV name changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1416 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-31 10:34:14 +00:00
wuyizhong 0719317158 Remove stand-alone module judge when parse FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1415 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-31 08:38:25 +00:00
jlin16 fb4645773d initialize text fields to empty when switching dynamic pcd entries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1414 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-31 02:02:44 +00:00
alfred b678aacaa9 func name changed & modify common.todoall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1412 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-31 01:06:09 +00:00
jlin16 b315127350 change boolean PCD value to capital "TRUE" "FALSE".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1411 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 09:37:44 +00:00
alfred e3e8956d13 editable comment style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1407 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 08:36:25 +00:00
wuyizhong 6ae1510e52 Change output dir layout from Target/TagName/Arch to Target_TagName/Arch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1406 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 03:57:57 +00:00
qouyang 96c9ae4507 Add comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1405 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 03:53:23 +00:00
wuyizhong 3790e93c7e Add Arch Check for single module build. To Fix T167 & T224.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1404 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 03:11:48 +00:00
lhauch 52ee46a69b Added the ToolChainId class which will read the target.txt and tool definition files with various return values. Updated the ToolTipText in FpdPlatformDefs.java as well as changed the Build Targets from freeform to ComboBox (with the ability to add a new Target name.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1403 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 20:49:49 +00:00
jlin16 a094728fa7 rearrange target of procedures of library instance selection.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1402 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 09:18:39 +00:00
qouyang c60019f637 Modify the Autogen.java for <SetVirtualAddressMapCallBack> and
<ExitBootServicesCallBack> only working on module type as DXE_DRIVER, DXE_RUNTIME_DRIVER,DXE_SAL_DRIVER,UEFI_DRIVER, UEFI_APPLICATION.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1401 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 07:36:14 +00:00
jlin16 04a13d6c50 Add check before adding msa file to spd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1400 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 06:01:11 +00:00
klu2 a3222f6a71 Fix track EDKT213: PCD value size should be specificed when generate const variable for String type, PATCHABLE_IN_MODULE type PCD.
The fixing work is translate the ANSIC string or Unicode string to byte array for PATCHABLE_IN_MODULE PCD.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1399 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 05:28:36 +00:00
lhauch a3420902ba removed the FlowLayout and made everything fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1397 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 01:20:05 +00:00
alfred 4f60c26f93 singleton of Database & FirstPanel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1394 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-28 02:55:44 +00:00
alfred 482407d3d6 add MigrationTool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1393 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-28 02:28:24 +00:00
jlin16 2b70a6367b Generate Module Orders in FV at BuildOptions, UserExtensions with UserId "IMAGES" and Identifier "1".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1392 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-27 02:56:35 +00:00
lhauch 07e741e010 changed variable names from textfieldsomething to somethingtextfield
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1391 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-27 00:45:02 +00:00
lhauch 01fa6a6199 Made the Specification look like a comment at the bottom of the page, since it cannot be modified, it did not need to have a label, nor did it require the star, indicating that it was required. Also made the Copyright a ScrollPane so that multiple copyright lines can be displayed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1390 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-27 00:43:05 +00:00
hche10x fe1543a5eb 1. Fix a bug about "Can't open a module/platform/package again after they are closed once"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1389 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-26 01:51:56 +00:00
lhauch bf6aed4db5 Added Support for OPTIONAL property: MULTIPLE_THREAD = enable tag (if not present, MULTIPLE_THREAD should be disabled! Wizard removes this line if not enabled.)
Added Support for OPTIONAL property: MAX_CONCURRENT_THREAD_NUMBER = #  (if MULTIPLE_THREAD is not present, then this should be ignored! - wizard will remove this line if MULTIPLE_THREAD is not enabled.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1388 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-25 20:58:03 +00:00
jlin16 61919f8cfa draft UI implementation of module orders in FV.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1387 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-25 18:53:59 +00:00
lhauch 9d0ac02b2d Made the Specification look like a comment at the bottom of the page, since it cannot be modified, it did not need to have a label, nor did it require the star, indicating that it was required.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1386 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-25 17:18:54 +00:00
wuyizhong 80eb97ffc0 Fix EDKT212.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1385 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-25 03:01:17 +00:00
lhauch 2e482fb5d5 Started cleaning up the Build Options screen so that we can add some additional information for the command line arguments that need to be put into the <BuildOptions><Options><Option> lines.
Re-ordered the content in the file, removed the layout from the Options tab.  No changes to functionality were made, just look & feel.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1384 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-25 01:44:06 +00:00
jlin16 3658f95e1a Use unified global data to get module informations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1383 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 23:37:27 +00:00
hche10x 55e83b18d8 1. Provide "Find" function for Ppi/Protocol/Guid/Pcd/LibraryClass.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1382 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 20:58:25 +00:00
klu2 7085597507 Fix track EDKT106 & EDKT112: map LibPcdSetPtr function for PatchPcdSetPtr macro function defined in PcdLib library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1381 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 17:04:56 +00:00
jwang36 82810f3b0f Fixed the issue caused by introducing INCLUDE_PATH property;
Re-designed NestElement class and all classes which implemented its interface because they have many common code; and changed all classes which use those re-designed classes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1380 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 13:40:42 +00:00
qouyang cb4d97bd83 Modify code according suggestion from code review meeting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1379 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 09:24:29 +00:00