]> xenbits.xensource.com Git - seabios.git/commit
disk: handle LBA I/O with zero sector count
authorKevin O'Connor <kevin@koconnor.net>
Sat, 11 Feb 2012 14:38:44 +0000 (09:38 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 11 Feb 2012 14:38:44 +0000 (09:38 -0500)
commitb50488bb3912f50ac70055d3fc3200ff2303986b
tree3622516c86482658fb899ec1b3a30a4dfed6b3a4
parent26d3144fbf22185c75b10c30988ca33aa8842837
disk: handle LBA I/O with zero sector count

Unlike basic_access, extended_access does not check for a zero
sector count.  However, this is a problem because for example
it would be interpreted as 256 when processing an ATA request.

Based on patch from: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/disk.c