mbr.c | 799 unsigned int tcyl, temp, thead, tsec; local in function:convert_mbr_chs 802 tcyl = relsecs / temp; 803 relsecs -= tcyl * temp; 808 if (tcyl > MAXCYL) 809 tcyl = MAXCYL; 811 *cylp = MBR_PUT_LSCYL(tcyl); 813 *secp = MBR_PUT_MSCYLANDSEC(tcyl, tsec);
|