Re: [edk2] Controller Handle in NetLibCreateServiceChild()

2015-03-16 Thread Ritesh Tiwari
Thanks Ye. Lee, can you please confirm about stdlib socket libraries support in UDK2014? I don't see stdlib pkg in UDK2014 codebase. Thanks, Ritesh On Tue, Mar 17, 2015 at 8:28 AM, Ye, Ting wrote: > Add Lee to the To List. > > > > *From:* Ye, Ting [mailto:ting...@intel.com] > *Sent:* Tuesday,

Re: [edk2] Controller Handle in NetLibCreateServiceChild()

2015-03-16 Thread Ye, Ting
Add Lee to the To List. From: Ye, Ting [mailto:ting...@intel.com] Sent: Tuesday, March 17, 2015 10:53 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Controller Handle in NetLibCreateServiceChild() Hi Ritesh, Lee know more about socket library. He mentioned that the socket libraries

Re: [edk2] Controller Handle in NetLibCreateServiceChild()

2015-03-16 Thread Ye, Ting
Hi Ritesh, Lee know more about socket library. He mentioned that the socket libraries are included with UDK 2014 under StdLib. This libraries are designed to link with applications. AppPkg has several examples. Best Regards, Ye Ting From: Ritesh Tiwari [mailto:ritesh.tiw...@seagate.com] Sen

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

2015-03-16 Thread Fan, Jeff
Mike, I reviewed the latest SDM from intel website (http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html). DR7 BIT10 is set to 0. So, we cannot set BIT10 to 1 always in our code and we should keep it as is. Thanks! Jeff -Original Message- Fro

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

2015-03-16 Thread Ye, Ting
Hi Sajeesh, You can refer to the software VLAN implementation in MNP to produce the EFI_VLAN_CONFIG_PROTOCOL. In MNP VLAN, create a VLAN device means to create a virtual NIC device handle and install MNP service binding and device path protocol to the handle. The device path node for this handl

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

2015-03-16 Thread Kinney, Michael D
Brian, >From the SDM, it looks like DR7 BIT10 should always be set. If there are emulators that are not setting BIT10, then can we also fix this issue on read of DR7 by changing the earlier statements from Dr7 = AsmReadDr7 (); NewDr7 = AsmReadDr7 (); To Dr7 = AsmReadDr

Re: [edk2] [PATCH v2 0/4] ArmVirtualizationPkg, OvmfPkg: build tweaks

2015-03-16 Thread Laszlo Ersek
On 03/13/15 15:36, Laszlo Ersek wrote: > Public branch: . > > Changes in v2: > - updated commit messages as requested. > - qemu commit aa685789 is now in master. > > Cc: Leif Lindholm > Cc: Ard Biesheuvel > Cc: Alexander Graf > Cc: Jordan

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

2015-03-16 Thread Brian J. Johnson
Mike, We don't really check the state of BIT10, we ignore it. PeCoffExtraActionLibDebug writes Dr7 to 0. On hardware, it will read with bit 10 set, so NewDr7 == BIT10. But on some simulators, including qemu/tcg, it reads as zero, so NewDr7 == 0. The fiddling with BIT10 in the test makes it

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

2015-03-16 Thread Kinney, Michael D
Brian, In DEBUG_LOAD_IMAGE_METHOD_SOFT_INT3 mode, is there any difference in behavior if DR7 is always restored without checking state of BIT10? Thanks, Mike -Original Message- From: Brian J. Johnson [mailto:bjohn...@sgi.com] Sent: Monday, March 16, 2015 8:26 AM To: edk2-devel@lists.s

Re: [edk2] [PATCH] ShellPkg: smbiosview update for SMBIOS 3.0

2015-03-16 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey -Original Message- From: Li, Elvin Sent: Sunday, March 15, 2015 7:52 PM To: Carsey, Jaben Cc: edk2-devel@lists.sourceforge.net; Li, Elvin Subject: [edk2] [PATCH] ShellPkg: smbiosview update for SMBIOS 3.0 Importance: High Hi Jaben, Could you help to revi

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

2015-03-16 Thread Brian J. Johnson
PeCoffExtraActionLibDebug uses the debug registers to pass module load information to the DebugAgent, then restores the old register values. However, it was missing code to restore Dr7 in the DEBUG_LOAD_IMAGE_METHOD_SOFT_INT3 case. This broke hardware breakpoints and watchpoints. It could also lo

Re: [edk2] Controller Handle in NetLibCreateServiceChild()

2015-03-16 Thread Ritesh Tiwari
Thanks Ye. We are developing our application using UDK2014 UEFI dev kit. We don't see these socket library packages there. I also got to know we can't/shouldn't use internet socket interfaces used by TCPdxe. May I know why UDK2014 does not provide socket library or package to create raw TCP sock

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

2015-03-16 Thread Brian J. Johnson
Jeff, I'll send an updated patch. Thanks for the review! Brian On 03/15/2015 10:05 PM, Fan, Jeff wrote: > Brian, > > Sorry, I missed this patch. > > Thank you finding and fixing this bug. Your patch looks good to me. One > minimal comment is to remove the word "qemu" from the code comment, be

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

2015-03-16 Thread Sajeesh Kk
Hi Ting, We dont have our own network modules for PXE boot. we are using UEFI notwork stack. Our hadrware has the capability to add/remove vlan tags from the packets and we dont want the software implementation part done by MNP. During the driver start we publish EFI_VLAN_CONFIG_PROTOCOL on the chi

Re: [edk2] Two Node ARM64 SoC Memory Corruption

2015-03-16 Thread Leif Lindholm
Hi Narinder, Is this an architectural L2 cache or an external one? If the former, you should not need any platform-specific invalidation. Can you try without your modifications, but with the patch Leo Duran sent this morning? Regards, Leif On 13 March 2015 at 03:24, Narinder Dhillon wrote: >

Re: [edk2] [Patch] ShellPkg: Fix typo in ShellPkg.

2015-03-16 Thread Bruce Cran
On 3/15/2015 8:14 PM, Qiu, Shumin wrote: > Thanks for your comments. Update the patch. Reviewed-by: Bruce Cran -- Bruce -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and de

[edk2] Socket Programming

2015-03-16 Thread partha sarathi swain
Hi All, Could any one help me in writing a socket programming in UEFI (using UDK2014). My requirement is like "a server and client setup, where client will open a socket ( with a port and Ip of server) and return some data to the server". In Windows we have implemented the same using "winsock.h"