Re: [edk2] HII VFR string - Validate IPv4 addresses

2014-12-14 Thread Dong, Eric
Hi Maor, In vfr.vfr file (MdeModulePkg/Universal/DriverSampleDxe), it has a similar sample code like below, I think you can use below code to meet your request. // // Define a string (EFI_IFR_STRING) // stringvarid= MyIfrNVData.MyStringData, prompt = STRING

Re: [edk2] UEFI ESP filesystem on Flash (Nor, Nand)

2014-12-14 Thread Tian, Feng
Joey, I have no such practice, but IMHO I suppose we could. You can split them to three layers, one is UBIFS which is only related with file system format, UBI layer which is used to do bad block management and wear leveling and Parition layer which is used to identify which partition is used.

Re: [edk2] [PATCH] MdeModulePkg DebugSupportDxe: Fix build error with GNU assembler

2014-12-14 Thread Tian, Feng
Hi, John Thanks for raising this issue again. Here is the original patch proposed by Jordan, - movw%es, %rax + mov %es, %rax Here is the explanation in IA32 manual. 1) IF Instruction is MOVW, THEN OperandSize is 16; 2) MOV r/m64,SregMove zero extended 16-bit segment

Re: [edk2] Multi images in OptionROM

2014-12-14 Thread TigerLiu
Hi, Ramesh: Yes, for same device/controller. But these OptionROMs provided different protocols. Best wishes, From: Ramesh R. [mailto:rame...@ami.com] Sent: 2014年12月13日 1:09 To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Multi images in OptionROM Is all there 3 option roms a

Re: [edk2] Inconsistent TPM PCR7

2014-12-14 Thread Long, Qin
These two codes are following two specs now. The current TcgDxe implemented the TCG EFI Protocol Spec (version 1.20, revision 1.00) and TCG EFI Platform Spec (version 1.20, revision 1.00). The Boot Variables (BootOrder, Boot) were measured into PCR5. (Please note: Two updated version (v1.2

[edk2] Inconsistent TPM PCR7

2014-12-14 Thread Anbazhagan, Baraneedharan
Hi, MeasureVariable routine in TcgDxe module uses variable value as hash data. But MeasureVariable routine in TrEEDxe module have a filter for EV_EFI_VARIABLE_DRIVER_CONFIG event types and uses pointer to EFI_VARIABLE_DATA_TREE as hash data. Whether TCG have different requirements for PCR7 betw

[edk2] [Patch] ShellPkg: Code refine. Add error handling code to check pointer and remove redundant 'ASSERT'.

2014-12-14 Thread Qiu, Shumin
Hi Jaben, Could you help review the patch? This patch adds error handling code to check the pointer returned from HiiGetString and remove redundant "ASSERT". Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin mailto:shumin@intel.com>> Thanks Shumin ShellPkg

[edk2] HII VFR string - Validate IPv4 addresses

2014-12-14 Thread Maor Dickman
Hi everyone, On the subject of HII VFR forms. I'm trying validate if the input string in my form is legal IPv4 address using "match" statement. I didn't find any good example for proper usage of "match" statement and all my tries to use it failed. Here is my last attempt: Vfr: string