Merge tag 'upstream/3.14'
[debian/elilo] / elilo.h
diff --git a/elilo.h b/elilo.h
index 4809fbe4ab880d9b8920a605977ed041cde4b717..bd0cd0b69bbdda709f77eea887a1f28d3c157960 100644 (file)
--- a/elilo.h
+++ b/elilo.h
@@ -29,7 +29,7 @@
 #ifndef __ELILO_H__
 #define __ELILO_H__
 
-#define ELILO_VERSION L"3.12"
+#define ELILO_VERSION L"3.14"
 
 #include <efi.h>
 
 #define ROUNDUP(x,a)   (((x) + (a) - 1) & ~((a) - 1))
 #define ROUNDDOWN(x,a)  ((x) & ~((a) - 1))
 
+#ifndef UINT32_MAX
+#define UINT32_MAX     ((UINT32)-1)
+#endif
+
 /*
  * Elilo Boot modes
  */
@@ -65,7 +69,8 @@
 #define ELILO_DEFAULT_TIMEOUT  ELILO_TIMEOUT_INFINITY
 #define ELILO_TIMEOUT_INFINITY (~0UL)
 
-#define CMDLINE_MAXLEN         512 /* needed by ia32 */
+#define CMDLINE_MAXLEN         2048
+#define PATHNAME_MAXLEN                512
 #define FILENAME_MAXLEN                256
 #define MAX_ARGS               256
 /* Just pick an arbitrary number that's high enough for now :o) */
@@ -212,6 +217,7 @@ extern CHAR16 *sysdeps_get_cmdline_opts(VOID);
 extern INTN sysdeps_getopt(INTN, INTN, CHAR16 *);
 extern VOID sysdeps_print_cmdline_opts(VOID);
 extern INTN sysdeps_register_options(VOID);
+extern VOID *sysdeps_checkfix_initrd(VOID *, memdesc_t *);
 
 #define        CHAR_SLASH      L'/'
 #define CHAR_BACKSLASH L'\\'