From cb321c85abf066e4734a46da6ef147051b79be5f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 18 Aug 2025 02:15:04 +0000 Subject: kernel: disk: Document disk READ/WRITE opcodes Signed-off-by: Ian Moffett --- sys/include/sys/disk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/include/sys/disk.h b/sys/include/sys/disk.h index afad6d9..6b27156 100644 --- a/sys/include/sys/disk.h +++ b/sys/include/sys/disk.h @@ -76,8 +76,8 @@ _Static_assert((V_BSIZE & 1) == 0, "V_BSIZE must be a power of two"); #define DISK_PARAM_COOKIE 0xD1531001 /* Valid disk operations */ -#define DISK_IO_READ 0x00 -#define DISK_IO_WRITE 0x01 +#define DISK_IO_READ 0x00 /* Read data from the disk */ +#define DISK_IO_WRITE 0x01 /* Write data to disk */ /* * A disk identifier is a zero-based index into -- cgit v1.2.3