summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)AuthorFilesLines
2011-03-14if it's in recovery mode, variable region is unreliable, so the ↵erictian3-8/+177
ReadOnlyVariable2Ppi should return EFI_NOT_FOUND git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11387 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14Fix a bug in SmmPerformanceLib that there is no return value in normal cases ↵rsun31-0/+1
for GetPerformanceMeasurement(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11386 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.vanjeff1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney1-0/+1
adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add new DebugPrintErrorLevelLib instances to DSC files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11382 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11Update some progress codes name per the PI Spec, 1.2 Errata B. vanjeff2-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11381 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney5-7/+479
adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add DebugMask.h that defines the GUID and Protocol used by the "err" EFI Shell command to get/set the global mask and get/set the module scoped masks 2) Add DxeDebugPrintErrorLevelLib that provide an implementation of the DebugPrintErrorLevbel library classes that uses the GUID and Protocol defined in DebugMask.h to "err" EFI Shell compatibility. 3) Add default mapping for the DebugPrintErrirLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11366 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Add performance library instances for SMM performance measurement.rsun310-2/+1729
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11363 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10fix null DevicePath issue.erictian1-0/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11360 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-101. The old refresh string code also update the time/date opcode. But for the ↵ydong101-8/+16
reason that time/date opcode updates the string with the same size, so skip the refresh code for it. 2. Also, the clean old string action used save attribute with paint string action which makes the background show abnormal. Now using the normal attribute to clean the old string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11359 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08Update HiiCompareLanguage to support case that language in String package is ↵lgao42-5/+21
"en" and the input language is "en-US". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11356 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08Do the following enhancement for SetupBrowser:lgao44-158/+224
1. Support Scroll up and down. When hit the top, the last page will be showed. When hit the bottom, the first page will be showed. 2. Show forms page by page based on the option (including unselected and selected). 3. Add PCD to configure whether TEXT statement is set to Grayout option. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11355 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08Bug description:ydong101-1/+7
When the menu is refresh type, and the old string is longer than new string, after refresh, some old string will still show. The mainly change is: 1. This change cleans the old string first and then paints the new string. 2. Fixed old code checks grayout flag not correct. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11354 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08fix a invalid pointer conversion when builing 32bit image.erictian2-16/+22
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11352 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08Add missing .h file to INF filegdong11-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11351 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-04when timeout is 0, infinite loop on the timeout request to follow UEFI specerictian2-10/+32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11343 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-28Symptom:ydong101-0/+1
The "Configuration Changed. Reset to apply it now?" screen does not show up after restoring setup values to default using the F9 hot-key. RootCause: gResetRequired flag was not set after default value restored Solution: Set gResetRequired flag to TRUE after default setup values are restored. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11340 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-28Puts SMM variable common definitions in SmmVariableCommon.h.gdong18-154/+139
Fixed a bug that SMM_VARIABLE_COMMUNICATE_VARIABLE_INFO_ENTRY was misused as SMM_VARIABLE_COMMUNICATE_QUERY_VARIABLE_INFO. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11339 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23The input StringInfo should be kept for HiiStringIdToImage() function. lgao41-1/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11336 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-231.Reposition the platform info. Move from the old position to left one block ↵ydong103-3/+3
space and down one block space. 2.Show the arrow on all the form, old logical not include the front page. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11334 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23HiiCompareLanguage should use the exact match method, old code use the best ↵ydong101-4/+3
match method. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11333 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23Update PeiCore and DxeCore to verify FFS data checksum.lgao42-5/+21
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11332 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22fix refresh menu save attribute error. not consider the grayout attribute.ydong101-3/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11329 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-21Update the arrow position.ydong102-3/+5
Use the parameter” LEFT_SKIPPED_COLUMNS” to adjust the position from the beginning of the line to the beginning of the menu string. The arrow position and the beginning of the menu string are fixed in one block space. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11327 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16Update HiiCompareLanguage() function to use GetBestLanguage() API to do ↵lgao41-17/+1
RFC4646 language compare. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11319 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16update comments and correct reclaim algorithm if there is no record existing ↵erictian2-5/+5
in FTW working block. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11318 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12correct Intel's copyright date as the changes checked-in at r11273 & r11272 ↵erictian2-2/+2
are contributed by third party. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11311 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12Correct comments in DevicePathDxe.inf.lgao41-2/+2
gEfiDevicePathUtilitiesProtocolGuid should be produced by this module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11310 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12Add four PCDs for the different color settings of Subtitle and Text Filed on ↵lgao46-29/+103
Browser. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11309 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12Update DEBUG log information to specify SMM driver to be loaded in SmmCorelgao41-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11308 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12Correct typo in word in DxeCore.lgao44-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11307 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12Updates function description per UEFI2.3d. No impact is for functionality. ↵lgao44-6/+54
The main changes include: 1. For LoadImage() service, EFI_ACCESS_DENIED return status is added, and EFI_SECURITY_VIOLATION return status description is updated. Meanwhile, EFI_PE32_IMAGE_PROTOCOL. LoadPeImage() in MdeModulePkg is also updated to match LoadImage() service. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11306 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-11UEFI table also need to be in ACPI NVS memory, because some data fieldjyao11-3/+8
could be updated by OS present agent. For example, BufferPtrAddress in SMM communication ACPI table. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11303 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-101) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable ↵mdkinney3-6/+38
detection if hardware flow control is enabled. The default is to not perform cable detection. 2) Update BaseSerialPortLib16550 to use this new PCD. This addresses an issue that was introduced on Feb 3, 2011 when all references to Carrier Detect(CD) were removed from the BaseSerialPortLib16550. When that change was made, a target would block on the first Tx operation if hardware flow control was enabled and no cable or serial application was running on a host. Now the behavior when no cable is connected or no serial app is running on the host is controlled through a PCD. The default is for the target to continue execution even if there is no cable or serial app running. If PcdSerialDetectCable is set to TRUE, then the target will block on any transmit that does not have a cable connected or a serial app running in the host. If hardware flow control is disabled, then this update will have no impact on behavior. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11301 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-04Clean up BaseSerialPortLib16550 to remove references and checks for Carrier ↵mdkinney1-7/+6
Detect(CD). This is not required for this library implementation. The only signals used for Hardware Flow Control are RTS/CTS. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11300 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26If RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the ↵li-elvin1-2/+2
status code handler cannot work in runtime (after exit boot service). It should be allocated in runtime memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11274 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26fix word typoerictian2-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11273 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26fix arm gcc build errorerictian1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11272 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-24 Support proportional Font and Font output flags. lgao42-182/+351
1. Abstract the maximum baseline and character height in Proportional Font package as its baseline and line height, and use fixed height as base line and line height for simple font packages. 2. Update logic to handle string without EFI_HII_OUT_FLAG_CLIP_CLEAN_Y flag when string height exceeds the line height, and handle the string without EFI_HII_OUT_FLAG_CLIP_CLEAN_X flag when string wide exceeds the screen wide. 3. Calculate Origin point by adding BaseLine on Starting position, and calculate the left-top corner of character by Origin point and CELL information. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11270 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-21Fix bounds check on parameter of type EFI_GCD_IO_TYPE to use ↵mdkinney1-1/+1
EfiGcdIoTypeMaximum instead of EfiGcdMemoryTypeMaximum. Also fix typo in DEBUG() message string for gDS->AllocateIoSpace() calls. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11268 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-21MdeModulePkg HiiDatabaseDxe: Fix build error on GCC 4.4jljusten1-4/+4
Remove extra left side (lvalue) type casting that generated warnings with GCC 4.4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11267 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-21Enhance code to avoid build error.ydong101-6/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11261 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-20Fixed HiiSetString failed. Tracker NUM:204479ydong103-18/+198
Reason: When call function HiiSetString to update the string which has no old string exist for one language, it will failed. Solution: When no old string exist, update with new string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11257 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-17Enhance the code to avoid the potential of return address of local variable ↵tye12-20/+30
to output structure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11255 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-17Update the GUID value to be consist with the one in DEC file.gdong11-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11254 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-16Fixed 3 ECC errors.gdong11-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11253 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-13Fix potential memory access violationydong101-4/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11248 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-12Add SMM FTW wrapper driver since non-SMM FTW protocol can be used by some ↵gdong15-10/+1129
consumers (Such as capsule update) when SMM FTW driver is applied. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11246 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-12Fix an K9 issue in variable driver.gdong11-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11245 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-11Clean up GCD DEBUG() macros so DEBUG_CODE() is only used to enable/disable ↵mdkinney1-109/+81
the DBG MMIO and GCD I/O map dumps git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11243 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-061. fix AtaPassThru.PassThru() sct failureerictian3-34/+91
2. avoid reenumerate existing device to reduce boot time at AtaBus. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11232 6f19259b-4bc3-4df7-8a09-765794883524