summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
AgeCommit message (Collapse)Author
2007-03-12Add a lock to protect the critical region in Service APIs for ↵qwang12
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-12Add a lock to protect the critical region in Service APIs for UEFI Runtime ↵qwang12
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-09Perfect the msa of the following console, datahub and DebugPort modules.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2435 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-06Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override ↵klu2
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-02-281. Fix an issue about the calculation of GlyphBufferSizeqhuang8
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.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2409 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-15clean up msa files in EdkModulePkg, removed unnecessary library definitions ↵vanjeff
and PCDs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2398 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02Make EDK Module Package pass Intel IPF compiler with /Ox switch.xli24
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 ↵klu2
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-01-31Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving ↵xli24
warning #1419. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29Further check-in to smooth Intel IPF compiler building.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2332 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except ↵xli24
waning 1419. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25Remove some unused internal functions.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2315 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25ALWAYS_COSUMED changed to ALWAYS_PRODUCEDqwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2314 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23Fixed bug in partition driver:yshang1
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-23Corrected a small bugs:qwang12
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-19Fix component name bugs when input Controller Name is invalidqhuang8
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-18Updated the copyright year.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2265 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18Add Lock for cirtical section in PCD database processing routines as PCD ↵qwang12
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-16Fix several capitalization issues.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2255 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16Fix the issues,xgu3
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-12To fix,xgu3
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-12git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2231 ↵yshang1
6f19259b-4bc3-4df7-8a09-765794883524
2007-01-121.Fix a typo in DevicePath Driverqhuang8
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-12git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2226 ↵yshang1
6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12Fix EDKT497. In the patch:yshang1
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-11Add checking for memory allocation in UI modules.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2219 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08correct SimpleTextIn protocol definition.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2188 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06Use ASM_PFX to optionnaly set the underscore prefixtgingold
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2180 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04Volatile variable is read-only in runtime.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2170 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-03Add a stub assembly file to fix the gcc build break.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2161 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-18Only include SAL related definitions if the CPU Arch is IPF mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2109 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-15Fix iMac build issue.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2102 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14Merge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis ↵lgao4
0.91. Update DxeCore and Runtime driver to follow new definitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2101 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14Add blank line at end of source code for GCC building.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2098 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14Add blank line at end of source code for GCC building.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2097 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13Fix the bug that GraphicsConsole try to update mode 1 (80, 50) UgaWidth and ↵xgu3
UgaHeight, but Columns and Rows are not initialized. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2092 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-131) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with ↵qwang12
PcdLib.c. 2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12Fix linux/cygwin build issue.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2088 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12Fix some minor error. Add EFI_IMAGE_NT_HEADERS definition for IFP and EBC arch. wuyizhong
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2087 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12Merge GOP related code from r8->r9. wuyizhong
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2085 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07Add X64 support for DebugSupport driver.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2067 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Merge R8 tracker #8375.xli24
Make GetVariable() check Data parameter, and return EFI_INVALID_PARAMETER if it is NULL and DataSize is enough, according to UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2061 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06For the file "EdkModulePkg\Universal\EmuVariable\RuntimeDxe\EmuVariable.c", ↵zliu3
Revision 2059 missed the fixing of Revision 2058, so commit the fixing of revision 2058 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2060 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Fixed one bug in EmuVariable module: The macro (GET_PAD_SIZE) is different ↵zliu3
with GetPadSize(), so in some special case the variable can not be read rightly after it was set. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2059 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Merge R8 tracker #8374 to make EmuVariable.GetNextVariableName() comply with ↵xli24
UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2058 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Add DxeDebugLibSerialPort that provides a debug library that layers directly ↵mdkinney
on top of a serial port Add an EdkDxeRuntimeSalLib that provide a SalLib that is safe for runtime use. The EdkDxeSalLib is now a boot service only lib. Move the registration and processing of ExitBootServicesEvents() from the RuntimeLib to the UEFI DriverEntryPointLib in the MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2057 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Merge PVCS #7739.qhuang8
Drop Ebc arch support for PxeBc module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2055 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-01Update the EmuVariable and Variable modules to have a ModuleType of ↵mdkinney
DXE_SAL_DRIVER for IPF builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2045 6f19259b-4bc3-4df7-8a09-765794883524