projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace common segment/offset pairs with struct segoff_s.
[seabios.git]
/
src
/
disk.c
diff --git
a/src/disk.c
b/src/disk.c
index 014701a40f461311fdfeea0a84f327fa58217d54..b021c4055933ddff0c88bd36e324373f99b226ab 100644
(file)
--- a/
src/disk.c
+++ b/
src/disk.c
@@
-180,9
+180,7
@@
extended_access(struct bregs *regs, u8 driveid, u16 command)
return;
}
return;
}
- u16 segment = GET_INT13EXT(regs, segment);
- u16 offset = GET_INT13EXT(regs, offset);
- dop.buf_fl = MAKE_FLATPTR(segment, offset);
+ dop.buf_fl = SEGOFF_TO_FLATPTR(GET_INT13EXT(regs, data));
dop.count = GET_INT13EXT(regs, count);
int status = send_disk_op(&dop);
dop.count = GET_INT13EXT(regs, count);
int status = send_disk_op(&dop);