aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/disk.c
Commit message (Collapse)AuthorAgeFilesLines
* disk.c32: remove unused variableH. Peter Anvin2010-05-121-3/+4
| | | | | | Remove unused variable as part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* disk: Fixing get_error() callErwan Velu2010-05-121-8/+6
| | | | get_error prototype changed since this module was written
* disk.c32: add disk geometry checkPierre-Alexandre Meyer2010-03-071-1/+1
| | | | | | | | Make sure the CHS geometry is valid before displaying disk information to avoid showing garbage. Debugging-info-by: Gert Hulselmans <gerth@zytor.com> Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* disk.c32: Fix indentationPierre-Alexandre Meyer2009-04-191-1/+1
| | | | | | | | Impact: none Fix indentation for the loop ending curly brace. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* gpllib: Don't clobber legacy C/H/S parameters with EDD onesPierre-Alexandre Meyer2009-04-191-0/+63
Impact: driveinfo structure change, new disk.c32 module Adapt driveinfo structure to store both legacy and EDD parameters. Change utility functions to use EDD when available (C/H/S being a fallback). Add a new disk.c32 module to test the disk library. It will print information (geometry) about every detected drive. Misc.: refactoring, set ES:DI to 0:0 when querying legacy C/H/S Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>