Commit Graph

2143 Commits

Author SHA1 Message Date
xli24 1cc8ee7861 Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:15:58 +00:00
xli24 582510249f Make MDE package pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:05:36 +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
lgao4 b4fd460a67 Nt32TimerLib doesn't support IPF, X64 and EBC, I remove them from this module arch list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2308 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 02:59:51 +00:00
lgao4 1a8a2ed39a BaseMemoryLibSse2 library doesn't support IPF and EBC. I remove these archs for this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2307 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 02:45:41 +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 0aa050f014 Fix up file paths.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2302 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 21:33:51 +00:00
bbahnsen f480b24013 Fix up file names.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2301 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 21:29:30 +00:00
bbahnsen f4587987e5 Fix capitalization issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2300 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 21:24:30 +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
jwang36 92a154063a Added DXE_RUNTIME_DRIVER in the SupModuleList since DxeStatusCode in EdkModulePkg needs this library otherwise it will break the build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2298 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 14:40:22 +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
vanjeff 4cb9d58c9b add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer instance cannot support DXE_SMM_DRIVER drivers, DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2293 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 08:04:04 +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
yshang1 c7c02fabf1 Fixed bug in partition driver:
When Block I/O detects the media changed, block driver will reinstall block I/O protocol. If it happened during start() of partition driver, the reinstall protocol would results in the reentrant of the start(). In the patch, we check status of child detection to see whether need clean up the opened block I/O protocol in Start().

Besides, some checking of return status added in usbbus driver to improve robusticiy of the driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2288 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 10:28:32 +00:00
yshang1 6c2c7b7460 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2287 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-23 10:10:13 +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
yshang1 8c8a13bf5c Updated the function comments in UefiDriverEntryLib to fix EDKT502.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2284 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 09:36:01 +00:00
klu2 f176220269 Modify the EFI_USB_DATA_DIRECTION according to UEFI specification 2.1 page 708.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2283 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 09:15:17 +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
qhuang8 caea5554ab Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers 




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2275 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 09:46:44 +00:00
qhuang8 61fb1657e5 Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers 




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2274 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 08:06:15 +00:00
qhuang8 8b018de64f Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2273 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 08:04:03 +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
qhuang8 ca21f1a216 Add two useful functions in UefiLib for the implementation of Component Name, Driver Config, and Driver Diag protocols.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2267 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 11:15:26 +00:00
qwang12 76dbeb3b91 1) Clean up MdePkg/Include/Common/BootScript.h and remove boot script definition which is not defined in Framework Boot Scirpt Specification V0.91.
2) Add MdePkg/Include/IndustryStandard/SmBus.h which hosts the standard definition defined in System Management Bus Spefication V2.0.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2266 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 09:15:52 +00:00
qwang12 d57d21b5ba Updated the copyright year.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2265 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 06:48:58 +00:00
qwang12 a696a78c37 Add Lock for cirtical section in PCD database processing routines as PCD database is a shared resource in the system. The lock level is defined as EFI_TPL_CALLBACK. The PCD spec should be updated accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2264 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 02:46:28 +00:00