aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/hal.dox10
-rw-r--r--os/hal/include/io_block.h10
2 files changed, 15 insertions, 5 deletions
diff --git a/os/hal/hal.dox b/os/hal/hal.dox
index 62e9585ac..4e21f3940 100644
--- a/os/hal/hal.dox
+++ b/os/hal/hal.dox
@@ -81,3 +81,13 @@
*
* @ingroup IO
*/
+
+/**
+ * @defgroup IO_CHANNEL Abstract I/O Channels
+ * @ingroup IO
+ */
+
+/**
+ * @defgroup IO_BLOCK Abstract I/O Block Device
+ * @ingroup IO
+ */
diff --git a/os/hal/include/io_block.h b/os/hal/include/io_block.h
index ebfa608b3..b12ae4588 100644
--- a/os/hal/include/io_block.h
+++ b/os/hal/include/io_block.h
@@ -167,8 +167,8 @@ typedef struct {
*
* @api
*/
-#define blkRead(ip, startblk, buffer, n) \
- ((ip)->vmt->read(ip, startblk, buffer, n))
+#define blkRead(ip, startblk, buf, n) \
+ ((ip)->vmt->read(ip, startblk, buf, n))
/**
* @brief Writes one or more blocks.
@@ -184,8 +184,8 @@ typedef struct {
*
* @api
*/
-#define blkWrite(ip, startblk, buffer, n) \
- ((ip)->vmt->write(ip, startblk, buffer, n))
+#define blkWrite(ip, startblk, buf, n) \
+ ((ip)->vmt->write(ip, startblk, buf, n))
/**
* @brief Ensures write synchronization.
@@ -200,7 +200,7 @@ typedef struct {
* @brief Returns a media information structure.
*
* @param[in] ip pointer to a @p BaseBlockDevice or derived class
- * @param[out] bdpi pointer to a @p BlockDeviceInfo structure
+ * @param[out] bdip pointer to a @p BlockDeviceInfo structure
*
* @api
*/