From 9d3b3b602fc20246dda2a29c0926babbf1ea7fcd Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 14 Oct 2025 21:22:56 -0400 Subject: 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 --- src/sys/include/dms/dms.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sys/include/dms/dms.h') 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 #include #include #include @@ -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_ */ -- cgit v1.2.3