diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-29 20:59:46 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-30 11:44:28 -0400 |
commit | a7ef49da0e07e0a1195794b527fa400c0235fcc7 (patch) | |
tree | ded5d2b9f075411327e6bb573fa754ee5b5720a6 /kernel/include | |
parent | fmt (diff) | |
download | comus-a7ef49da0e07e0a1195794b527fa400c0235fcc7.tar.gz comus-a7ef49da0e07e0a1195794b527fa400c0235fcc7.tar.bz2 comus-a7ef49da0e07e0a1195794b527fa400c0235fcc7.zip |
tarfs
Diffstat (limited to 'kernel/include')
-rw-r--r-- | kernel/include/comus/fs/tar.h | 18 | ||||
-rw-r--r-- | kernel/include/comus/user.h | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/kernel/include/comus/fs/tar.h b/kernel/include/comus/fs/tar.h new file mode 100644 index 0000000..084c8bd --- /dev/null +++ b/kernel/include/comus/fs/tar.h @@ -0,0 +1,18 @@ +/** + * @file tar.h + * + * Tarball + */ + +#ifndef TAR_FS_H_ +#define TAR_FS_H_ + +#include <comus/fs.h> + +/** + * Attempts to mount tar filesystem on disk + * @returns 0 on success + */ +int tar_mount(struct file_system *fs); + +#endif /* fs.h */ diff --git a/kernel/include/comus/user.h b/kernel/include/comus/user.h index f51ada5..a1a718b 100644 --- a/kernel/include/comus/user.h +++ b/kernel/include/comus/user.h @@ -15,7 +15,7 @@ /** * Load a user elf program from a file into a pcb */ -int user_load(struct pcb *pcb, struct disk *disk); +int user_load(struct pcb *pcb, struct file *file); /** * Clone a user process. Used for fork(). |