-/**************************************************************************
-DISK_READ - Read a sector from disk
-**************************************************************************/
-unsigned int pcbios_disk_read ( int drive, int cylinder, int head, int sector,
- char *fixme_buf ) {
- uint16_t ax, flags, discard_c, discard_d;
- segoff_t buf = SEGOFF ( fixme_buf );
-
- /* FIXME: buf should be passed in as a segoff_t rather than a
- * char *
- */
+/*
+ * Read a single sector from a disk using INT 13,2.
+ *
+ * Returns the BIOS status code (%ah) - 0 indicates success
+ *
+ */
+static unsigned int pcbios_disk_read ( int drive, int cylinder, int head,
+ int sector, struct disk_sector *buf ) {
+ uint16_t basemem_buf, status, flags;
+ int discard_c, discard_d;