aboutsummaryrefslogtreecommitdiffstats
path: root/efi/efi.h
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2013-11-27 16:48:55 -0500
committerGene Cumm <gene.cumm@gmail.com>2014-01-29 11:55:14 -0500
commit5bf9bdcf0b2e3b4b9161c55713d8004ce6924900 (patch)
tree3eb0dcf215a128573568a4c369ae9dccaa109d20 /efi/efi.h
parent1264f6ac132e9b399bfb846358ae1f055a42c23a (diff)
downloadsyslinux-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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/efi/efi.h b/efi/efi.h
index 9e4a4432..ef5bacb3 100644
--- a/efi/efi.h
+++ b/efi/efi.h
@@ -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;