PCI IDE driver, new create_volume () syscall, test scripts
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m37s

This commit is contained in:
2026-03-10 18:14:18 +01:00
parent 01c51ac63f
commit 38557bab7d
24 changed files with 726 additions and 39 deletions

View File

@@ -24,6 +24,10 @@ static const char* str_status[] = {
[ST_FORMAT_ERROR] = "filesystem formatting error",
[ST_NOT_DRV] = "not a drive device",
[ST_PARTITION_ERROR] = "partition error",
[ST_CREATE_DIR_ERROR] = "directory creation error",
[ST_REMOVE_ERROR] = "remove error",
[ST_XDRV_READ_ERROR] = "drive read error",
[ST_XDRV_WRITE_ERROR] = "drive write error",
};
#endif // _LIBSYSTEM_STR_STATUS_H

View File

@@ -82,3 +82,7 @@ int kill (int pid) { return (int)do_syscall (SYS_KILL, pid); }
int create_dir (const char* path) { return (int)do_syscall (SYS_CREATE_DIR, path); }
int remove (const char* path) { return (int)do_syscall (SYS_REMOVE, path); }
int create_volume (const char* key, int fs_type, const char* device_key) {
return (int)do_syscall (SYS_CREATE_VOLUME, key, fs_type, device_key);
}

View File

@@ -90,4 +90,7 @@ int create_dir (const char* path);
/* Remove filesystem entry */
int remove (const char* path);
/* mount a volume */
int create_volume (const char* key, int fs_type, const char* device_key);
#endif // _LIBMSL_M_SYSTEM_H