Commit Graph

1280 Commits

Author SHA1 Message Date
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
bbahnsen 24a86f9acc Add dependency checking to the Far install.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2279 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-22 19:41:08 +00:00
jwang36 2897231803 Python script for generating build files for platform and modules, which uses the enhanced XmlRoutines.py written by Bruce.
The functionalities include:
- parse all packages(.spd) and modules(.msa)
- parse active platform(.fpd). You must set active platform in target.txt otherwise nothing will be parsed.
- parse tools_def.txt and target.txt
- generate Ant build files for active platform and its modules. The generated build file is re-designed and can be called separately once generated.
- multi-thread build

The functionalities which haven't been implemented include:
- AutoGen. No AutoGen.h and AutoGen.c will be generated. If you want run the build file, you have to run the "build" command in advance to generate the AutoGen.h/.c files and remove the any other intermediate files.
- generate FFS and FV files. Only compiling will be done by the generated build file.

Usage:
- type "python ${WORKSPACE}/Tools/Python/buildgen/BuildFile.py" in shell to generate build file
- goto "${WORKSPACE}/Build/${platform}/${target}_${toolchaintag}/", type "ant" to run the build file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2278 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-22 09:59:07 +00:00
jwang36 41ac48e930 Added tasks to create DEBUG and OUTPUT directory in case they haven't been created
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2277 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-22 09:18:15 +00:00
bbahnsen 4040421aee Add a program to install fars.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2276 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-20 00:41:32 +00:00
jwang36 e1b95c15ab Fixed an issue which the .dep file for the AutoGen.h won't be generated if PCH is not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2272 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 07:41:47 +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
ywang 68a96e7358 Minor word change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2269 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 22:07:47 +00:00
ywang 6b26610128 Minor word change in utility display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2268 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 21:42:42 +00:00
ywang 26355eed43 Modified the version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2263 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 21:46:35 +00:00
ywang 243009a7bf Modified version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2262 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 21:31:03 +00:00
klu2 9fc9e7e0f4 ReCaculate the checksum after fixing up AP section for Sec module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2260 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 08:07:41 +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
bbahnsen 26e72077b9 Get the Include/ tree also.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2258 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 00:16:32 +00:00
bbahnsen 5b8acefd92 Give better error messages for non-existent files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2257 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 00:02:57 +00:00
bbahnsen 22b9b81e7b Align the sections on 32 byte boundaries for gcc. EDKT459
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2256 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 20:43:17 +00:00
bxing 93d16c6993 1. Change "BA" to "BaseAddress" and "EP" to "EntryPoint".
2. Sort modules by their preferred load address in ascending order.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2254 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 08:11:09 +00:00
lgao4 497ef745f0 Fix PeLoad function can't handle invalid PeImage to skip correct debug entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2253 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 06:30:16 +00:00
lgao4 582c7220f8 Correct TeImage Header based on PeiCis spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2250 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:24:23 +00:00
lgao4 5b66424456 Correct TeImage file format and Clean up PeiRebase tool to remove unused code and only relocate image.
Move two EFI_DEP_REPLACE_TRUE and DEPEX_STACK_SIZE_INCREMENT macros from MdePkg to EdkModule/DxeMain module, because these two macros are specific implementation, not defined in spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2249 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:13:40 +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
klu2 34dca9d54a Add ULL for long long type value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2239 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 07:35:53 +00:00
klu2 9dcae728e1 Correct some linux building issue and wrong file header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2238 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 07:28:44 +00:00
klu2 f6ab0ceeac Add checking code for GenAcpiTable tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2237 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 07:18:23 +00:00
klu2 8ef571dfb5 fix some minor warning for unix package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2230 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 03:51:28 +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
bbahnsen b12dbde369 Fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2218 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 07:11:34 +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
bbahnsen b23e12fab8 Print a descriptive error message if the msa file is ambiguous.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2214 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 00:14:05 +00:00
bbahnsen 07253e8e47 Add multi-architecture support to the GNU makefile generator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2212 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 22:36:15 +00:00
ywang c6359f6825 Modified utility usage and version display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2211 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 21:08:01 +00:00
ywang eaad41e892 Modified utility usage and version display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2210 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 21:00:22 +00:00
ywang fd23b925fb Added/modified utility usage and version display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2209 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 20:52:01 +00:00
xli24 cee3584d1e Original range calculation in GetNextFile() is incorrect.
This patch fixes this issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2207 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 07:58:08 +00:00
lgao4 741fb36417 Add dependency for RealAsm file build rules and Use the module name in place of macro STRING_ARRAY_NAME
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2205 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 03:00:37 +00:00
bbahnsen 0026dbe0ac Add a python script that can generate gnu makefiles for the mde package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2204 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 02:23:35 +00:00
ywang 60db81c16b git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2201 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-09 22:29:27 +00:00
jwang36 18a964cf70 Increased the image buffer size to avoid invalid address access issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2200 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 13:37:54 +00:00
jwang36 d0b053b7c2 Merged back the Yizhong's fix which was overwritten by check-in of r2157,2158.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2197 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 02:41:18 +00:00
ywang db608e6b5b Minor changes and bug fixes implemented.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2196 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 22:27:20 +00:00
zliu3 66d8c20686 1) Changed the file including as '#include "Ipf\IpfCpuCore.i"' for Intel compiler supporting
2) Added the Intel IPF Compiler setting in the tools_def.template

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2195 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 14:13:56 +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
lgao4 0ce0d9ae95 Fix one minor bug for GenDepex tool. When no input parameter, GenDepex tool should output help info.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2189 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 03:44:30 +00:00
tgingold b51468d107 EdkUnix spd and fpd added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2183 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06 15:02:50 +00:00
tgingold 8ba7afaf2e automagically convert ELF to PE/COFF (i386 only)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2181 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06 14:54:24 +00:00
tgingold 1e56bac2c8 Add ASM_PFX macro on ASM_FLAGS using GCC tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2178 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06 14:50:43 +00:00
bbahnsen 3b7a53b683 Add license header to Python files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2177 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-05 21:08:32 +00:00
klu2 fc7599b9aa Correct the sample instruction.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2176 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-05 02:18:11 +00:00
bbahnsen 835cdfb738 Allow resume of the download.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2174 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 22:38:43 +00:00
bbahnsen 281ab33133 Add wxPython to the installer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2173 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 22:01:52 +00:00
bbahnsen 4d0cf38afc Set the executable property on the script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2172 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 21:55:35 +00:00
bbahnsen 652969073e Set the executable property on the script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2171 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 17:45:00 +00:00
klu2 9fae0373b0 Fix building issue for VC compiler. And enable GenFvMap in building CCode package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2168 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:43:12 +00:00
klu2 1b266b0c7e Fix building issue for Mac OS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2167 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:33:14 +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
klu2 327bd141ad Fix building error in Linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2165 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:08:27 +00:00
mdkinney 8d4243f1bd 1) Update XmlRoutines.py to strip all whitespace
2) Add function to read section of an XML file
3) Add class to handle workspace relative paths
4) Add utility to manage target.txt
5) Add utility to manage FrameworkDatabase.db



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2164 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 01:07:52 +00:00
bbahnsen 64bbd2e3c6 Remove GenFvMap from the build since it does not compile under gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2163 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03 22:15:50 +00:00
ywang 52be9a3b67 Added or modified utility version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2162 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03 22:09:16 +00:00
ywang 66b23b953f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2160 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-02 22:00:24 +00:00
ywang f091efb3cb Added or modified utility version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2159 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-02 20:17:36 +00:00
bxing a3ab2a47d9 Integrated FV memory map into R9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2158 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-31 09:55:05 +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
klu2 242c77a085 Downgrade the checking for 'extra qualification' introduced by latest gcc version
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2156 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30 06:18:21 +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
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