diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-14 21:22:56 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-14 21:27:55 -0400 |
commit | 9d3b3b602fc20246dda2a29c0926babbf1ea7fcd (patch) | |
tree | be8513b85127429b362254ff8314a3ec9d5f911d /src/sys/include/dms | |
parent | 58af5dfa5771045850be3086a2da18be44d3077a (diff) |
kern: dms: Add initial DMS engine sources
The DMS engine handles performing I/O based on specific opcodes given to
it and drives the callback wrappers.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/dms')
-rw-r--r-- | src/sys/include/dms/dms.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/include/dms/dms.h b/src/sys/include/dms/dms.h index 06e78ac..8453723 100644 --- a/src/sys/include/dms/dms.h +++ b/src/sys/include/dms/dms.h @@ -30,6 +30,7 @@ #ifndef _DMS_DMS_H_ #define _DMS_DMS_H_ +#include <sys/syscall.h> #include <sys/queue.h> #include <sys/cdefs.h> #include <sys/types.h> @@ -139,4 +140,9 @@ int dms_register(const char *name, struct dms_ops *ops, struct dms_disk **res); */ struct dms_disk *dms_get(disk_id_t disk_id); +/* + * Perform I/O on a disk + */ +scret_t sys_dmsio(struct syscall_args *scargs); + #endif /* !_DMS_DMS_H_ */ |