Lines Matching defs:mdep
463 fastboot_build_mbi(char *mdep, fastboot_info_t *nk)
475 * If mdep is not NULL or empty, use the length of mdep + 1
480 if (mdep != NULL && strlen(mdep) != 0) {
481 arglen = strlen(mdep) + 1;
581 if (mdep != NULL && strlen(mdep) != 0) {
582 bcopy(mdep, (void *)(start_addr_va + offs), arglen);
620 fastboot_parse_mdep(char *mdep, char *kern_bootpath, int *bootpath_len,
626 * If mdep is not NULL, it comes in the format of
629 if (mdep != NULL && strlen(mdep) != 0) {
630 if (mdep[0] != '-') {
633 while (mdep[i] != '\0' && mdep[i] != ' ') {
637 if (i < 4 || strncmp(&mdep[i-4], "unix", 4) != 0) {
639 bcopy(mdep, kern_bootpath, i);
647 if (strlen(mdep) > i) {
648 mdep += (i + 1);
650 while (mdep[i] != '\0' &&
651 mdep[i] != ' ') {
657 bcopy(mdep, kern_bootfile, i);
659 bcopy(mdep, bootargs, strlen(mdep));
664 bcopy(mdep, &bootargs[off], strlen(mdep));
665 off += strlen(mdep);
884 fastboot_load_kernel(char *mdep)
919 fastboot_parse_mdep(mdep, kern_bootpath, &bootpath_len, fastboot_args);
1467 fastboot_update_config(const char *mdep)
1469 uint8_t boot_config = (uint8_t)*mdep;
1567 fastboot_update_and_load(int fcn, char *mdep)
1581 fastboot_load_kernel(mdep);