summaryrefslogtreecommitdiff
path: root/com32/lib/syslinux
diff options
context:
space:
mode:
authorShao Miller <shao.miller@yrdsb.edu.on.ca>2010-06-28 01:54:38 -0400
committerShao Miller <shao.miller@yrdsb.edu.on.ca>2010-07-10 01:03:05 -0400
commit1cf649982aed3bd020909939c491ed19a412e5ea (patch)
tree0e42c262c22dc9465ec73551c740f8a1d7fd11f5 /com32/lib/syslinux
parent4a59565ca20050aece0ff84bff5afb181ec434df (diff)
downloadsyslinux-1cf649982aed3bd020909939c491ed19a412e5ea.tar.gz
libcom32 disk: Trivial formatting fix-up
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Diffstat (limited to 'com32/lib/syslinux')
-rw-r--r--com32/lib/syslinux/disk.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/com32/lib/syslinux/disk.c b/com32/lib/syslinux/disk.c
index f13122e2..a1d66976 100644
--- a/com32/lib/syslinux/disk.c
+++ b/com32/lib/syslinux/disk.c
@@ -40,8 +40,9 @@
/**
* Call int 13h, but with retry on failure. Especially floppies need this.
*
- * @v inreg CPU register settings upon INT call
+ * @v inreg CPU register settings upon INT call
* @v outreg CPU register settings returned by INT call
+ * @ret (int) 0 upon success, -1 upon failure
*/
int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg)
{
@@ -60,11 +61,12 @@ int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg)
return -1; /* Error */
}
-/*
+/**
* Query disk parameters and EBIOS availability for a particular disk.
*
* @v disk The INT 0x13 disk drive number to process
* @v diskinfo The structure to save the queried params to
+ * @ret (int) 0 upon success, -1 upon failure
*/
int disk_get_params(int disk, struct disk_info *diskinfo)
{
@@ -109,7 +111,7 @@ int disk_get_params(int disk, struct disk_info *diskinfo)
}
/**
- * Get a disk block and return a malloc'd buffer.
+ * Get disk block(s) and return a malloc'd buffer.
*
* @v diskinfo The disk drive to read from
* @v lba The logical block address to begin reading at