Commit Graph

517 Commits

Author SHA1 Message Date
qwang12 c094abe585 Add a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2443 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 07:47:33 +00:00
qwang12 d126eaecb0 Add a lock to protect the critical region in UEFI Boot Service API: Exit() and UnloadImage from re-entrance from different TPL level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2437 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 06:26:10 +00:00
lgao4 6c18e19ad5 Perfect the msa of the following console, datahub and DebugPort modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2435 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 12:35:51 +00:00
klu2 27061085e5 The latest IPF boot failure is found and is not caused by this fixing, so check-in the fixing again.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2434 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 09:04:53 +00:00
qwang12 17fb73c8e1 1) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2433 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 07:25:58 +00:00
qhuang8 df557cca2f 1. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI spec
2. Make performance data for End of BDS is not recorded in Boot Manager Boot


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2431 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-08 07:04:05 +00:00
xli24 64b41a0710 Fix the issue of Linux cannot boot and reset on IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2423 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-07 09:34:54 +00:00
klu2 ee295f87c3 Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the current function's return status.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2421 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-06 05:27:05 +00:00
klu2 635a3f5c79 Assign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2418 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 06:42:29 +00:00
vanjeff 8ba8cb28e8 Removed EFI_SIZE_REDUCTION_APPLIED and SIZE_REDUCTION_ISA_COMBINED because one PCD PcdComponentNameDisable has been introduced.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2416 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 03:41:22 +00:00
klu2 9ae2215905 Rollback wrong commit in r2414
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2415 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 02:08:42 +00:00
klu2 8b886edc83 Fix case-sensitive build issue for filename in Linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2414 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 02:05:22 +00:00
klu2 2008636e60 Add blank line at end of file to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2413 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 01:50:40 +00:00
klu2 bc4e770c78 In IdeBus driver block I/O read/write interface, it will always try to use UDMA mode first, if fails, then try to use PIO mode.
This may cause side effects if disk does not support UDMA mode and also let bad performance. 
The modification is to record supported mode and only try supported mode when do disk read/write. 
Also this patch combines the code for read/readex/write/writex to reduce code size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2412 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-02 08:21:43 +00:00
vanjeff 59e9a3659f 1.replace macros EFI32 with MDE_CPU_IA32
2.replace macros EFIX64 with MDE_CPU_X64
3.replace macros EFI64 with MDE_CPU_IPF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2411 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-02 05:38:05 +00:00
qhuang8 fad1794ce8 1. Fix an issue about the calculation of GlyphBufferSize
2. Fix a bug in handling the overlapped case by reverse-copying the destine region & source region
3. Fix an issue that the leading spaces could not be displayed in highlight mode  


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2410 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 07:41:28 +00:00
xli24 2c33bcb4f2 Add range checking of partition for MBR.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2409 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 06:22:43 +00:00
qwang12 5d09d1b775 1) add && MDE_CPU_EBC guard for MSC specific pragma in Decode.c as EBC C compiler does not recongnize the pragma.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2408 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 03:48:13 +00:00
lgao4 9c3894aec7 Remove the unused library instance EdkNullCustomizedDecompressLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2406 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 09:25:30 +00:00
lgao4 a138bf5b73 Remove the unused library instance EdkNullCustomizedDecompressLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2405 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 09:25:08 +00:00
qwang12 3bd0d8f8a9 1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
2) remove a dangling pragma in E100b.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2402 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 03:30:12 +00:00
qwang12 bc2693a840 Clean up MSA file of the checked in modules which include:
1) remove unused library class
2) remove unreferenced GUIDs


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2401 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-26 07:00:31 +00:00
qhuang8 7985fd70a5 Add the definition of IsaIoProtocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2399 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-25 09:44:14 +00:00
vanjeff a298afce8a clean up msa files in EdkModulePkg, removed unnecessary library definitions and PCDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2398 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-15 08:14:57 +00:00
qwang12 4f5ad8eac3 Remove the unreferenced local variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2397 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-15 03:32:38 +00:00
lgao4 d6992908a6 Make DxeIpl loop find the required section type in peiprocessfile functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2395 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 08:30:53 +00:00
xli24 97297c21fa Temporarily disable /WX for HelloWorld module, for there is a bug in tool, which causes inconsistency between UefiApplicationLib and AutoGen.c leading to warning of ICC compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2393 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 07:19:58 +00:00
qwang12 22d9199fe5 Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2392 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 06:35:30 +00:00
qhuang8 84d87a73e9 Clean up Lib MSAs for EdkModulePkg
1. Remove unnecessary library class
2. Remove unreferenced GUID

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2390 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 01:46:10 +00:00
tgingold df057890d0 Updated for added package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2370 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:41:26 +00:00
tgingold d3d20da145 Logo added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2369 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:41:05 +00:00
tgingold 52657feb15 EdkGenericPlatformBdsLib added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2368 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:40:29 +00:00
tgingold 8033e93148 EdkGenericBdsLib added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2367 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:39:38 +00:00
xli24 15f83a8852 Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some latest modifications break it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2366 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 08:12:05 +00:00
xli24 7b7f863bfa Fix an issue in page allocation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2364 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 03:52:20 +00:00
tgingold 2f714ebf9a fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2362 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:37:26 +00:00
tgingold 84e73ac219 fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2361 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:37:03 +00:00
tgingold 0b293ccb7e fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2360 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:36:05 +00:00
jchen20 420c3edfc6 Fix the runtime memory map change issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2358 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08 05:47:52 +00:00
jchen20 78bd039b86 Fix the runtime memory map change issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2357 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08 05:47:18 +00:00
qhuang8 c77f986979 1.Drop the support of UEFI_APPLICATION for UefiDriverLib
2.Change the module type of BaseUefiDecompressLib to BASE
3.Remove the IoLib dependency for PeiReportStatusCodeLib & DxeReportStatusCodeLib
4.Change the module type of UefiApplicationEntryPointLib to UEFI_APPLICATION
5.Change the module type of EdkDxeRuntimeSalLib to DXE_RUNTIMe
6.Change HelloWorld application to depend on UefiApplicationEntryPointLib and modify the EdkModule.fpd, Nt32.fpd & Unix.fpd accordingly 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2352 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 05:54:16 +00:00
vanjeff 4faa50287e 1. removed BaseTimerLibLocalApic from MdePkg and Nt32TimerLib from EdkNt32Pkg.
2. added BaseTimerlibNullTemplate in MdePkg and SecPeiDxeTimerLibCpu in MdePkg. 
3. modified the related spd and fpd files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2347 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 05:36:42 +00:00
xli24 3401c092e4 Make EDK Module Package pass Intel IPF compiler with /Ox switch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 02:50:13 +00:00
klu2 db6efc11d3 EFI_CONSOLE_CONTROL_PROTOCOL provide the SetMode interface to switch mode between EfiConsoleControlScreenText and EfiConsoleControlScreenGraphics. And implementation of this interface is in EdkModlePkg\Universal\Console\ConSplitter\Dxe\ConSplitterGraphices.c ConSpliterConsoleControlSetMode().
In this function, it is better to judge current mode with wanted mode at first, if current mode is equal to wanted mode, then return and do nothing. Why need add judging:
	1) Missing judge will lead an issue that screen splash when pressing key in front page. It is caused by ui.c will switch to textmode when first in, but current mode has been in text mode.
	2) If switching to text mode, there are many works want to be done such as EnableCursor, ClearScreen. If original has been in text mode, judging will improve the performance of UI.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2345 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 08:42:59 +00:00
lgao4 ca43e86ee7 Add PeiCore function declaration in PeiMain.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2344 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 03:56:34 +00:00
klu2 9cb053eff7 There is a bug in original EdkModulePkg\Library\EdkUefiRuntimeLib\Common\RuntimeLib.c. Originally, if a driver did not produce a <SetVirtualAddressMapCallBack>'s function, EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE notify event will not be created in RuntimeDriverLibConstruct(), This is a bug, because at least, mRT pointer need to be converted for runtime service.
This bug will lead runtime interface GetMonoCount() failure because EdkModulePkg\Universal\MonotonicCounter\RuntimeDxe driver does not produce any <SetVirtualAddressMapCallBack>'s function.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2343 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 03:05:49 +00:00
xgu3 a8b194b97c 1. PEI core needs to check image machine type
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail.
3. Pci22.h, we need to add more definition in that 
4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC
5. PciEnumeratorSupport Null Pointer Error


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 07:18:41 +00:00
qhuang8 03a053669f 1. Remove the dead code of DxeSalVirtualNotifyEvent() in DxeSalLib so that the dependency of UefiRuntimeLib can be removed.
2. Remove the support of DXE_DRIVER in EdkUefiRuntimeLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2339 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 06:54:47 +00:00
xli24 92dda53e9f Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning #1419.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 04:57:46 +00:00
qhuang8 a5dcd7cb93 Add supported module type filter for most libraries in EdkModulePkg to filter out illegal library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2334 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30 09:10:28 +00:00
xli24 963cbacb5f Further check-in to smooth Intel IPF compiler building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2332 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29 06:09:43 +00:00
qhuang8 c111036f20 Fix the build break by removing an unreferenced static function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2330 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29 02:15:56 +00:00
xgu3 c7916981cc To fix,
cd ...... works unnormally in shell
USB CBI1 driver has no component name protocol 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2328 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 08:35:57 +00:00
xli24 617de480bc Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except waning 1419.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:54:08 +00:00
qhuang8 4d1fe68e1c 1. Add NULL QH to set as QH header;
2. Do ping for high speed OUT pipe;
3. Bug fix for QTD size detection;
4. Bug fix for short package detection;
5. Bug fix get next QTD in ExcutionTransfer;
6. BOT module modify to follow spec;
7. Massstorage error hanling enhancement 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2321 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 04:08:57 +00:00
xli24 cc08c54944 Remove private data structure in PEI core entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2318 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 01:49:18 +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
xli24 fb5a3ed8c7 Remove some unused internal functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2315 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 07:30:10 +00:00
qwang12 35465f63dd ALWAYS_COSUMED changed to ALWAYS_PRODUCED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2314 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 07:21:34 +00:00
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
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
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
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
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
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
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
bbahnsen fae0da0d2c Fix several capitalization issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2255 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 19:59:43 +00:00
xgu3 2bbf72b0ab 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
2007-01-16 02:57:57 +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
xgu3 591ee27e84 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
2007-01-15 06:24:49 +00:00
tgingold b28d0bd1d2 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
2007-01-12 23:19:14 +00:00
tgingold 1e5fcd5f00 Use / as path separator
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2243 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 23:18:19 +00:00
xgu3 e313deb992 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
2007-01-12 10:27:54 +00:00
zliu3 fb610f2ac1 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
2007-01-12 09:07:18 +00:00
klu2 9a037c5d09 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
2007-01-12 06:20:33 +00:00
klu2 3727980651 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
2007-01-12 05:47:58 +00:00
klu2 74c56167df 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
2007-01-12 05:17:27 +00:00
yshang1 69a99cc635 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2231 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-12 04:02:02 +00:00
zliu3 6c31fdb887 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
2007-01-12 03:42:01 +00:00
qhuang8 57257e165f 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
2007-01-12 03:09:40 +00:00
yshang1 70b6db908a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2226 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-12 02:44:07 +00:00
yshang1 35d4cd92bd 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
2007-01-12 02:41:42 +00:00
xli24 957407060b 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
2007-01-11 08:56:38 +00:00
xli24 41a907e423 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
2007-01-11 08:03:27 +00:00
klu2 38a7027076 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
2007-01-11 07:06:00 +00:00
xli24 715a44f11b 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
2007-01-10 09:07:51 +00:00
qwang12 fe64f4ffd6 fix some coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2198 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 06:16:39 +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
lgao4 19231e0eca correct SimpleTextIn protocol definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2188 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 02:19:02 +00:00
tgingold 0dce6dc1b7 Use ASM_PFX to optionnaly set the underscore prefix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2180 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06 14:53:34 +00:00
klu2 f53a07320e Volatile variable is read-only in runtime.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2170 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 09:21:03 +00:00
bbahnsen 67fca228ca Add a stub assembly file to fix the gcc build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2161 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03 21:40:50 +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
xli24 ea78388e1a For USB mass storage, READ_FORMAT_CAPACITIES command returns wrong value for USB2.0 device.
In order to fix this issue, we change the retry policy. Try old command before new command.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2155 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30 03:21:44 +00:00
qhuang8 68b49a7c9a Add Guid HOB type for these three library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2153 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29 09:03:57 +00:00
qhuang8 8c395f7b13 Introduce a new Guid with CName gEfiGenericPlatformVariableGuid to pair with those Unicode String names, which are forbidden to pair with gEfiGlobalVariableGuid according to newest Uefi Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2144 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 05:16:05 +00:00
lgao4 af9e69ff19 Add debug info when allocate pages failed in PeiMain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2141 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 10:43:20 +00:00
lgao4 e75ac0cce3 Add debug info when decompress failed in DxeIpl and allocate pages failed in PeiMain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2140 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 10:00:18 +00:00
jwang36 1d67f00e73 Fixed the issue in which local variable "Status" is used but not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2132 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 09:56:35 +00:00