X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=elilo.h;h=bd0cd0b69bbdda709f77eea887a1f28d3c157960;hb=4386d0ddc988a11e8f55d774f577e4ca4f83cea9;hp=4809fbe4ab880d9b8920a605977ed041cde4b717;hpb=90dc485b21e0c6b3417e22e86f637f45e62748f2;p=debian%2Felilo diff --git a/elilo.h b/elilo.h index 4809fbe..bd0cd0b 100644 --- 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 @@ -54,6 +54,10 @@ #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'\\'