Lines Matching refs:rec

393 		struct bi_record *rec;  in load_kernel()  local
397 rec = (struct bi_record *)rec_loc; in load_kernel()
419 rec->tag = BI_FIRST; in load_kernel()
420 rec->size = sizeof(struct bi_record); in load_kernel()
421 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel()
423 rec->tag = BI_BOOTLOADER_ID; in load_kernel()
424 memcpy( (void *)rec->data, "spruceboot", 11); in load_kernel()
425 rec->size = sizeof(struct bi_record) + 10 + 1; in load_kernel()
426 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel()
428 rec->tag = BI_MEMSIZE; in load_kernel()
429 rec->data[0] = mem_size; in load_kernel()
430 rec->size = sizeof(struct bi_record) + sizeof(unsigned long); in load_kernel()
431 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel()
433 rec->tag = BI_CMD_LINE; in load_kernel()
434 memcpy( (char *)rec->data, cmd_line, strlen(cmd_line)+1); in load_kernel()
435 rec->size = sizeof(struct bi_record) + strlen(cmd_line) + 1; in load_kernel()
436 rec = (struct bi_record *)((ulong)rec + rec->size); in load_kernel()
439 rec->tag = BI_INITRD; in load_kernel()
440 rec->data[0] = initrd_loc; in load_kernel()
441 rec->data[1] = initrd_size; in load_kernel()
442 rec->size = sizeof(struct bi_record) + 2 * in load_kernel()
444 rec = (struct bi_record *)((unsigned long)rec + in load_kernel()
445 rec->size); in load_kernel()
448 rec->tag = BI_LAST; in load_kernel()
449 rec->size = sizeof(struct bi_record); in load_kernel()
450 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel()