Home | History | Annotate | Download | only in stage2

Lines Matching defs:drp

236 	  } __attribute__ ((packed)) drp;
238 /* It is safe to clear out DRP. */
239 grub_memset (&drp, 0, sizeof (drp));
247 drp.size = sizeof (drp) - sizeof (drp.dummy);
249 err = biosdisk_int13_extensions (0x4800, drive, &drp);
255 /* I'm not sure if GRUB should check the bit 1 of DRP.FLAGS,
257 /* if (drp.flags & (1 << 1)) */
262 if (drp.total_sectors)
263 total_sectors = drp.total_sectors & ~0L;
268 total_sectors = drp.cylinders * drp.heads * drp.sectors;