summaryrefslogtreecommitdiff
path: root/EdkModulePkg
AgeCommit message (Collapse)AuthorFilesLines
2007-03-13STATIC should be prefixed for internal functions to pass the stringent ↵qwang122-0/+4
compiler such as Intel ICC for IPF with /WX /W4 options. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2454 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12Add a lock to protect the critical region in Service APIs for ↵qwang121-30/+82
gEfiSimpleTextOutProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level. In UEFI 2.1 spec, it is state that the service API for this Protocol is callable at EFI_TPL_NOTIFY level. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2447 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12Resolve the build break caused by changes to DxeCore.qwang121-7/+63
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2445 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12Add a lock to protect the critical region in Service APIs for UEFI Runtime ↵qwang1212-125/+275
Variable Service to prevent re-entrance of the variable service API from from different allowable TPL level. In UEFI 2.x and EFI 1.10 spec, EFI_TPL_CALLBACK is the allowable TPL level for Variable services. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2444 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12Add a lock to protect the critical region in Service APIs for ↵qwang123-36/+103
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-12Add a lock to protect the critical region in UEFI Boot Service API: Exit() ↵qwang121-7/+25
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-09Perfect the msa of the following console, datahub and DebugPort modules.lgao46-37/+65
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2435 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09The latest IPF boot failure is found and is not caused by this fixing, so ↵klu25-1066/+206
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-091) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.qwang122-38/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2433 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-081. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI specqhuang85-14/+8
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-07Fix the issue of Linux cannot boot and reset on IPF.xli245-201/+1061
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2423 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-06Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override ↵klu21-17/+10
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-05Assign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA ↵klu21-1/+5
mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2418 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05Removed EFI_SIZE_REDUCTION_APPLIED and SIZE_REDUCTION_ISA_COMBINED because ↵vanjeff2-26/+13
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-05Rollback wrong commit in r2414klu21-0/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2415 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05Fix case-sensitive build issue for filename in Linuxklu24-9/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2414 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05Add blank line at end of file to pass GCC build.klu21-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2413 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-02In IdeBus driver block I/O read/write interface, it will always try to use ↵klu24-1061/+197
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-021.replace macros EFI32 with MDE_CPU_IA32vanjeff3-7/+7
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-02-281. Fix an issue about the calculation of GlyphBufferSizeqhuang84-92/+122
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-28Add range checking of partition for MBR.xli241-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2409 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-281) add && MDE_CPU_EBC guard for MSC specific pragma in Decode.c as EBC C ↵qwang121-2/+12
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-27Remove the unused library instance EdkNullCustomizedDecompressLib.lgao44-248/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2406 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27Remove the unused library instance EdkNullCustomizedDecompressLib.lgao41-1/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2405 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-271) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.cqwang122-2/+4
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-26Clean up MSA file of the checked in modules which include:qwang1222-154/+376
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-25Add the definition of IsaIoProtocol.qhuang81-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2399 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-15clean up msa files in EdkModulePkg, removed unnecessary library definitions ↵vanjeff10-398/+182
and PCDs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2398 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-15Remove the unreferenced local variable.qwang121-1/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2397 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14Make DxeIpl loop find the required section type in peiprocessfile functions. lgao41-66/+51
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2395 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14Temporarily disable /WX for HelloWorld module, for there is a bug in tool, ↵xli241-0/+5
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-14Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.qwang123-28/+1218
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2392 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14Clean up Lib MSAs for EdkModulePkgqhuang813-109/+53
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-12Updated for added packagetgingold1-0/+11
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2370 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12Logo addedtgingold2-0/+34
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2369 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12EdkGenericPlatformBdsLib addedtgingold40-0/+15657
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2368 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12EdkGenericBdsLib addedtgingold10-0/+5016
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2367 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, ↵xli242-5/+8
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-12Fix an issue in page allocation.xli241-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2364 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11fix a typo in a commenttgingold1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2362 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11fix a typo in a commenttgingold1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2361 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11fix a typo in a commenttgingold1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2360 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08Fix the runtime memory map change issue jchen201-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2358 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08Fix the runtime memory map change issue jchen201-18/+81
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2357 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-051.Drop the support of UEFI_APPLICATION for UefiDriverLibqhuang86-29/+49
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-021. removed BaseTimerLibLocalApic from MdePkg and Nt32TimerLib from EdkNt32Pkg.vanjeff1-64/+21
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-02Make EDK Module Package pass Intel IPF compiler with /Ox switch.xli246-137/+144
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 EFI_CONSOLE_CONTROL_PROTOCOL provide the SetMode interface to switch mode ↵klu21-0/+7
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-01Add PeiCore function declaration in PeiMain.h file.lgao41-1/+33
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2344 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01There is a bug in original ↵klu21-12/+10
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