Displaying 2 results from an estimated 2 matches for "cmdlinesize".
Did you mean:
cmdline_size
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...#include <syslinux/movebits.h>
> +#include <syslinux/firmware.h>
> +#include <syslinux/video.h>
> +
Seems like a lot of unnecessary #includes.
> +
> +
> +int syslinux_boot_efi(void *kernel_buf, size_t kernel_size,
> + char *cmdline, int cmdlineSize)
> +{
> + if (firmware->boot_efi)
> + return firmware->boot_efi(kernel_buf, kernel_size, cmdline, cmdlineSize);
> +
> + return -1;
> +}
Seems good otherwise.
> diff -uprN a/efi/main.c b/efi/main.c
> --- a/efi/main.c 2014-10-06 10:27:44.0000...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...de <syslinux/align.h>
+#include <syslinux/linux.h>
+#include <syslinux/bootrm.h>
+#include <syslinux/movebits.h>
+#include <syslinux/firmware.h>
+#include <syslinux/video.h>
+
+
+
+int syslinux_boot_efi(void *kernel_buf, size_t kernel_size,
+ char *cmdline, int cmdlineSize)
+{
+ if (firmware->boot_efi)
+ return firmware->boot_efi(kernel_buf, kernel_size, cmdline, cmdlineSize);
+
+ return -1;
+}
diff -uprN a/efi/main.c b/efi/main.c
--- a/efi/main.c 2014-10-06 10:27:44.000000000 -0600
+++ b/efi/main.c 2015-02-18 19:48:27.215899105 -0700
@@ -1,4 +1,8 @@
/*...