apio pushed to main at apio/Luna 2023-03-12 09:23:21 +00:00
5c0104111d libc: Implement fopen, fclose, fread, feof, ferror, and clearerr
apio pushed to main at apio/Luna 2023-03-11 21:20:13 +00:00
c0a7f6776f kernel+libc: Add getpid()
apio pushed to main at apio/Luna 2023-03-11 17:03:05 +00:00
8fa72f3cf0 kernel+libc: Implement read()
810c4bc257 kernel+libc: Start interfacing with the VFS from userspace (open & close)
831973c39a Option: Allow direct access to the underlying value via operator->
Compare 3 commits »
apio pushed to main at apio/Luna 2023-03-11 09:39:50 +00:00
30deed2820 libluna/CPath: Replace size_t with usize
apio pushed to main at apio/Luna 2023-03-11 09:38:43 +00:00
0c07e66c4f Update all files from luna/ paths to libluna/
28028d229f README: Update luna/ links to point to libluna/
Compare 2 commits »
apio pushed to main at apio/Luna 2023-03-11 09:36:03 +00:00
dcf4444d0d Update README.md
apio pushed to main at apio/Luna 2023-03-11 09:34:23 +00:00
ff468db675 kernel/ELF+Scheduler: Use VFS instead of TarStream
c6aa2fe4ad VFS: Populate the initial filesystem based on the initial ramdisk
ac304073b4 tmpfs: Disallow creating files/folders with already used names
d95ef110c9 vfs: Add support for creating directories given a full path
6fd28379a9 TarStream: Add a direct pointer to entry data in the Entry struct
Compare 6 commits »
apio pushed to main at apio/Luna 2023-03-10 23:27:23 +00:00
89bea931cd libluna: Add a very simple Buffer class, to help implement tmpfs files
apio pushed to main at apio/Luna 2023-03-10 21:24:43 +00:00
6fbf97292a VFS: Implement resolve_path() using PathParser
4c66017807 libluna: Add PathParser, a C++-style way of iterating over path sections
5a9da55e05 libluna/CString: Implement strspn and strcspn, and using those implement strtok
6512e9549e tools: Make replace-stdint.sh search in libluna/ instead of luna/
Compare 4 commits »
apio pushed to main at apio/Luna 2023-03-10 20:09:14 +00:00
ff770b7328 VFS+TmpFS: Add support for creating subdirectories (mkdir)
41203df472 libluna/Vector: Use bytes instead of count in resize()
e8a401efc2 libluna/Heap: Crash the kernel (but not userspace) on invalid frees
Compare 3 commits »
apio pushed to main at apio/minitar 2023-03-08 16:05:26 +00:00
f12f58bacf fix: Make the untar example create parent directories for all entry types
apio pushed to main at apio/Luna 2023-03-08 15:41:21 +00:00
c376477080 libluna/StaticString: Rename OSize to OtherSize
c51b119eb4 StaticString: Add a constructor that takes in another StaticString
abdd460525 tmpfs: use adopt_shared_if_nonnull instead of plain adopt_shared in FileSystem::create()
293be2c75a tools: Use libluna instead of luna in run-clang-format.sh
e30eec4213 kernel/x86_64: Avoid kernel panics when a page fault occurs in a userspace thread
Compare 8 commits »
apio pushed to main at apio/Luna 2023-03-07 12:14:31 +00:00
80492f6ad3 luna: Add error_name, similar to strerrorname_np from glibc
apio pushed to main at apio/Luna 2023-03-02 12:40:47 +00:00
3a2e5b7ce0 luna: Adjust cstyle_format's description
apio pushed to main at apio/Luna 2023-03-02 12:38:31 +00:00
de38eb6877 luna: Remove pure_cstyle_format
apio pushed to main at apio/Luna 2023-02-27 15:28:05 +00:00
a595a77421 kernel: Print percentage in splash screen
b978d02cfb luna: Fix %% skipping a character
Compare 2 commits »
apio pushed to main at apio/Luna 2023-02-27 15:24:01 +00:00
9afff7c544 kernel: Add a fun splash screen during boot :)
apio pushed to main at apio/Luna 2023-02-27 14:25:26 +00:00
517ef70214 luna: Add UBSAN.cpp to CMakeLists
apio closed pull request apio/Luna#22 2023-02-27 14:24:12 +00:00
Start working on a VFS implementation
apio commented on pull request apio/Luna#22 2023-02-27 14:23:44 +00:00
Start working on a VFS implementation

Merged manually, I'll continue work on main since this seems stable enough.