• Home
  • Raw
  • Download

Lines Matching refs:opt

58     if (!(opt.file && opt.isolinux))  in manglef_isolinux()
87 file_lba = get_file_lba(opt.file); in manglef_isolinux()
161 if (!(opt.file && opt.grub)) in manglef_grub()
213 if (opt.grubcfg) { in manglef_grub()
214 if (strlen(opt.grubcfg) >= sizeof stage2->config_file) { in manglef_grub()
219 strcpy((char *)stage2->config_file, opt.grubcfg); in manglef_grub()
238 if (!(opt.file && opt.drmk))
258 opt.regs.ss = opt.regs.fs = opt.regs.gs = 0; /* Used before initialized */
266 opt.regs.ds = (tsize >> 4) + (opt.fseg - 2);
313 *(uint8_t *)((char *)data->data + off) = (opt.swap ? iter->di.disk & 0x80 : iter->di.disk); in mangle_bpb()
324 if (!(opt.file && opt.filebpb)) in manglef_bpb()
335 if (!(opt.sect && opt.setbpb)) in mangles_bpb()
350 if (!(opt.sect && opt.file && opt.bss)) in manglesf_bss()
397 if (!(opt.sect && opt.save)) in mangles_save()
421 if (!(opt.sect && opt.cmldr)) in mangles_cmldr()
432 if (opt.file) { in mangler_init()
433 opt.regs.cs = opt.regs.ds = opt.regs.ss = opt.fseg; in mangler_init()
434 opt.regs.ip = opt.fip; in mangler_init()
436 opt.regs.cs = opt.regs.ds = opt.regs.ss = opt.sseg; in mangler_init()
437 opt.regs.ip = opt.sip; in mangler_init()
440 if (opt.regs.ip == 0x7C00 && !opt.regs.cs) in mangler_init()
441 opt.regs.esp.l = 0x7C00; in mangler_init()
444 opt.regs.ebx.b[0] = opt.regs.edx.b[0] = iter->di.disk; in mangler_init()
452 if (opt.file && opt.maps && !opt.hptr) { in mangler_handover()
453 opt.regs.esi.l = opt.regs.ebp.l = opt.soff; in mangler_handover()
454 opt.regs.ds = opt.sseg; in mangler_handover()
455 opt.regs.eax.l = 0; in mangler_handover()
456 } else if (opt.hand) { in mangler_handover()
458 opt.regs.esi.l = opt.regs.ebp.l = data->base; in mangler_handover()
459 opt.regs.ds = 0; in mangler_handover()
461 opt.regs.eax.l = 0x54504721; /* '!GPT' */ in mangler_handover()
463 opt.regs.eax.l = 0; in mangler_handover()
477 if (opt.grldr) in mangler_grldr()
478 opt.regs.edx.b[1] = iter->index - 1; in mangler_grldr()
507 if (miter->index == iter->index || opt.hide & HIDE_REV) in fliphide()
532 if (!(opt.hide & HIDE_ON)) in manglepe_hide()
540 if (miter->index > 4 && !(opt.hide & HIDE_EXT)) in manglepe_hide()
543 if (!(iter = pi_begin(&miter->di, PIF_STEPALL | opt.piflags))) in manglepe_hide()
548 if (!(opt.hide & HIDE_EXT) && ridx > 3) in manglepe_hide()
637 if (!opt.fixchs) in manglepe_fixchs()
645 if (!(iter = pi_begin(&miter->di, PIF_STEPALL | opt.piflags))) in manglepe_fixchs()