diff options
author | Gene Cumm <gene.cumm@gmail.com> | 2013-11-27 16:48:55 -0500 |
---|---|---|
committer | Gene Cumm <gene.cumm@gmail.com> | 2014-01-29 11:55:14 -0500 |
commit | 5bf9bdcf0b2e3b4b9161c55713d8004ce6924900 (patch) | |
tree | 3eb0dcf215a128573568a4c369ae9dccaa109d20 /efi/efi.h | |
parent | 1264f6ac132e9b399bfb846358ae1f055a42c23a (diff) | |
download | syslinux-5bf9bdcf0b2e3b4b9161c55713d8004ce6924900.tar.gz syslinux-5bf9bdcf0b2e3b4b9161c55713d8004ce6924900.tar.xz syslinux-5bf9bdcf0b2e3b4b9161c55713d8004ce6924900.zip |
efi: Loop on Configure when EFI_NO_MAPPING in udp.c/tcp.c
This should help hardware that doesn't return EFI_SUCCESS immediately.
Reported-by: Jason Matthews <jason.david.matthews@gmail.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'efi/efi.h')
-rw-r--r-- | efi/efi.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,11 @@ #include <efilib.h> #include <efistdarg.h> +/* Delay for 100 ms */ +#define EFI_NOMAP_PRINT_DELAY 100 +/* We should keep EFI_NOMAP_PRINT_COUNT at 10 to limit flooding the console */ +#define EFI_NOMAP_PRINT_COUNT 10 + struct efi_disk_private { EFI_HANDLE dev_handle; EFI_BLOCK_IO *bio; |