Commit graph vbos/lib/string.c
Author SHA1 Message Date
a8540494a9 vfs: add vfs_open
vfs_open parses a path and returns the correct inode. The out inode is a
double pointer argument passed to vfs_open, and the return value is an
error code, or 0

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-01 23:06:39 +02:00
f0a9ff299b gitignore: add .cpio
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-06-28 17:13:41 +02:00
750ffa2e16 fs: add ramfs 2026-05-12 07:31:17 -04:00
Michael Shaw
d6873d6c7a kv2: add paging
this also fixes up a bunch of formatting, adding the type vaddr_t

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2026-04-13 00:04:26 -04:00
Michael Shaw
d2ef885e8d v2 initial commit 2026-04-11 11:35:31 -04:00
Michael Shaw
a10509f1e5 lib: move lib headers into lib directory 2024-01-30 22:00:20 -05:00
Michael Shaw
0029621ada cmd: add initial commands ls and help 2023-10-20 23:56:01 -04:00
Michael Shaw
cd8d016f34 ext2: fix memory leak 2023-10-20 01:11:10 -04:00
Michael Shaw
0eb461410c fs: implement readdir function
this also fixes flawed file parsing in ext2_open_file
2023-10-20 00:51:28 -04:00
Michael Shaw
9476b3f810 string.c: rework strtok again 2023-10-19 14:20:22 -04:00
Michael Shaw
08b54c22f5 string: reword strtok 2023-10-19 14:18:33 -04:00
Michael Shaw
25a828437a fs: move fs init into kernel cmdline
Previously, any partition with an ext2 filesystem would be mounted by
the gpt header parser. With this patch, the kernel cmdline `root=val` is
responsible for mounting the root filesystem.
2023-10-19 11:08:54 -04:00
Michael Shaw
746c907a43 string: add strncpy 2023-10-18 20:58:03 -04:00
Michael Shaw
a6ffef77b9 string: remove incorrect lock on strtok 2023-10-18 20:56:24 -04:00
Michael Shaw
3806d53237 string: add lock to strtok 2023-10-18 20:51:49 -04:00
Michael Shaw
5ab34eb11b string: add strtok 2023-10-18 20:46:41 -04:00
Michael Shaw
14a681c53e string: add strsplit 2023-05-09 23:00:07 -04:00
Michael Shaw
e1108b3493 mem: improve slabbing to include flags 2023-04-29 16:54:12 -04:00
Michael Shaw
281fb8ef9d string: optimize memset 2023-04-29 00:44:11 -04:00
Michael Shaw
fe93196a01 remove atoi test 2023-03-24 03:45:11 -04:00
Michael Shaw
f001be171c console: add console_resize() 2023-03-15 03:32:47 -04:00
Michael Shaw
ffddd592da mem: begin work on pager 2023-03-04 16:46:33 -05:00
Michael Shaw
644508ee45 Added license identifiers to all files 2023-02-28 22:14:06 -05:00
Michael Shaw
b8599a4e8e Add madt_entry_types and print out value 2023-02-28 17:24:32 -05:00
Michael Shaw
2146b49bb3 added rsdt parse functionality
this function prints out the RSDT entries present in the system
2023-02-27 22:55:06 -05:00