jwang36
8c8b94e252
Fixed EDKT538; Removed the some code generation for UEFI_APPLICATION type of module. Refer to EDKT538 for details.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2471 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-15 02:47:24 +00:00
jwang36
90a98f29c5
Fixed EDKT532 and EDKT533
...
- Support GUID CName in <Events>, <SystemTables>, <DataHubs>, <HiiPackages>, <Hobs> in msa file
- Support auto-insert related header file of DebugLib and UefiBootServicesTableLib according to module type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2440 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 06:57:33 +00:00
jwang36
a30ae9faea
- Fixed PVCS tracker 484 by merging the GenDll and GenEfi macro in BuildMacro.xml to GenEfi, moving out GenDll and GenEfi macro calling inside macro EFI_SECTION_TE and EFI_SECTION_PE32, and generating the calling of GenEfi macro according to the module type (binary or library).
...
- Cleaned the coding style of AutoGen.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2429 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-08 01:44:17 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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