Home | History | Annotate | Download | only in usbloader

Lines Matching refs:cmdline

83 static void fixup_tags(unsigned *tags, unsigned *out, const char *cmdline)
90 if(cmdline == 0) cmdline = "";
104 } else if((tags[1] == 0x54410009) && (cmdline[0])) {
105 /* skip existing cmdline so we can replace it */
126 dprintf("cmdline: '%s'\n", oldcmdline);
127 dprintf("cmdline: '%s'\n", cmdline);
129 /* create a cmdline tag if we need to */
130 if(cmdline[0]) {
141 len = strlen(cmdline);
142 memcpy(str, cmdline, len);
149 dprintf("CMDLINE: '%s'\n", ((char*) (np + 2)));
167 static char cmdline[BOOT_ARGS_SIZE];
178 fixup_tags((unsigned*) linux_tags, tags, cmdline);
214 if(hdr->cmdline[0]){
215 hdr->cmdline[BOOT_ARGS_SIZE - 1] = 0;
216 memcpy(cmdline, hdr->cmdline, BOOT_ARGS_SIZE);