Commit Graph

192 Commits

Author SHA1 Message Date
jwang36 9821fa9a8f Changed the way of handling not supported ARCH for a module. It should not break the build. Instead, it just give a warning message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2356 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-07 07:12:59 +00:00
jwang36 de093b3c14 (Fixed EDKT523) Added more check on "archString" to see if it's empty or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2355 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-07 05:34:51 +00:00
jwang36 73f7b9c29c Add genDigest() method to class FfsProcess to generate MD5 digest value for the FFS layout. This is intended to solve re-generation issue of FFS when its layout has been changed but no related section files have been changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2353 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 06:25:58 +00:00
jwang36 2f96bdd1b9 Output more descriptive information when there's no TARGET, TARGET_ARCH, etc defined in target.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2351 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 02:02:15 +00:00
jlin16 e64872fa8b 1. Refresh applicable library instances after one illegal library instance is removed.
2.Remove library instances that is only consumed by one library instance when deleting this library instance from a module in platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2350 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 10:11:03 +00:00
jlin16 fd0f684ffa Optimize library instance selection algorithm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2342 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 11:43:58 +00:00
hche10x 9e011eacdb 1. Fix EDKT508: FW should't build Log.log file in current directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2341 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 08:20:54 +00:00
hche10x e2249194ac 1. Fix EDKT215: [Wizard] "Previous" button is not supported in step 4 of Create FAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2333 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30 01:31:32 +00:00
jwang36 2c9b03f219 - Move global declarations from AutoGen.c to AutoGen.h
- Stop building AutoGen.c for binary module

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2331 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29 04:41:58 +00:00
jlin16 b8f186eb78 Fix EDKT174, auto-select library instance if only one candidate available for a library class. Note that if you remove one single instance, it will NOT be auto-selected back at once.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2329 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 16:40:37 +00:00
jwang36 149127db68 Move the entrypoint function declarations to AutoGen.h for sake of Intel compiler
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2324 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:04:40 +00:00
hche10x b79fc8357f 1. Add "Splash Screen" back
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2322 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 05:56:09 +00:00
jlin16 253fca1de3 Change parameter id in UserExtension element from Integer to String according to EDKT510 schema change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2309 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 03:23:39 +00:00
jwang36 ceea362ed6 Fixed the Indentifier type issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2306 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:38:32 +00:00
jwang36 e3cc406130 - Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
- Fixed EDKT366. For NT32, using "build run" to launch the NT32 emulator. The run.cmd is still be generated in the ${TARGET_DIR}

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2305 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:25:02 +00:00
jlin16 25232e9cb3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2297 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-24 09:59:00 +00:00
jwang36 66a9a6f8e9 - Fixed EDKT513 by adding existing section files into the dependency check of genffsfile tool;
- Fixed EDKT514 by removing the generation and build of AutoGen.c for library


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2295 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 09:05:56 +00:00
hche10x ff7bc6c425 1. Finish Enhancement EDKT345: Support deleting multiple rows together when remove source files in MSA
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2294 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 08:20:08 +00:00
jlin16 c045922799 Modify error message contents when an improper library instance was selected for a module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2292 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 07:51:16 +00:00
jwang36 98840b1049 Changed the way of determining how to call customized build file. Now we check if there's XXX_build.xml existing in the source file list to determine the customized build other than the USER_DEFINED module type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2291 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 06:37:21 +00:00
jwang36 2b955487b6 Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2290 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 05:00:21 +00:00
jlin16 0202572b06 Modify support module type filter for library instance selection.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2286 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 10:00:41 +00:00
jwang36 9d3d149f81 Fixed the fake circular denpendency of library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2285 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 09:48:03 +00:00
jwang36 700279a971 Fixed EDKT493. Added support to "SupModuleList" for checking if a library instance is supporting current module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2282 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 08:51:06 +00:00
qwang12 2b34c3fe63 Corrected a small bugs:
The macro name generated in autogen should match that in the Service.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2281 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 08:28:43 +00:00
jwang36 aacce76100 Moved the function prototype of SetVirtualAddress and ExitBootService to AutoGen.h for the sake of Intel Compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2280 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 05:14:48 +00:00
jwang36 f9081b646d 1) Added prototype of constructor and destructor in the library's AutoGen.h. This is necessary for Intel Compiler.
2) Corrected the prototype destructor of EdkUefiRuntimeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2271 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 06:25:21 +00:00
jwang36 8fc81f2a88 Corrected the regular expression because it will skip many includes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2270 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 03:43:03 +00:00
jwang36 daa7a3eb47 1) According to the spec, add EFIAPI to the module entry point function declaration in AutoGen.c
2) Remove the "#include <AutoGen.h>" from AutoGen.c because the AutoGen.h has been included by compiler option
3) Remove "\r" to AutoGen.h and AutoGen.c


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2259 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 07:15:25 +00:00
jwang36 bf43f5eb3e Remove DEBUG output statement for PEI&DXE core to fix boot failure issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2247 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 05:52:50 +00:00
jwang36 a387de3b32 Fixed EDKT498(enchance makedep tool to support asm file), EDKT500(dep file needs to be created for uni file) and tracker ID 454(report real driver entrypoint address through debug output) in PVCS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2246 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 01:59:23 +00:00
tgingold b991a45139 Disp dependencies in error in case of circular dependency
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2245 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 23:22:29 +00:00
zliu3 e360ea4d73 Fixed one dead loop issue in the autogenlib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2240 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 08:50:20 +00:00
jwang36 affa5a128c Removed the workaround code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2224 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 02:02:11 +00:00
jwang36 d919bb8cf9 Added a workaround to fix the library instance constructor sequence issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2221 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 09:00:36 +00:00
hche10x c271c1326b 1. Fix EDKT501: New MSA get "Please type a complete file path" waring and can't proceed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2215 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 01:51:51 +00:00
jwang36 2384947051 Corrected some comments for the changed code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2194 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 10:16:40 +00:00
jwang36 bc33b23da1 Used the DAG algorithm given by Mike to re-implemented library constructor sorting code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2193 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 09:41:20 +00:00
klu2 a89f26d82d When generating string size for unicode string, do not generate too many brace. This will break linux building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2191 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 07:25:35 +00:00
hche10x 6e73f334d9 1. Fix EDKT413: EnumerationData.java should use defined final static string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2166 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:10:34 +00:00
bxing 8733430b83 1. Added a new tool GenFvMap, which is able to generate FV map files upon LOG files generated by PeiRebase.
2. Updated PeiRebase to generate LOG files while processing FV images. The original MAP feature and its corresponding option '-M' are dropped, however, they are superceded by the FV map file.
3. The FV map file are not generated yet. My next check-in will update FPD files to generate FV map files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2157 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30 09:17:16 +00:00
jlin16 82484861b5 Make opening dialogs re-gain focus when user switch back to main UI from other windows applications.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2152 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29 08:09:48 +00:00
hche10x 55683eab3a 1. Fix EDKT496 Framework Wizard should allow user to pick up a Protocol Guid to tag Guid HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2151 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29 07:23:14 +00:00
jlin16 11c5f0713c add support arch check for pcd entries when adding a module to platform, sync. platform pcd with msa pcd and adding library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2149 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 08:45:08 +00:00
hche10x a9e882c96d 1. Fix EDKT336: Back to focused dialog window when shift to wizard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2148 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 08:03:37 +00:00
jlin16 5d07408433 remove unnecessary check between pcd table line selections to fix pcd default value refresh problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2147 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 07:02:04 +00:00
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
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