Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a7a9446
Created VFS directory and runnable target
bartlomiej-stefanski May 25, 2025
ad129c4
Basic mount tree structure with functionality of adding new mountpoints
szaranczuk May 27, 2025
1eaa4d9
vfs: format
mgojlo May 27, 2025
5f1f0b8
Fixed compliation warnings
szaranczuk May 27, 2025
4ac3412
Added error.h/c from frogrammer9/BigOs:main
bartlomiej-stefanski May 31, 2025
bedb70c
Added pascal-like strings to stdbigos
mgojlo May 27, 2025
c304e66
Added strchr for stdbigos/pstring
bartlomiej-stefanski Jun 8, 2025
98bfddc
Changed pstring_len to pstring_len_silenterr to make error handling o…
bartlomiej-stefanski Jun 8, 2025
726d8bf
Added placeholder allocator
bartlomiej-stefanski Jun 8, 2025
13b4b7d
Added new error types for Mount Tree
bartlomiej-stefanski Jun 8, 2025
5feac31
Finished implementation of basic Mount Tree
bartlomiej-stefanski Jun 8, 2025
0f46999
Changed pstring_cmp function name to pstring_strcmp so it is now cons…
szaranczuk Jun 10, 2025
ad84b2a
Minor spelling mistake
mgojlo Jun 9, 2025
70aa1c0
pstring_t is now pedantically validity-checked
mgojlo Jun 9, 2025
bb2aae2
Convert VFS to use pedantic pstring_t
mgojlo Jun 9, 2025
e3df744
add concatenation functions to pstring_t
mgojlo Jun 9, 2025
dea8c73
Restructure pstring.h to avoid potential double-definitions of error_…
mgojlo Jun 10, 2025
c8a2834
Changed pstring_cmp function name to pstring_strcmp so it is now cons…
szaranczuk Jun 10, 2025
0352077
Added nodiscard to mount_tree interface
bartlomiej-stefanski Jun 10, 2025
b4829d3
Created prototype of fs server protocol
bartlomiej-stefanski May 31, 2025
ae1e44b
Removed FSServerTreeId from connect structure
bartlomiej-stefanski Jun 3, 2025
cabf1ca
Some more work on fs protocol
bartlomiej-stefanski Jun 6, 2025
1bbf39b
Finished protocol docs
bartlomiej-stefanski Jun 6, 2025
0d40706
Add example_vfs
mgojlo Jun 10, 2025
ae2404c
Remove dead code
mgojlo Jun 10, 2025
bd84216
Remove p_string placeholders in vfs protocol
bartlomiej-stefanski Aug 28, 2025
a3ff0d2
Remove unused alloc
mgojlo Jun 10, 2025
85ab4f4
pstring_t: char* -> u8*
mgojlo Jun 10, 2025
396b10c
debug: panic: Add maybe_unued as msg may be unused
bartlomiej-stefanski Sep 6, 2025
1534580
Added basic file table structure
szaranczuk Jun 10, 2025
6b3eb84
Initial implementation of pipe-fs
szaranczuk Jun 10, 2025
c1daa1c
Remove old debug messages
szaranczuk Jun 10, 2025
f9324f4
Add riscv64-unknown-linux-gnu prefix for gcc
bartlomiej-stefanski Sep 7, 2025
543847c
Format toolchain cmakes
bartlomiej-stefanski Sep 7, 2025
eb96efa
Format includes
bartlomiej-stefanski Sep 6, 2025
ef253b6
Add static for globals in .c
bartlomiej-stefanski Sep 6, 2025
0bbfd2c
Make inner pipe structure private
bartlomiej-stefanski Sep 6, 2025
09d1b0a
Make QueryQueue implementation private
bartlomiej-stefanski Sep 6, 2025
8a41a03
Update FtEntry and KernelPipe types
bartlomiej-stefanski Sep 6, 2025
3d2b8ef
Create read and write pipes
bartlomiej-stefanski Sep 6, 2025
47cbf86
Implement pipes as circular buffer
bartlomiej-stefanski Sep 6, 2025
33a10ae
Refactor vfs examples
bartlomiej-stefanski Sep 6, 2025
1e11cc0
Add debug pedantic string method
bartlomiej-stefanski Sep 7, 2025
f454251
Use pedantic string for kernel pipe interface
bartlomiej-stefanski Sep 7, 2025
4caabd1
Add TODO for FtEntry struct
bartlomiej-stefanski Sep 7, 2025
18865d6
Implement alloca
bartlomiej-stefanski Sep 7, 2025
a548767
Use alloca in samples
bartlomiej-stefanski Sep 7, 2025
17b501a
Change name of VFS FS server communication protocol to Kompot
bartlomiej-stefanski Sep 10, 2025
f28b3d8
Add pstring read/write methods for basic types
bartlomiej-stefanski Sep 10, 2025
e9b31c0
Apply peculiar formatting of pstring
bartlomiej-stefanski Sep 13, 2025
025f874
Fix field order of Kompot structs to match protocol
bartlomiej-stefanski Sep 10, 2025
2867822
Add ERRX unwrap or return
bartlomiej-stefanski Sep 11, 2025
83b9982
Add size definition for kompot metadata
bartlomiej-stefanski Sep 11, 2025
4a93754
Created serializers for kompot structs
bartlomiej-stefanski Sep 10, 2025
dc681c5
Create deserializers for kompot structs
bartlomiej-stefanski Sep 13, 2025
b40c651
Fix typo in KompotCreateInfo struct
bartlomiej-stefanski Sep 13, 2025
787b8cc
Extract Kompot into separate kernel library
bartlomiej-stefanski Sep 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMake/toolchains/riscv64-clang.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13)

if(RISCV_CLANG_TOOLCHAIN_INCLUDED)
return()
return()
endif()
set(RISCV_CLANG_TOOLCHAIN_INCLUDED TRUE)

Expand Down
2 changes: 1 addition & 1 deletion CMake/toolchains/riscv64-common.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13)

if(COMMON_RISCV_TOOLCHAIN_INCLUDED)
return()
return()
endif()

set(COMMON_RISCV_TOOLCHAIN_INCLUDED true)
Expand Down
4 changes: 2 additions & 2 deletions CMake/toolchains/riscv64-gcc.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
cmake_minimum_required(VERSION 3.13)

if(RISCV_GCC_TOOLCHAIN_INCLUDED)
return()
return()
endif()

set(RISCV_GCC_TOOLCHAIN_INCLUDED true)

include(${CMAKE_CURRENT_LIST_DIR}/riscv64-common.cmake)

foreach(PREFIX "riscv64-unknown-linux-elf" "riscv64-linux-gnu")
foreach(PREFIX "riscv64-unknown-linux-elf" "riscv64-linux-gnu" "riscv64-unknown-linux-gnu")
find_program(PREFIX_TOOLCHAIN_GCC "${PREFIX}-gcc")
if (PREFIX_TOOLCHAIN_GCC)
set(DEFAULT_RISCV_TOOLCHAIN_PREFIX "${PREFIX}-")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ cmake --build build --target run-<target to run> # ex. run-example_sbi
# To exit just enter Ctrl+a x
```

All available targets are listed in [build system target docs](build_system/targets).
All available targets are listed in [build system target docs](build_system/targets.md).

---

Expand Down
4 changes: 4 additions & 0 deletions docs/acronyms.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ EXT - Extended File System (ext2, ext3, ext4)
f32 - single-precision, 32-bit IEEE 754 floating-point representation
f64 - double-precision, 64-bit IEEE 754 floating-point representation
FAT - File Allocation Table
FS - File System

## G
GUI - Graphical User Interface
Expand All @@ -30,6 +31,9 @@ i64 - 64-bit signed integer
i8 - 8-bit signed integer
Inx - Index

## K
Kompot - VFS FS Server Communication Protocoll

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo


## M
Max - Maximum
Min - Minimum
Expand Down
3 changes: 3 additions & 0 deletions docs/vfs/Create_Delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Create, Delete

WIP
Loading
Loading