[edk2] [PATCH] IntelFrameworkModulePkg: Fixed unbalanced TPL raise/restore.

2014-12-23 Thread Mars Lin
File affected: IntelFrameworkModulePkg\Csm\BiosThunk\KeyboardDxe\BiosKeyboard.c Please review the patch which address the potential system TPL does not been restore. This patch make sure the TPL been raised and restored in pair. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-

[edk2] 回覆: Memory usage does not get updated when free the allocated one

2014-07-15 Thread Mars Lin
ing available memory band at the end of each memory bin. Thanks, - Mars 寄件者: Kinney, Michael D [mailto:michael.d.kin...@intel.com] 寄件日期: 2014年7月15日 上午 05:41 收件者: edk2-devel@lists.sourceforge.net 主旨: Re: [edk2] Memory usage does not get updated when free the allocated one Mars Lin, The purpose of

[edk2] Memory usage does not get updated when free the allocated one

2014-07-14 Thread Mars Lin
Dear MdeModulePkg maintainer, Please review attached patch file which try to correct the MemoryTypeInfo does not get updated within CoreConvertPages(). Steps to reproduce: 0. EfiLibGetSystemConfigurationTable (&gEfiMemoryTypeInformationGuid, &CurrentMemoryTypeInformation1) 1. AllocatePool (EfiBo

[edk2] SMM Communication been blocked after LegacyBoot event triggered.

2014-04-27 Thread Mars Lin
Dear all, For current PiSmmCore and PiSmmIpl design, mInLegacyBoot will be set once the LegacyBoot event been triggered. // // Flag to determine if the platform has performed a legacy boot. // If this flag is TRUE, then the runtime code and runtime data associated with the // SMM IPL are converte

[edk2] 回覆: JPEG image block parsing error in HiiDataBase.

2014-03-12 Thread Mars Lin
, including the image block header”. And the Size field of JPEG block says it is “the size of the JPEG encoded data”. Thanks, -Mars 寄件者: Dong, Eric [mailto:eric.d...@intel.com] 寄件日期: 2014年3月12日 下午 02:35 收件者: Mars Lin 副本: edk2-devel@lists.sourceforge.net 主旨: RE: JPEG image block parsing error in

[edk2] 回覆: JPEG image block parsing error in HiiDataBase.

2014-03-11 Thread Mars Lin
Hi Feng, Any update for this proposed change to MdeModulePkg? Thanks, -Mars 寄件者: Mars Lin [mailto:mars_...@phoenix.com] 寄件日期: 2014年2月19日 下午 02:27 收件者: edk2-devel@lists.sourceforge.net 主旨: [edk2] JPEG image block parsing error in HiiDataBase. Dear MdeModulePkg maintainers, Please consider

[edk2] JPEG image block parsing error in HiiDataBase.

2014-02-18 Thread Mars Lin
Dear MdeModulePkg maintainers, Please consider attached patch file for fixing wrong JPEG image block traverse error. Summary A true-color bitmap is encoded with JPEG image compression. Prototype #define EFI_HII_IIBT_IMAGE_JPEG 0x18 typedef struct _EFI_HII_IIBT_JPEG_BLOCK { EFI_HII_IMAGE_BLOCK He

Re: [edk2] Callback mode and Dispatch mode of EFI_PEI_NOTIFY_DESCRIPTOR.

2013-11-07 Thread Mars Lin
Back mode. The range between DispatchListEnd and EndOfPpiListPtrs are for NotifyPpi with Dispatch mode. Thanks Liming From: Mars Lin [mailto:mars_...@phoenix.com] Sent: Wednesday, November 06, 2013 5:46 PM To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net> Subject:

[edk2] Callback mode and Dispatch mode of EFI_PEI_NOTIFY_DESCRIPTOR.

2013-11-06 Thread Mars Lin
Hi MdeModulePkg.PeiMain maintainer/developers: I cannot see current Ppi.c->DispatchNotify() uses the passed in parameter NotifyType for differentiating level of notifications to fire. Is this one under construction? Or, I missed something in somewhere with this implemented? PI 1.3 vol1, page110

Re: [edk2] [PATCH] EfiCreateEventReadyToBootEx and EfiCreateEventLegacyBootEx

2013-09-04 Thread Mars Lin
EfiCreateEventLegacyBootEx Mars: The patch is good. Reviewed-by: Liming Gao mailto:liming@intel.com>> Besides, have you verified this patch in GCC tool chain? If yes, I will help you commit it. Thanks Liming From: Mars Lin [mailto:mars_...@phoenix.com] Sent: Thursday, September 05

[edk2] [PATCH] EfiCreateEventReadyToBootEx and EfiCreateEventLegacyBootEx

2013-09-04 Thread Mars Lin
APIs provided from library can create event as expected when the caller does not feed in a NotifyFunction. Also, typo is corrected. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Mars Lin mailto:mars_...@phoenix.com>> Thanks, -Mars UefiNotTiano.c.patch Descr

[edk2] TableSize parameter of SmmInstallConfigurationTable().

2013-08-29 Thread Mars Lin
PI specification vol.4 gives the prototype of SmmInstallConfigurationTable as: Prototype typedef EFI_STATUS (EFIAPI *EFI_SMM_INSTALL_CONFIGURATION_TABLE2) ( IN CONST EFI_SMM_SYSTEM_TABLE2 *SystemTable, IN CONST EFI_GUID *Guid, IN VOID *Table, IN UINTN TableSize ) Is there anyone know why the TableS

Re: [edk2] query regarding supporting a legacy device via uefi driver

2013-07-02 Thread Mars Lin
There are sample implements under edk2\IntelFrameworkModulePkg\Csm\BiosThunk you can refer to that use legacy int calls for providing UEFI standard protocol interfaces. -Mars From: ritul guru (riguru) [mailto:rig...@cisco.com] Sent: Tuesday, July 02, 2013 7:18 PM To: edk2-devel@lists.sourceforge

Re: [edk2] Question about memory and I/O space address ranges...

2012-11-01 Thread Mars Lin
gBS->GetMemoryMap() can be used to get current memory map. Check UEFI 2.3.1C Section 6.2 for more tails on how you filter out the memory information you interested. -Mars From: Bhavana Brar [mailto:bhavana.b...@ni.com] Sent: Friday, November 02, 2012 4:19 AM To: edk2-devel@lists.sourceforge.net

[edk2] Mtftp6->Configure() might cause dangling Udp6Io.

2012-09-27 Thread Mars Lin
Hi Edk2 network developers, Would like to bring up a potential issue here for current Mtftp6 implement when its comsumer, PxeBc for example, use configure() for different operations. In case of Mtftp6->Configure (Mtftp6, Config) and Mtftp6->Configure (Mtftp6, NULL) been used in pair for specific

Re: [edk2] VLanConfigDxe driver cannot add multiple HII package list into HII database.

2012-09-24 Thread Mars Lin
Ting/Eric/Tim, I think I do not use the latest HiiDataBase which supports install multiple package list with same package list GUID onto different handles. Sorry for my carelessness. Will double check with the latest implement. Thanks, -Mars From: Ye, Ting [mailto:ting...@intel.com] Sent: Tuesday

[edk2] VLanConfigDxe driver cannot add multiple HII package list into HII database.

2012-09-24 Thread Mars Lin
( &gVlanConfigFormSetGuid, // this will become duplicated if multiple clients use it. DriverHandle, VlanConfigDxeStrings, VlanConfigBin, NULL ); Mars Lin 7F, Asia Plaza Building C. No. 88, Rei Hu Street, Neihu District. Taipei 1