aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/read.h
Commit message (Collapse)AuthorAgeFilesLines
* gpllibs: Running NindentErwan Velu2009-11-241-3/+3
| | | | | | Impact: visual Running Nindent on gpllib / gplinclude
* disklib: Change read/write interfacePierre-Alexandre Meyer2009-08-051-4/+3
| | | | | | | Get rid of the error pointer and use a errno-like error reporting mechanism. Intent is to make these more like the standard read/write system calls. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* gpllib: Add copyright/license information (disklib)Pierre-Alexandre Meyer2009-04-301-0/+9
| | | | | | | | | | | The disklib is distributed under GPLv2. Add copyright holders for borrowed code: * H. Peter Anvin/Intel Corporation (read/write BIOS calls) * Matt Domsch <Matt_Domsch@dell.com> (edd structures) Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* gpllib: Propagate error codes in disk libraryPierre-Alexandre Meyer2009-04-211-4/+7
| | | | | | | | | It is worth propagating read/write error codes back to the caller. He can pass NULL to ignore them, or an int* that will be populated. To decode it, one can use the get_error function (see disk/error.c). Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* gpllib: Add read_mbr helper (disk)Pierre-Alexandre Meyer2009-04-191-0/+1
| | | | | | | | | Impact: disk API extension read_mbr takes a drive number and returns a pointer to a malloced buffer containing its mbr. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* gpllib: Add disk libraryPierre-Alexandre Meyer2009-04-191-0/+6
This library features read and write operations, as well as geometry detection. It will prevent duplicating code between several modules (e.g. hdt and chain.c32). Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>