Lines Matching refs:rm_args
652 uint32_t oldbase = rm_args.rm_base; in relocate_rm_code()
656 memmove((void *)newbase, (void *)oldbase, rm_args.rm_size); in relocate_rm_code()
658 rm_args.rm_return += delta; in relocate_rm_code()
659 rm_args.rm_intcall += delta; in relocate_rm_code()
660 rm_args.rm_bounce += delta; in relocate_rm_code()
661 rm_args.rm_base += delta; in relocate_rm_code()
662 rm_args.rm_gdt += delta; in relocate_rm_code()
663 rm_args.rm_pmjmp += delta; in relocate_rm_code()
664 rm_args.rm_rmjmp += delta; in relocate_rm_code()
666 gdt_base = rm_args.rm_gdt; in relocate_rm_code()
671 set_seg_base(gdt_base, 0x10, rm_args.rm_base); in relocate_rm_code()
672 set_seg_base(gdt_base, 0x18, rm_args.rm_base); in relocate_rm_code()
682 *(uint32_t *) rm_args.rm_pmjmp += delta; in relocate_rm_code()
683 *(uint16_t *) rm_args.rm_rmjmp += delta >> 4; in relocate_rm_code()
685 rm_args.rm_handle_interrupt += delta; in relocate_rm_code()
750 struct real_mode_args rm_args; variable
785 memcpy(&rm_args, rm_args_ptr, sizeof rm_args); in setup()
1211 rm_base = (driveraddr - rm_args.rm_size) & ~15; in setup()