search for: cmdline_len

Displaying 4 results from an estimated 4 matches for "cmdline_len".

2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...> printf("%s\n", strerror(errno)); > return 1; > } > + > + > +int new_efi_image(char *okernel, char *ocmdline) > +{ > + const char *kernel_name = NULL, *args = NULL; > + char *temp; > + void *kernel_data; > + size_t kernel_len, cmdline_len; > + char *cmdline=NULL; > + > + > + //lets clear the screen before loading the efi image > + if(firmware && firmware->clear_screen) > + firmware->clear_screen(); > + > + > + dprintf("okernel = %s, ocmdline = %s", okernel, ocmdlin...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...;, okernel, ocmdline); if (okernel) @@ -129,3 +137,70 @@ bail: printf("%s\n", strerror(errno)); return 1; } + + +int new_efi_image(char *okernel, char *ocmdline) +{ + const char *kernel_name = NULL, *args = NULL; + char *temp; + void *kernel_data; + size_t kernel_len, cmdline_len; + char *cmdline=NULL; + + + //lets clear the screen before loading the efi image + if(firmware && firmware->clear_screen) + firmware->clear_screen(); + + + dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline); + + if (okernel) + kernel_name = okernel; +...
2009 Sep 12
1
[PATCH] Let MEMDISK honor the quiet append option
...tr->configflags & CONFIG_MODEMASK); + break; + } + puts(" access to high memory\n"); } - puts(" access to high memory\n"); /* Set up a drive parameter table */ if (geometry->driveno & 0x80) { @@ -956,10 +971,12 @@ total_size += cmdline_len; /* Command line */ stack_len = stack_needed(); total_size += stack_len; /* Stack */ - printf("Code %u, meminfo %u, cmdline %u, stack %u\n", - hptr->total_size, e820_len, cmdline_len, stack_len); - printf("Total size needed = %u bytes, allocatin...
2009 Dec 07
3
[PATCH] memdisk: "safe hook" and mBFT
...'t copied yet! */ + safe_hook = (struct safe_hook *)(dpp + hptr->int13_offs); pptr = (struct patch_area *)(dpp + hptr->patch_offs); hptr = (struct memdisk_header *)dpp; @@ -1179,6 +1203,21 @@ void setup(const struct real_mode_args *rm_args_ptr) dpp = mempcpy(dpp, shdr->cmdline, cmdline_len); } + /* Re-fill the "safe hook" mBFT field with the physical address */ + safe_hook->mBFT += (uint32_t)hptr; + + /* Complete the mBFT */ + { + struct mBFT *mBFT = (struct mBFT *)safe_hook->mBFT; + + mBFT->acpi.signature[0] = ''m''; /* "mBF...