lgao4 [Tue, 8 Mar 2011 06:55:15 +0000 (06:55 +0000)]
Do the following enhancement for SetupBrowser:
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.
ydong10 [Tue, 8 Mar 2011 06:01:23 +0000 (06:01 +0000)]
Bug description:
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.
ydong10 [Mon, 28 Feb 2011 09:31:09 +0000 (09:31 +0000)]
Symptom:
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.
gdong1 [Mon, 28 Feb 2011 07:31:45 +0000 (07:31 +0000)]
Puts SMM variable common definitions in SmmVariableCommon.h.
Fixed a bug that SMM_VARIABLE_COMMUNICATE_VARIABLE_INFO_ENTRY was misused as SMM_VARIABLE_COMMUNICATE_QUERY_VARIABLE_INFO.
ydong10 [Wed, 23 Feb 2011 05:08:04 +0000 (05:08 +0000)]
1.Refine all the goto and action opcode. When the menu link to the sub form, use the goto opcode and show the arrow. Others use the action opcode.
2.update the front page info. move down one line.
ydong10 [Wed, 23 Feb 2011 05:05:47 +0000 (05:05 +0000)]
1.Reposition the platform info. Move from the old position to left one block space and down one block space.
2.Show the arrow on all the form, old logical not include the front page.
ydong10 [Mon, 21 Feb 2011 10:46:14 +0000 (10:46 +0000)]
Update the arrow position.
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.
lgao4 [Wed, 16 Feb 2011 01:25:56 +0000 (01:25 +0000)]
Per PI spec, StatusCode related structure is not required to be defined as packed byte. So, StatusCode related structures are updated from packed to unpacked.
Notes:
1. This patch is an incompatible change for the binary image built based on previous EDKII code. But, it is a compatible change for source.
2. This change will make StatusCode related definition in MdePkg to align the one defined in EcpPkg. Then, EDK driver based on EcpPkg can work together EDKII core.
lgao4 [Wed, 16 Feb 2011 01:18:28 +0000 (01:18 +0000)]
Per PI1.2B spec, for the case that TE Image Relocation Data Directory Entry Virtual Address is non-zero, but the Relocation Data Directory Size is zero, BasePeCoffLib should only handle such case as PIC TE image.
lzeng14 [Tue, 15 Feb 2011 02:02:06 +0000 (02:02 +0000)]
TscTimerLib in PerformancePkg is a BASE type library, which should be used by any module type.
But its constructor uses the global variable mTscFrequency to store frequency, which doesn't work on XIP PEIM.
Split it to two LIBs for PEI and DXE separately.
lgao4 [Sat, 12 Feb 2011 01:29:17 +0000 (01:29 +0000)]
Updates function description per UEFI2.3d. No impact is for functionality. 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.
lgao4 [Sat, 12 Feb 2011 01:26:11 +0000 (01:26 +0000)]
Update function description per UEFI2.3d. The main changes include:
1. If string is a unicode string, its description doesn’t need to specify unicode word again, because by default, string is UCS-2 (Table 6) encoded.
2. EFI_UNSUPPORTED return status is missing for EFI_EAP_PROTOCOL.SetDesiredAuthMethod() function.
3. For LoadImage() service, EFI_ACCESS_DENIED return status is added, and EFI_SECURITY_VIOLATION return status description is updated.
jyao1 [Fri, 11 Feb 2011 06:40:20 +0000 (06:40 +0000)]
UEFI table also need to be in ACPI NVS memory, because some data field
could be updated by OS present agent. For example, BufferPtrAddress in
SMM communication ACPI table.
mdkinney [Thu, 10 Feb 2011 23:27:12 +0000 (23:27 +0000)]
1) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable 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.
mdkinney [Fri, 4 Feb 2011 01:19:59 +0000 (01:19 +0000)]
Clean up BaseSerialPortLib16550 to remove references and checks for Carrier Detect(CD). This is not required for this library implementation. The only signals used for Hardware Flow Control are RTS/CTS.
andrewfish [Tue, 1 Feb 2011 05:01:35 +0000 (05:01 +0000)]
Replace INTERWORK_FUNC, with GCC_ASM_EXPORT() and GCC_ASM_IMPORT() and update the rest of the MdePkg ARM assembler to use the macro. Leave the old INTERWORK_FUNC macro in place until we can make sure all the other packages have been updated and then it can be removed.
niruiyu [Fri, 28 Jan 2011 02:36:26 +0000 (02:36 +0000)]
BDS enhancement: enumerate & show all legacy boot options in Boot Manager so that user is able to boot any devices in the same type in Boot Manager without changing the legacy dev order.
li-elvin [Wed, 26 Jan 2011 07:57:13 +0000 (07:57 +0000)]
If RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the status code handler cannot work in runtime (after exit boot service). It should be allocated in runtime memory.
lgao4 [Mon, 24 Jan 2011 04:58:45 +0000 (04:58 +0000)]
Support proportional Font and Font output flags.
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.
mdkinney [Fri, 21 Jan 2011 18:49:36 +0000 (18:49 +0000)]
Fix bounds check on parameter of type EFI_GCD_IO_TYPE to use EfiGcdIoTypeMaximum instead of EfiGcdMemoryTypeMaximum. Also fix typo in DEBUG() message string for gDS->AllocateIoSpace() calls.
lzeng14 [Thu, 20 Jan 2011 11:18:14 +0000 (11:18 +0000)]
ProcessCumulative() function always calculates the average performance by dividing the count of performance record.
When the count is zero, it will report exception, so it needs to be enhanced to check the dividend.
ydong10 [Thu, 20 Jan 2011 02:51:09 +0000 (02:51 +0000)]
Fixed HiiSetString failed. Tracker NUM:204479
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.