16 years agoChanged the way of determining how to call customized build file. Now we check if...
jwang36 [Wed, 24 Jan 2007 06:37:21 +0000 (06:37 +0000)]
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

16 years agoRemoved the BASE type as any type in the check of SupModuleList in getLibraryClasses()
jwang36 [Wed, 24 Jan 2007 05:00:21 +0000 (05:00 +0000)]
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

16 years agoChanging XmlAppendChildElement to return the new XML node on success.
bbahnsen [Tue, 23 Jan 2007 21:36:21 +0000 (21:36 +0000)]
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

16 years agoFixed bug in partition driver:
yshang1 [Tue, 23 Jan 2007 10:28:32 +0000 (10:28 +0000)]
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

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2287 6f19259b...
yshang1 [Tue, 23 Jan 2007 10:10:13 +0000 (10:10 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2287 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoModify support module type filter for library instance selection.
jlin16 [Tue, 23 Jan 2007 10:00:41 +0000 (10:00 +0000)]
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

16 years agoFixed the fake circular denpendency of library instance.
jwang36 [Tue, 23 Jan 2007 09:48:03 +0000 (09:48 +0000)]
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

16 years agoUpdated the function comments in UefiDriverEntryLib to fix EDKT502.
yshang1 [Tue, 23 Jan 2007 09:36:01 +0000 (09:36 +0000)]
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

16 years agoModify the EFI_USB_DATA_DIRECTION according to UEFI specification 2.1 page 708.
klu2 [Tue, 23 Jan 2007 09:15:17 +0000 (09:15 +0000)]
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

16 years agoFixed EDKT493. Added support to "SupModuleList" for checking if a library instance...
jwang36 [Tue, 23 Jan 2007 08:51:06 +0000 (08:51 +0000)]
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

16 years agoCorrected a small bugs:
qwang12 [Tue, 23 Jan 2007 08:28:43 +0000 (08:28 +0000)]
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

16 years agoMoved the function prototype of SetVirtualAddress and ExitBootService to AutoGen...
jwang36 [Tue, 23 Jan 2007 05:14:48 +0000 (05:14 +0000)]
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

16 years agoAdd dependency checking to the Far install.
bbahnsen [Mon, 22 Jan 2007 19:41:08 +0000 (19:41 +0000)]
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

16 years agoPython script for generating build files for platform and modules, which uses the...
jwang36 [Mon, 22 Jan 2007 09:59:07 +0000 (09:59 +0000)]
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.

- 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

16 years agoAdded tasks to create DEBUG and OUTPUT directory in case they haven't been created
jwang36 [Mon, 22 Jan 2007 09:18:15 +0000 (09:18 +0000)]
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

16 years agoAdd a program to install fars.
bbahnsen [Sat, 20 Jan 2007 00:41:32 +0000 (00:41 +0000)]
Add a program to install fars.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2276 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix component name bugs when input Controller Name is invalid
qhuang8 [Fri, 19 Jan 2007 09:46:44 +0000 (09:46 +0000)]
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

16 years agoFix component name bugs when input Controller Name is invalid
qhuang8 [Fri, 19 Jan 2007 08:06:15 +0000 (08:06 +0000)]
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

16 years agoFix component name bugs when input Controller Name is invalid
qhuang8 [Fri, 19 Jan 2007 08:04:03 +0000 (08:04 +0000)]
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

16 years agoFixed an issue which the .dep file for the AutoGen.h won't be generated if PCH is...
jwang36 [Fri, 19 Jan 2007 07:41:47 +0000 (07:41 +0000)]
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

16 years ago1) Added prototype of constructor and destructor in the library's AutoGen.h. This...
jwang36 [Fri, 19 Jan 2007 06:25:21 +0000 (06:25 +0000)]
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

16 years agoCorrected the regular expression because it will skip many includes.
jwang36 [Fri, 19 Jan 2007 03:43:03 +0000 (03:43 +0000)]
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

16 years agoMinor word change.
ywang [Thu, 18 Jan 2007 22:07:47 +0000 (22:07 +0000)]
Minor word change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2269 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoMinor word change in utility display.
ywang [Thu, 18 Jan 2007 21:42:42 +0000 (21:42 +0000)]
Minor word change in utility display.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2268 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd two useful functions in UefiLib for the implementation of Component Name, Driver...
qhuang8 [Thu, 18 Jan 2007 11:15:26 +0000 (11:15 +0000)]
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

16 years ago1) Clean up MdePkg/Include/Common/BootScript.h and remove boot script definition...
qwang12 [Thu, 18 Jan 2007 09:15:52 +0000 (09:15 +0000)]
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

16 years agoUpdated the copyright year.
qwang12 [Thu, 18 Jan 2007 06:48:58 +0000 (06:48 +0000)]
Updated the copyright year.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2265 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd Lock for cirtical section in PCD database processing routines as PCD database...
qwang12 [Thu, 18 Jan 2007 02:46:28 +0000 (02:46 +0000)]
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

16 years agoModified the version and usage display.
ywang [Wed, 17 Jan 2007 21:46:35 +0000 (21:46 +0000)]
Modified the version and usage display.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2263 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoModified version and usage display.
ywang [Wed, 17 Jan 2007 21:31:03 +0000 (21:31 +0000)]
Modified version and usage display.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2262 6f19259b-4bc3-4df7-8a09-765794883524

16 years agosupmodulelist not supported by now, i remove it firstly.
vanjeff [Wed, 17 Jan 2007 09:53:31 +0000 (09:53 +0000)]
supmodulelist not supported by now, i remove it firstly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2261 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoReCaculate the checksum after fixing up AP section for Sec module.
klu2 [Wed, 17 Jan 2007 08:07:41 +0000 (08:07 +0000)]
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

16 years ago1) According to the spec, add EFIAPI to the module entry point function declaration...
jwang36 [Wed, 17 Jan 2007 07:15:25 +0000 (07:15 +0000)]
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

16 years agoGet the Include/ tree also.
bbahnsen [Wed, 17 Jan 2007 00:16:32 +0000 (00:16 +0000)]
Get the Include/ tree also.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2258 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoGive better error messages for non-existent files.
bbahnsen [Wed, 17 Jan 2007 00:02:57 +0000 (00:02 +0000)]
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

16 years agoAlign the sections on 32 byte boundaries for gcc. EDKT459
bbahnsen [Tue, 16 Jan 2007 20:43:17 +0000 (20:43 +0000)]
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

16 years agoFix several capitalization issues.
bbahnsen [Tue, 16 Jan 2007 19:59:43 +0000 (19:59 +0000)]
Fix several capitalization issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2255 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Change "BA" to "BaseAddress" and "EP" to "EntryPoint".
bxing [Tue, 16 Jan 2007 08:11:09 +0000 (08:11 +0000)]
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

16 years agoFix PeLoad function can't handle invalid PeImage to skip correct debug entry.
lgao4 [Tue, 16 Jan 2007 06:30:16 +0000 (06:30 +0000)]
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

16 years agoFix the issues,
xgu3 [Tue, 16 Jan 2007 02:57:57 +0000 (02:57 +0000)]
Fix the issues,
1. NULL Pointer Errors in Variable.c
2. consoleoption Null Ptr Error
3. bootmaint Null Ptr Error
4. EFIAPI missing Crc32SectionExtraction.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2252 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the issues,
xgu3 [Tue, 16 Jan 2007 02:55:46 +0000 (02:55 +0000)]
Fix the issues,
bootmaint Null Ptr Error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2251 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoCorrect TeImage Header based on PeiCis spec.
lgao4 [Mon, 15 Jan 2007 11:24:23 +0000 (11:24 +0000)]
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

16 years agoCorrect TeImage file format and Clean up PeiRebase tool to remove unused code and...
lgao4 [Mon, 15 Jan 2007 11:13:40 +0000 (11:13 +0000)]
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

16 years agoTo fix,
xgu3 [Mon, 15 Jan 2007 06:24:49 +0000 (06:24 +0000)]
To fix,
1. ScrollLock key does not work in USB KB driver
2. PCI_ROOT_BRIDGE_IO.configuration should use OUT for Resources

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2248 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove DEBUG output statement for PEI&DXE core to fix boot failure issue
jwang36 [Mon, 15 Jan 2007 05:52:50 +0000 (05:52 +0000)]
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

16 years agoFixed EDKT498(enchance makedep tool to support asm file), EDKT500(dep file needs...
jwang36 [Mon, 15 Jan 2007 01:59:23 +0000 (01:59 +0000)]
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

16 years agoDisp dependencies in error in case of circular dependency
tgingold [Fri, 12 Jan 2007 23:22:29 +0000 (23:22 +0000)]
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

16 years agoFix filename case (Ipf instead of ipf)
tgingold [Fri, 12 Jan 2007 23:19:14 +0000 (23:19 +0000)]
Fix filename case (Ipf instead of ipf)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2244 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUse / as path separator
tgingold [Fri, 12 Jan 2007 23:18:19 +0000 (23:18 +0000)]
Use / as path separator

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2243 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoTo fix,
xgu3 [Fri, 12 Jan 2007 10:27:54 +0000 (10:27 +0000)]
To fix,
1662 Graphics Console Driver: No checking for invalid parameter in SetMode()
8588 Graphic Console should not chech PixelFormat for 800*600 resolution

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2242 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemoved the DxeSalLibConstructor() from the EdkDxeSalLib and EdkDxeRuntimeSalLib...
zliu3 [Fri, 12 Jan 2007 09:07:18 +0000 (09:07 +0000)]
Removed the DxeSalLibConstructor() from the EdkDxeSalLib and EdkDxeRuntimeSalLib for the AutoGen lib constructor tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2241 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed one dead loop issue in the autogenlib.
zliu3 [Fri, 12 Jan 2007 08:50:20 +0000 (08:50 +0000)]
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

16 years agoAdd ULL for long long type value
klu2 [Fri, 12 Jan 2007 07:35:53 +0000 (07:35 +0000)]
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

16 years agoCorrect some linux building issue and wrong file header
klu2 [Fri, 12 Jan 2007 07:28:44 +0000 (07:28 +0000)]
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

16 years agoAdd checking code for GenAcpiTable tools.
klu2 [Fri, 12 Jan 2007 07:18:23 +0000 (07:18 +0000)]
Add checking code for GenAcpiTable tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2237 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoCorrect the right bits judgment for get size of OptionROM.
klu2 [Fri, 12 Jan 2007 06:20:33 +0000 (06:20 +0000)]
Correct the right bits judgment for get size of OptionROM.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2236 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove two global variable: mUsbCapabilityLen and mDeviceSpeed and integrate them...
klu2 [Fri, 12 Jan 2007 05:47:58 +0000 (05:47 +0000)]
Remove two global variable: mUsbCapabilityLen and mDeviceSpeed and integrate them into USB2_HC_DEV.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2235 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdate video card preference policy, together with some memory leaks in Generic BDS...
xli24 [Fri, 12 Jan 2007 05:34:49 +0000 (05:34 +0000)]
Update video card preference policy, together with some memory leaks in Generic BDS Library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2234 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoEHCI driver need enable routine and disable Legacy USB
klu2 [Fri, 12 Jan 2007 05:17:27 +0000 (05:17 +0000)]
EHCI driver need enable routine and disable Legacy USB

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2233 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoCorrectly skip debug entry.
lgao4 [Fri, 12 Jan 2007 04:54:20 +0000 (04:54 +0000)]
Correctly skip debug entry.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2232 6f19259b-4bc3-4df7-8a09-765794883524

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2231 6f19259b...
yshang1 [Fri, 12 Jan 2007 04:02:02 +0000 (04:02 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2231 6f19259b-4bc3-4df7-8a09-765794883524

16 years agofix some minor warning for unix package
klu2 [Fri, 12 Jan 2007 03:51:28 +0000 (03:51 +0000)]
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

16 years agoThe updating (change the Interrupt Line to 0xFF for unknown setting) is only for...
zliu3 [Fri, 12 Jan 2007 03:42:01 +0000 (03:42 +0000)]
The updating (change the Interrupt Line to 0xFF for unknown setting) is only for x86 based on the PCI spec, so added the compiler option for such code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2229 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUART_FLOW_CONTROL_DEVICE_PATH should be defined for both EFI and UEFI
qhuang8 [Fri, 12 Jan 2007 03:10:06 +0000 (03:10 +0000)]
UART_FLOW_CONTROL_DEVICE_PATH should be defined for both EFI and UEFI

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2228 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1.Fix a typo in DevicePath Driver
qhuang8 [Fri, 12 Jan 2007 03:09:40 +0000 (03:09 +0000)]
1.Fix a typo in DevicePath Driver
2.Fix a bug in EBC, the periodic callback timer should be 1s
3.Add a dependency file for DriverSample in UI since it consume EFI_SIMPLE_TEXT_OUT protocol.
4.Fix a memory allocation defects in DriverSample.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2227 6f19259b-4bc3-4df7-8a09-765794883524

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2226 6f19259b...
yshang1 [Fri, 12 Jan 2007 02:44:07 +0000 (02:44 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2226 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix EDKT497. In the patch:
yshang1 [Fri, 12 Jan 2007 02:41:42 +0000 (02:41 +0000)]
Fix EDKT497. In the patch:
1) Check TPL<=TPL_CALLBACK prior to invoking SerialIO protocol.
2) Check TPL <= TPL_NOTIFY prior to allocate memory in datahub status code driver.
3) Add lock to prevent the critical data.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2225 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemoved the workaround code
jwang36 [Fri, 12 Jan 2007 02:02:11 +0000 (02:02 +0000)]
Removed the workaround code

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2224 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdated the Ipf/Fat.efi with a smaller version to save the image space and this efi...
zliu3 [Thu, 11 Jan 2007 14:11:50 +0000 (14:11 +0000)]
Updated the Ipf/Fat.efi with a smaller version to save the image space and this efi binary is compiled with "O1" flag

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2223 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdated the Fat.efi for Tiger tip because the old one does not have the relocation...
zliu3 [Thu, 11 Jan 2007 10:01:12 +0000 (10:01 +0000)]
Updated the Fat.efi for Tiger tip because the old one does not have the relocation section in that image.
(The new image is a debug vesion, it should be replaced by release version to reduce the image size)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2222 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdded a workaround to fix the library instance constructor sequence issue.
jwang36 [Thu, 11 Jan 2007 09:00:36 +0000 (09:00 +0000)]
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

16 years agoDisplay error message when HOB creation fails due to lack of memory.
xli24 [Thu, 11 Jan 2007 08:56:38 +0000 (08:56 +0000)]
Display error message when HOB creation fails due to lack of memory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2220 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd checking for memory allocation in UI modules.
xli24 [Thu, 11 Jan 2007 08:03:27 +0000 (08:03 +0000)]
Add checking for memory allocation in UI modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2219 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix a typo.
bbahnsen [Thu, 11 Jan 2007 07:11:34 +0000 (07:11 +0000)]
Fix a typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2218 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAsyncRequestPtr maybe NULL after its callback function is invoke. So Caching it tempo...
klu2 [Thu, 11 Jan 2007 07:06:00 +0000 (07:06 +0000)]
AsyncRequestPtr maybe NULL after its callback function is invoke. So Caching it temporary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2217 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoBDS code calls Hii->FindHandles() with hardcoded length.
xli24 [Thu, 11 Jan 2007 06:37:39 +0000 (06:37 +0000)]
BDS code calls Hii->FindHandles() with hardcoded length.
New code provides function BdsLibGetHiiHandles() in generic BDS library, which detects actual necessary memory, allocates memory, and finds handles as output.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2216 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Fix EDKT501: New MSA get "Please type a complete file path" waring and can't proceed
hche10x [Thu, 11 Jan 2007 01:51:51 +0000 (01:51 +0000)]
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

16 years agoPrint a descriptive error message if the msa file is ambiguous.
bbahnsen [Thu, 11 Jan 2007 00:14:05 +0000 (00:14 +0000)]
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

16 years agoMark some .c files as MSFT only.
bbahnsen [Wed, 10 Jan 2007 23:46:32 +0000 (23:46 +0000)]
Mark some .c files as MSFT only.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2213 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd multi-architecture support to the GNU makefile generator.
bbahnsen [Wed, 10 Jan 2007 22:36:15 +0000 (22:36 +0000)]
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

16 years agoModified utility usage and version display.
ywang [Wed, 10 Jan 2007 21:08:01 +0000 (21:08 +0000)]
Modified utility usage and version display.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2211 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoModified utility usage and version display.
ywang [Wed, 10 Jan 2007 21:00:22 +0000 (21:00 +0000)]
Modified utility usage and version display.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2210 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdded/modified utility usage and version display.
ywang [Wed, 10 Jan 2007 20:52:01 +0000 (20:52 +0000)]
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

16 years agoIDEBusDriverBindingStart() calls REPORT_STATUS_CODE_WITH_DEVICE_PATH with NULL device...
xli24 [Wed, 10 Jan 2007 09:07:51 +0000 (09:07 +0000)]
IDEBusDriverBindingStart() calls REPORT_STATUS_CODE_WITH_DEVICE_PATH with NULL device path. If progress code is switched on, ASSERT would happen.
This update fixes the issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2208 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoOriginal range calculation in GetNextFile() is incorrect.
xli24 [Wed, 10 Jan 2007 07:58:08 +0000 (07:58 +0000)]
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

16 years ago1. Added comments to ASM files
bxing [Wed, 10 Jan 2007 06:57:04 +0000 (06:57 +0000)]
1. Added comments to ASM files
2. Fixed a bug in 64-bit AsmDisablePaging64(), which may cause a #GP exception.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2206 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd dependency for RealAsm file build rules and Use the module name in place of macro...
lgao4 [Wed, 10 Jan 2007 03:00:37 +0000 (03:00 +0000)]
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

16 years agoAdd a python script that can generate gnu makefiles for the mde package.
bbahnsen [Wed, 10 Jan 2007 02:23:35 +0000 (02:23 +0000)]
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

16 years agoAdded support for xmlbeans-2.2.0
jwang36 [Wed, 10 Jan 2007 02:15:11 +0000 (02:15 +0000)]
Added support for xmlbeans-2.2.0

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2203 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoThe header file applies to all architectures.
bbahnsen [Tue, 9 Jan 2007 23:14:27 +0000 (23:14 +0000)]
The header file applies to all architectures.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2202 6f19259b-4bc3-4df7-8a09-765794883524

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2201 6f19259b...
ywang [Tue, 9 Jan 2007 22:29:27 +0000 (22:29 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2201 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoIncreased the image buffer size to avoid invalid address access issue
jwang36 [Tue, 9 Jan 2007 13:37:54 +0000 (13:37 +0000)]
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

16 years agoAdd in UefiApplicationEntryPoint library class and library instance.
qwang12 [Tue, 9 Jan 2007 08:17:21 +0000 (08:17 +0000)]
Add in UefiApplicationEntryPoint library class and library instance.
The major difference between UefiApplicationEntryPoint and UefiDriverEntryPoint is that:
1) UEFI application will always be unloaded no matter what is the return status code from the application. Therefore, the library destructors should be called always.
2) UEFI application should not register any callback to evevnt such as EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE and EFI_EVENT_GROUP_EXIT_BOOT_SERVICES.
3) UEFI application does not support module merger like Uefi Driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2199 6f19259b-4bc3-4df7-8a09-765794883524

16 years agofix some coding style issues.
qwang12 [Tue, 9 Jan 2007 06:16:39 +0000 (06:16 +0000)]
fix some coding style issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2198 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoMerged back the Yizhong's fix which was overwritten by check-in of r2157,2158.
jwang36 [Tue, 9 Jan 2007 02:41:18 +0000 (02:41 +0000)]
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

16 years agoMinor changes and bug fixes implemented.
ywang [Mon, 8 Jan 2007 22:27:20 +0000 (22:27 +0000)]
Minor changes and bug fixes implemented.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2196 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1) Changed the file including as '#include "Ipf\IpfCpuCore.i"' for Intel compiler...
zliu3 [Mon, 8 Jan 2007 14:13:56 +0000 (14:13 +0000)]
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

16 years agoCorrected some comments for the changed code.
jwang36 [Mon, 8 Jan 2007 10:16:40 +0000 (10:16 +0000)]
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

16 years agoUsed the DAG algorithm given by Mike to re-implemented library constructor sorting...
jwang36 [Mon, 8 Jan 2007 09:41:20 +0000 (09:41 +0000)]
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

16 years agofix some minor warning
klu2 [Mon, 8 Jan 2007 08:56:27 +0000 (08:56 +0000)]
fix some minor warning

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2192 6f19259b-4bc3-4df7-8a09-765794883524