| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Impact: visual
Running Nindent on gpllib / gplinclude
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
|
|
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>
|