Commit Graph

1210 Commits

Author SHA1 Message Date
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 b4667b1105 Remove a temporary test line of code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2327 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 07:09:53 +00:00
jwang36 d59f2c721b - Remove the TOOL without NAME defined and its definition in ARCH_build.opt
- Prefix the tool path to its name in ARCH_build.opt
- Support the same library class in different package


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2325 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:28:27 +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
lgao4 60ad347998 When GenFvMap tool doesn't open one module map file, it will skip this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2323 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 05:56:49 +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
jwang36 01bf334d2c Added -e and -emacs to support no leading task name in each line of log on screen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2320 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 03:29:23 +00:00
qwang12 febc643362 Remove USER_DEFINED in IncludePkgHeader in spd files as it does not make sense to specify package include header file for a custom build type module. Package creator has no a priori knowledge about what header file will be needed by the USER_DEFINED module customers created in dependent package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2316 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 10:25:16 +00:00
jwang36 ba3a1cb5bb Enhanced the <Build_Library> macro to check OBJECTS property in case it's empty
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2311 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:05:31 +00:00
jwang36 2082f93671 - Merged the local copy of XmlRoutines.py in buildgen into upper directory's XmlRoutines.py
- Removed the local copy of XmlRoutines.py in buildgen/AntTasks.pyc
- Used the XmlNode to replace XmlElement in SurfaceAreaElement.py


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2310 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 05:03:12 +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
bbahnsen 822d4f3a53 Adding a couple of features for far processing, including detecting duplicate files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2304 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:18:46 +00:00
lhauch e2cce12fd6 Added optional whitespace characters in before and/or after the content within <element> tags
Added Alignment optional attribute to the <Section> tag
Changed the UserExtension Identifier from int to string


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2303 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:03:02 +00:00
bbahnsen 312ffece7b Adding several dependency checks for far installation. Redoing the XML output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2299 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 18:14:09 +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 16046b7615 Fixed EDKT487. Added a <import> task to import UserExtension.xml if it exists for users to incorporate their own tasks or macro in the build process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2296 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 09:46:23 +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
bbahnsen f0a3fde160 Changing XmlAppendChildElement to return the new XML node on success.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2289 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 21:36: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
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