Re: [edk2] edk2-devel Digest, Vol 63, Issue 85

2015-03-17 Thread Sajeesh Kk
Hi Ting, Thanks for your response. Its of great help to me. I tried to simulate by having states per new handles created. But this require more changes in the driver. Will implement and get back to you. Thanks a lot for clarifying this. Thanks, Sajeesh. Hi Sajeesh, I think the UNDI differences

Re: [edk2] Controller Handle in NetLibCreateServiceChild()

2015-03-17 Thread Ritesh Tiwari
Any update on this. As of now, I have manually copied stdlib, AppPkg from EDK2 to UDK2014 workspace and complied socket libraries for both IA32 and X64. As these pkgs (stdlib, AppPkg) are not part of standard UDK2014 dev kit, can you help me giving the location for downloading stable releases for

Re: [edk2] edk2-devel Digest, Vol 63, Issue 74

2015-03-17 Thread Ye, Ting
Hi Sajeesh, I think the UNDI differences should be hidden from SNP. I.e. The SNP driver need not know whether the NII is installed by a NIC, or by a VLAN device. You need maintain the UNDI state per handles to guarantee SNP work properly. In your example, if there are a NIC and a VLAN NIC, an

Re: [edk2] [PATCH v2] PeCoffExtraActionLibDebug: Restore debug registers in PeCoffExtraActionLibDebug

2015-03-17 Thread Fan, Jeff
Brian, Thanks your investigation! I also think it is typo in SDM. Please update your patch as Mike's suggestion. Thanks! Jeff -Original Message- From: Brian J. Johnson [mailto:bjohn...@sgi.com] Sent: Tuesday, March 17, 2015 10:42 PM To: Fan, Jeff; Kinney, Michael D; edk2-devel@lists.sou

Re: [edk2] Ata Device

2015-03-17 Thread Tian, Feng
Santos You have asked this question many times, I ever told you there is no way to send ATA cmd to ATA device if you need do this in a bios which is compliance with UEFI2.1. It's because ATA_PASS_THRU protocol was introduced after UEFI 2.2 and SCSI_PASS_THRU is just used to manage SCSI device o

Re: [edk2] Adding public keys to OVMF

2015-03-17 Thread James Bottomley
On Tue, 2015-03-17 at 18:13 +0100, Laszlo Ersek wrote: > (5) At some point James had been working on a utility called > "flash-var" > whose purpose was (as far as I understood) to stick variables into a > pristine, fresh varstore, from the outside. > > http://git.kernel.org/cgit/linux/kernel/git/j

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Bill Paul
Of all the gin joints in all the towns in all the world, JCA had to walk into mine at 14:46:49 on Tuesday 17 March 2015 and say: > Thanks everybody for such informative responses. Now as far as the > keys are concerned, it stands to reason that for KEKs one > (essentially) imports the public comp

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread JCA
Thanks everybody for such informative responses. Now as far as the keys are concerned, it stands to reason that for KEKs one (essentially) imports the public component alone. However, is it not the case that for the PK the private component is required as well? On Tue, Mar 17, 2015 at 2:10 PM, Las

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 13:10:32 on Tuesday 17 March 2015 and say: > On 03/17/15 20:42, Bill Paul wrote: > > Of all the gin joints in all the towns in all the world, Laszlo Ersek had > > to > > > > walk into mine at 10:22:50

Re: [edk2] Adding public keys to OVMF

2015-03-17 Thread JCA
Thanks, Laszlo and Rod, for all that detailed information. On Tue, Mar 17, 2015 at 2:17 PM, Laszlo Ersek wrote: > On 03/17/15 20:39, Rod Smith wrote: >> On 03/17/2015 12:13 PM, JCA wrote: >>> I am tinkering with a Secure Boot version of OVMF, and would be >>> interested to load my own public key

[edk2] [Patch] ArmPkg: Fix ARM assembly for BaseSynchronizationLib Increment/Decrement functions

2015-03-17 Thread Smith, Tyler (LES Boise)
ArmPkg Maintainer, Could you help review this patch? It contains a fix to return the required value after InternalSyncIncrement and InternalSyncDecrement. I would assume a similar thing needs to be done for AARCH64, but I'm not well versed in that ABI to make the needed change. Contributed-und

Re: [edk2] Adding public keys to OVMF

2015-03-17 Thread Laszlo Ersek
On 03/17/15 20:39, Rod Smith wrote: > On 03/17/2015 12:13 PM, JCA wrote: >> I am tinkering with a Secure Boot version of OVMF, and would be >> interested to load my own public key into OVMF. Could anybody please >> provide a pointer to documentation where this action is discussed? >> Thanks. > > I

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Laszlo Ersek
On 03/17/15 20:42, Bill Paul wrote: > Of all the gin joints in all the towns in all the world, Laszlo Ersek had to > walk into mine at 10:22:50 on Tuesday 17 March 2015 and say: > >> On 03/17/15 17:39, JCA wrote: >>> As a followup to my previous email on the subject, >> >> (which means that this

Re: [edk2] Adding public keys to OVMF

2015-03-17 Thread Rod Smith
On 03/17/2015 12:13 PM, JCA wrote: > I am tinkering with a Secure Boot version of OVMF, and would be > interested to load my own public key into OVMF. Could anybody please > provide a pointer to documentation where this action is discussed? > Thanks. In case Laszlo's pointers aren't sufficient to

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 10:22:50 on Tuesday 17 March 2015 and say: > On 03/17/15 17:39, JCA wrote: > > As a followup to my previous email on the subject, > > (which means that this email of yours should have been sent to that

Re: [edk2] Ata Device

2015-03-17 Thread Josiel Santos
My code to find Scsi Device EFI_STATUS EFIAPI UefiMain( IN EFI_HANDLEImageHandle, IN EFI_SYSTEM_TABLE *SystemTable ) { UINTN amountNode; UINT8deviceType; UINTN indice; EFI_STATUS

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Laszlo Ersek
On 03/17/15 17:39, JCA wrote: > As a followup to my previous email on the subject, (which means that this email of yours should have been sent to that thread...) > here is what I am > currently aware of: > > I know how to navigate the OVMF menus so that OVMF offers me the > possibility of enroll

Re: [edk2] Adding public keys to OVMF

2015-03-17 Thread Laszlo Ersek
On 03/17/15 17:13, JCA wrote: > I am tinkering with a Secure Boot version of OVMF, and would be > interested to load my own public key into OVMF. Could anybody please > provide a pointer to documentation where this action is discussed? > Thanks. There are several ways to do this. I think I can cou

[edk2] Adding public public keys to OVMF II

2015-03-17 Thread JCA
As a followup to my previous email on the subject, here is what I am currently aware of: I know how to navigate the OVMF menus so that OVMF offers me the possibility of enrolling keys (in particular, a PK and KEKs) from local storage. My main problem is that I do not know what format are those fil

[edk2] Adding public keys to OVMF

2015-03-17 Thread JCA
I am tinkering with a Secure Boot version of OVMF, and would be interested to load my own public key into OVMF. Could anybody please provide a pointer to documentation where this action is discussed? Thanks. -- Dive into t

Re: [edk2] [PATCH] MdePkg, MdeModulePkg: Add SMBIOS 64-bit entrypoint and 64-bit table for SMBIOS 3.0

2015-03-17 Thread El-Haj-Mahmoud, Samer
Thank you Elvin! I am taking a look and will let you know if we see any issues. -Original Message- From: Li, Elvin [mailto:elvin...@intel.com] Sent: Tuesday, March 17, 2015 5:41 AM To: Ard Biesheuvel Cc: Andrew Fish; El-Haj-Mahmoud, Samer; edk2-devel@lists.sourceforge.net Subject: RE: [

Re: [edk2] [PATCH v2] PeCoffExtraActionLibDebug: Restore debug registers in PeCoffExtraActionLibDebug

2015-03-17 Thread Brian J. Johnson
Jeff, I believe the newest SDM is in error. Table 17-1 has DR7 bit 10 fixed at 0. However, the previous versions have bit 10 fixed at 1 (as does the latest version for 64-bit mode, see figure 17-2.) The documentation change list doesn't mention a change to DR7. (https://www-ssl.intel.com/co

[edk2] Ata Device

2015-03-17 Thread S . Vieira
Before of the ATA_PASS_THRU_PROTOCOL How would send command to ATA device ?! I trying with Scsi, ExtScsim ScsiIo === Using Scsi I send command. and i don't received the result , but when i look at the map memory the result table ( according ATA spec ) is over there Thanks

Re: [edk2] [PATCH] MdePkg, MdeModulePkg: Add SMBIOS 64-bit entrypoint and 64-bit table for SMBIOS 3.0

2015-03-17 Thread Li, Elvin
Hi Andrew/Samer/Ard, The update for 64-bit entry point and table has been checked in. smbiosview in UEFI shell was also updated and checked in. if you find any problems, please let me know. Thanks Elvin Li -Original Message- From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org

Re: [edk2] edk2-devel Digest, Vol 63, Issue 74

2015-03-17 Thread Sajeesh Kk
Hi Ting, Thanks for your response. I am exactly doing the same way you have mentioned here. Create a new handle and install VLAN + MAC device path, NII protocols on this handle. Then make this handle the child of the controller handle (parameter to the driver start). But the Question is the regard

Re: [edk2] Linked List support in UEFI

2015-03-17 Thread Andrew Fish
> On Mar 17, 2015, at 12:11 AM, Meenakshi Aggarwal > wrote: > > Hi, > > I am looking for link list support in UEFI. > Do we have support for it? > > Kindly mention the filename if it already exists. > The edk2 uses doubly linked lists, for performance reasons. The type is LIST_ENTRY an

[edk2] Linked List support in UEFI

2015-03-17 Thread Meenakshi Aggarwal
Hi, I am looking for link list support in UEFI. Do we have support for it? Kindly mention the filename if it already exists. Thanks & regards Meenakshi Aggarwal -- Dive into the World of Parallel Programming The Go Par