Home
last modified time | relevance | path

Searched refs:cmdline (Results 1 – 25 of 68) sorted by relevance

123

/arch/powerpc/boot/
Dmain.c142 static char cmdline[COMMAND_LINE_SIZE] variable
147 if (cmdline[0] == '\0') in prep_cmdline()
148 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
150 printf("\n\rLinux/PowerPC load: %s", cmdline); in prep_cmdline()
153 console_ops.edit_cmdline(cmdline, COMMAND_LINE_SIZE); in prep_cmdline()
157 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
175 if ((loader_info.cmdline_len > 0) && (cmdline[0] == '\0')) in start()
176 memmove(cmdline, loader_info.cmdline, in start()
Dps3.c50 static char cmdline[COMMAND_LINE_SIZE] variable
55 if (cmdline[0] == '\0') in prep_cmdline()
56 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
58 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
60 printf("cmdline: '%s'\n", cmdline); in prep_cmdline()
Dcuboot.c28 loader_info.cmdline = (char *)r6; in cuboot_init()
Dredboot-83xx.c58 loader_info.cmdline = (char *)bd.bi_cmdline; in platform_init()
/arch/mips/mti-malta/
Dmalta-memory.c58 static char cmdline[COMMAND_LINE_SIZE] __initdata; in prom_getmdesc() local
81 strcpy(cmdline, arcs_cmdline); in prom_getmdesc()
82 ptr = strstr(cmdline, "memsize="); in prom_getmdesc()
83 if (ptr && (ptr != cmdline) && (*(ptr - 1) != ' ')) in prom_getmdesc()
DMakefile8 obj-y := malta-amon.o malta-cmdline.o \
/arch/blackfin/kernel/
Dkgdb_test.c20 static char cmdline[256]; variable
79 memcpy(cmdline, buffer, count); in kgdb_test_proc_write()
80 cmdline[len] = 0; in kgdb_test_proc_write()
/arch/microblaze/kernel/
Dsetup.c99 void __init machine_early_init(const char *cmdline, unsigned int ram, in machine_early_init() argument
135 if (cmdline && cmdline[0] != '\0') in machine_early_init()
136 strlcpy(cmd_line, cmdline, COMMAND_LINE_SIZE); in machine_early_init()
/arch/arm/mach-clps711x/
Dfortunet.c60 fortunet_fixup(struct tag *tags, char **cmdline, struct meminfo *mi) in fortunet_fixup() argument
63 *cmdline = phys_to_virt(ip->command_line); in fortunet_fixup()
Dclep7312.c29 fixup_clep7312(struct tag *tags, char **cmdline, struct meminfo *mi) in fixup_clep7312() argument
Dedb7211-arch.c40 fixup_edb7211(struct tag *tags, char **cmdline, struct meminfo *mi) in fixup_edb7211() argument
/arch/mips/goldfish/
Dgoldfish-platform.c64 char *cmdline = (char *)fw_arg0; in prom_init() local
65 strcpy(arcs_cmdline, cmdline); in prom_init()
/arch/ia64/kernel/
Dmachvec.c46 machvec_init_from_cmdline(const char *cmdline) in machvec_init_from_cmdline() argument
52 if (! (start = strstr(cmdline, "machvec=")) ) in machvec_init_from_cmdline()
/arch/arm/boot/compressed/
Dofw-shark.c68 while (*c) tag->u.cmdline.cmdline[j++]=*c++; in create_params()
70 tag->u.cmdline.cmdline[j]=0; in create_params()
Datags_to_fdt.c76 atag->u.cmdline.cmdline); in atags_to_fdt()
/arch/c6x/kernel/
Dvmlinux.lds.S41 .cmdline :
43 *(.cmdline)
/arch/avr32/include/asm/
Dsetup.h62 char cmdline[1]; /* this is the minimum size */ member
109 struct tag_cmdline cmdline; member
/arch/mips/dec/prom/
DMakefile6 lib-y += init.o memory.o cmdline.o identify.o console.o
/arch/mips/powertv/
Dmemory.c164 static char cmdline[COMMAND_LINE_SIZE] __initdata; in get_memsize() local
170 strcpy(cmdline, arcs_cmdline); in get_memsize()
171 ptr = strstr(cmdline, "memsize="); in get_memsize()
172 if (ptr && (ptr != cmdline) && (*(ptr - 1) != ' ')) in get_memsize()
/arch/arm/mach-pxa/
Deseries.h1 void __init eseries_fixup(struct tag *tags, char **cmdline, struct meminfo *mi);
/arch/mips/fw/arc/
DMakefile5 lib-y += cmdline.o env.o file.o identify.o init.o \
/arch/frv/kernel/
Dsetup.c724 static void __init parse_cmdline_early(char *cmdline) in parse_cmdline_early() argument
726 if (!cmdline) in parse_cmdline_early()
729 while (*cmdline) { in parse_cmdline_early()
730 if (*cmdline == ' ') in parse_cmdline_early()
731 cmdline++; in parse_cmdline_early()
736 if (!memcmp(cmdline, "mem=", 4)) { in parse_cmdline_early()
739 mem_size = memparse(cmdline + 4, &cmdline); in parse_cmdline_early()
743 while (*cmdline && *cmdline != ' ') in parse_cmdline_early()
744 cmdline++; in parse_cmdline_early()
/arch/microblaze/include/asm/
Dsetup.h43 void machine_early_init(const char *cmdline, unsigned int ram,
/arch/mips/loongson/common/
DMakefile5 obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
/arch/mips/powertv/asic/
Dasic_devices.c96 static char __initdata cmdline[COMMAND_LINE_SIZE]; variable
113 strncpy(cmdline, arcs_cmdline, COMMAND_LINE_SIZE - 1); in check_forcefamily()
114 p = strstr(cmdline, FORCEFAMILY_PARAM); in check_forcefamily()
115 if (p && (p != cmdline) && (*(p - 1) != ' ')) in check_forcefamily()

123