[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] Secure Boot & NV storage size

2014-02-18 Thread Fu, Siyuan
Jordan, I don't know whether OVMF can be simulated and install Windows OS. If yes, at least 64 KB of NV storage is required according to Windows Hardware Certification Requirement. http://msdn.microsoft.com/en-us/library/windows/hardware/jj128256.aspx System.Fundamentals.Firmware.UEFISecureBoot

Re: [edk2] Secure Boot & NV storage size

2014-02-18 Thread Larry Cleeton
Data Point: In our Hyper-V Generation 2 VM UEFI implementation we chose an arbitrary artificial limit of 128KB for NV variables. We considered the various references to a limit of 64KB, looked at what actually ended up in the store after OS install, and settled on 128KB as a generous limit

[edk2] Secure Boot & NV storage size

2014-02-18 Thread Jordan Justen
What is a good practical and/or spec'd size of NV storage to best support Secure Boot? In OVMF, we recently added support for NV variables. I chose what I thought was a generous size of 56KB. With a 4KB 'event log' and 4KB NV Working Store, this makes the NV storage 64KB. Of course, we needed to

Re: [edk2] ShellPkg: Update "ls" command to better handle "-r" parameter

2014-02-18 Thread Bjorge, Erik C
Reviewed-by: Erik Bjorge From: Carsey, Jaben Sent: Tuesday, February 18, 2014 1:26 PM To: Bjorge, Erik C Cc: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Update "ls" command to better handle "-r" parameter Erik, Can you verify? ShellPkg: Update "ls" command to better hand

[edk2] ShellPkg: Update "ls" command to better handle "-r" parameter

2014-02-18 Thread Carsey, Jaben
Erik, Can you verify? ShellPkg: Update "ls" command to better handle "-r" parameter This makes sure that recursion into sub directories looks through all subdirectories, not just those that match the initial search pass. Also only prints out any information for directories in which at least o

Re: [edk2] [PATCH] BaseTools: accept 'amd64' as an alias for 'x86_64'

2014-02-18 Thread Ed Maste
On 17 February 2014 14:47, Laszlo Ersek wrote: > On 02/14/14 19:49, Ed Maste wrote: >> On FreeBSD uname -a reports 'amd64' for the 64-bit x86 architecture. >> >> Contributed-under: TianoCore Contribution Agreement 1.0 >> Signed-off-by: Ed Maste >> --- >> BaseTools/Source/C/GNUmakefile | 2 +- >>

[edk2] Alternative to LibGetManagingDriverBindingHandles

2014-02-18 Thread Galla Rao
Hello All, Could any one please let me know what is the alternative to LibGetManagingDriverBindingHandles (EDK lib call) in UDK2010 (EDKII). The API is defined in \Edk\Other\Maintained\Application\Shell\Library\Handle.c could not find the corresponding call in UDK2010 Kindly Respond! Thanks Ra

Re: [edk2] TCP->Configure after TCP->Close

2014-02-18 Thread Brendan Jackman
Hi Suyan The passive instance is created by first opening a EFI_TCP4_SERVICE_BINDING_PROTOCOL and then calling CreateChild on that. I pass a NULL Handle to CreateChild so that the EFI_TCP4_PROTOCOL is installed on a new handle. When the application exits I call Configure on the passive insta