Lines Matching defs:ba
438 char *ba, *lp;
441 ba = PE_boot_args(); /* Get the boot arguments */
442 lp = ba + 256; /* Point to the end */
446 ba = nonspace(ba, lp); /* Find non-space */
447 if(ba >= lp) return; /* We are done if no more... */
448 if(((ba[0] != 'v') && (ba[0] != 'p'))
449 || (ba[1] != 'm') || (ba[2] != 'd') || (ba[4] != '=')
450 || (ba[3] < '0') || (ba[3] > 'f')
451 || ((ba[3] > '9') && (ba[3] < 'a'))) { /* Is this of form "vmdx=" or "pmdx=" where x is hex digit? */
453 ba = getspace(ba, lp); /* Find next white space or end */
457 if(ba[0] == 'p') phys = 1; /* Set physical memory disk */
459 devid = ba[3] & 0xF; /* Assume digit */
460 if(ba[3] > '9') devid += 9; /* Adjust for hex digits */
462 ba = &ba[5]; /* Step past keyword */
463 ba = cvtnum(ba, lp, &base); /* Convert base of memory disk */
464 if(ba >= lp) return; /* Malformed one at the end, leave */
465 if(ba[0] != '.') continue; /* If not length separater, try next... */
468 ba++; /* Step past '.' */
469 ba = cvtnum(ba, lp, &size); /* Try to convert it */
471 if(ba < lp) { /* If we are not at end, check end character */
472 if((ba[0] != ' ') && (ba[0] != 0)) continue; /* End must be null or space */