Displaying 4 results from an estimated 4 matches for "efi_destroy_bind".
2017 May 31
0
[PATCH 3/4] Removing the udp_reader efi_binding
...p_reader)
- return -1;
-
b = efi_create_binding(&Udp4ServiceBindingProtocol, &Udp4Protocol);
if (!b)
goto bail;
- udp = (EFI_UDP4 *)udp_reader->this;
+ udp = (EFI_UDP4 *)b->this;
memset(&udata, 0, sizeof(udata));
@@ -114,9 +100,6 @@ bail:
if (b)
efi_destroy_binding(b, &Udp4ServiceBindingProtocol);
- efi_destroy_binding(udp_reader, &Udp4ServiceBindingProtocol);
- udp_reader = NULL;
-
return -1;
}
@@ -127,9 +110,6 @@ bail:
*/
void core_udp_close(struct pxe_pvt_inode *socket)
{
- efi_destroy_binding(udp_reader, &Udp4ServiceB...
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
...eceive callback function ends
+ // correctly.
+ //
+ status = uefi_call_wrapper(BS->CreateEvent, 5,
+ EVT_TIMER,
+ TPL_CALLBACK,
+ NULL,
+ NULL,
+ &udp_io->CB_OK_Event
+ );
+ if (EFI_ERROR (status))
+ goto bail;
return 0;
bail:
if (b)
- efi_destroy_binding(b, &Udp4ServiceBindingProtocol);
+ efi_destroy_binding(b, &Udp4ServiceBindingProtocol);
- efi_destroy_binding(udp_reader, &Udp4ServiceBindingProtocol);
- udp_reader = NULL;
+ if(udp_io && udp_io->Timeout_Timer)
+ uefi_call_wrapper(BS->CloseEvent, 1, udp_io-...
2017 May 31
6
[PATCH 1/4] efi/udp: core_udp_connect should use SubnetMask not StationAddress for netmask
Signed-off-by: Julien Viard de Galbert <jviarddegalbert at online.net>
---
efi/udp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/udp.c b/efi/udp.c
index 1088f47..b0f13ad 100644
--- a/efi/udp.c
+++ b/efi/udp.c
@@ -163,7 +163,7 @@ void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip,
} else {
udata.UseDefaultAddress = FALSE;
2016 Feb 24
6
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
The variable 'ok' is never used and generates a warning. Remove it. Also
ntfssect.c is designed to be compiled in non Unicode mode when using
MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use
of 'A' API calls) so that it doesn't break when compiled in Unicode
mode, which is what Rufus uses with MSVC.
-------------- next part --------------