Re: [edk2] three SNP questions

2013-05-01 Thread Laszlo Ersek
On 05/01/13 19:41, Kinney, Michael D wrote: > There is a complete implementation of the WaitForPackat event in > MdeModulePlg/Universal/Network/SnpDxe. Many implementations of > WaitForPacket that use a template structure will allocate and > initialize the WaitForPackat field to NULL. Logic late

Re: [edk2] three SNP questions

2013-05-01 Thread Kinney, Michael D
packet. Mike -Original Message- From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Monday, April 29, 2013 4:53 PM To: Kinney, Michael D Cc: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] three SNP questions Hello Mike, On 04/29/13 22:26, Kinney, Michael D wrote: > Laszlo, >

Re: [edk2] three SNP questions

2013-04-29 Thread Laszlo Ersek
Hello Mike, On 04/29/13 22:26, Kinney, Michael D wrote: > Laszlo, > > You should implement the WaitForPacket event. This is not documented > as optional in the UEFI Specification. I think the reason that > drivers can get away with not implementing the WaitForPacket event is > that this fields

Re: [edk2] three SNP questions

2013-04-29 Thread Kinney, Michael D
aszlo Ersek [mailto:ler...@redhat.com] Sent: Monday, April 29, 2013 12:11 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] three SNP questions On 04/29/13 20:19, Laszlo Ersek wrote: > Hi. > > I've been staring for hours at the Driver Writer's Guide and the Spec, >

Re: [edk2] three SNP questions

2013-04-29 Thread Laszlo Ersek
On 04/29/13 20:19, Laszlo Ersek wrote: > Hi. > > I've been staring for hours at the Driver Writer's Guide and the Spec, > plus existing (apparently, with each other inconsistent) SNP > implementations in the edk2 tree. I think I'm finally able to ask two > (maybe three) questions. > > (1) Can I i

[edk2] three SNP questions

2013-04-29 Thread Laszlo Ersek
Hi. I've been staring for hours at the Driver Writer's Guide and the Spec, plus existing (apparently, with each other inconsistent) SNP implementations in the edk2 tree. I think I'm finally able to ask two (maybe three) questions. (1) Can I ignore implementing (= set to NULL) the WaitForPacket ev