aboutsummaryrefslogtreecommitdiff
path: root/scripts/acpi_extract_preprocess.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-12-17 17:57:48 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-12-27 12:40:25 -0500
commit518955f8eec5ccde9cb1d4ea3a2e633fa556dc39 (patch)
tree90ec32d1aafd98c0dd8ca983d59820c022351913 /scripts/acpi_extract_preprocess.py
parent743c1575390188fd628ecd0333bb679e8ecc0bec (diff)
downloadseabios-518955f8eec5ccde9cb1d4ea3a2e633fa556dc39.zip
seabios-518955f8eec5ccde9cb1d4ea3a2e633fa556dc39.tar.gz
seabios-518955f8eec5ccde9cb1d4ea3a2e633fa556dc39.tar.bz2
Clear the total block transfer count on error.
The total number of blocks transferred is part of the return status of the BIOS API. This is normally the total number of blocks requested. However, in an error it is possible for this count to be less. Add a global check to ensure that on an error event the block count is updated - if it hasn't been updated, assume that no blocks have been transferred successfully (the common case). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/acpi_extract_preprocess.py')
0 files changed, 0 insertions, 0 deletions