Lines Matching refs:ireg
25 struct biosregs ireg, oreg; in read_mbr() local
27 initregs(&ireg); in read_mbr()
28 ireg.ax = 0x0201; /* Legacy Read, one sector */ in read_mbr()
29 ireg.cx = 0x0001; /* Sector 0-0-1 */ in read_mbr()
30 ireg.dl = devno; in read_mbr()
31 ireg.bx = (size_t)buf; in read_mbr()
33 intcall(0x13, &ireg, &oreg); in read_mbr()
75 struct biosregs ireg, oreg; in get_edd_info() local
81 initregs(&ireg); in get_edd_info()
82 ireg.ah = 0x41; in get_edd_info()
83 ireg.bx = EDDMAGIC1; in get_edd_info()
84 ireg.dl = devno; in get_edd_info()
85 intcall(0x13, &ireg, &oreg); in get_edd_info()
100 ireg.ah = 0x48; in get_edd_info()
101 ireg.si = (size_t)&ei->params; in get_edd_info()
102 intcall(0x13, &ireg, &oreg); in get_edd_info()
107 ireg.ah = 0x08; in get_edd_info()
108 ireg.es = 0; in get_edd_info()
109 intcall(0x13, &ireg, &oreg); in get_edd_info()