-
Notifications
You must be signed in to change notification settings - Fork 19
Implement basic VFS #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
bartlomiej-stefanski
wants to merge
57
commits into
Operacja-System:main
from
bartlomiej-stefanski:vfs
Closed
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 ad129c4
Basic mount tree structure with functionality of adding new mountpoints
szaranczuk 1eaa4d9
vfs: format
mgojlo 5f1f0b8
Fixed compliation warnings
szaranczuk 4ac3412
Added error.h/c from frogrammer9/BigOs:main
bartlomiej-stefanski bedb70c
Added pascal-like strings to stdbigos
mgojlo c304e66
Added strchr for stdbigos/pstring
bartlomiej-stefanski 98bfddc
Changed pstring_len to pstring_len_silenterr to make error handling o…
bartlomiej-stefanski 726d8bf
Added placeholder allocator
bartlomiej-stefanski 13b4b7d
Added new error types for Mount Tree
bartlomiej-stefanski 5feac31
Finished implementation of basic Mount Tree
bartlomiej-stefanski 0f46999
Changed pstring_cmp function name to pstring_strcmp so it is now cons…
szaranczuk ad84b2a
Minor spelling mistake
mgojlo 70aa1c0
pstring_t is now pedantically validity-checked
mgojlo bb2aae2
Convert VFS to use pedantic pstring_t
mgojlo e3df744
add concatenation functions to pstring_t
mgojlo dea8c73
Restructure pstring.h to avoid potential double-definitions of error_…
mgojlo c8a2834
Changed pstring_cmp function name to pstring_strcmp so it is now cons…
szaranczuk 0352077
Added nodiscard to mount_tree interface
bartlomiej-stefanski b4829d3
Created prototype of fs server protocol
bartlomiej-stefanski ae1e44b
Removed FSServerTreeId from connect structure
bartlomiej-stefanski cabf1ca
Some more work on fs protocol
bartlomiej-stefanski 1bbf39b
Finished protocol docs
bartlomiej-stefanski 0d40706
Add example_vfs
mgojlo ae2404c
Remove dead code
mgojlo bd84216
Remove p_string placeholders in vfs protocol
bartlomiej-stefanski a3ff0d2
Remove unused alloc
mgojlo 85ab4f4
pstring_t: char* -> u8*
mgojlo 396b10c
debug: panic: Add maybe_unued as msg may be unused
bartlomiej-stefanski 1534580
Added basic file table structure
szaranczuk 6b3eb84
Initial implementation of pipe-fs
szaranczuk c1daa1c
Remove old debug messages
szaranczuk f9324f4
Add riscv64-unknown-linux-gnu prefix for gcc
bartlomiej-stefanski 543847c
Format toolchain cmakes
bartlomiej-stefanski eb96efa
Format includes
bartlomiej-stefanski ef253b6
Add static for globals in .c
bartlomiej-stefanski 0bbfd2c
Make inner pipe structure private
bartlomiej-stefanski 09d1b0a
Make QueryQueue implementation private
bartlomiej-stefanski 8a41a03
Update FtEntry and KernelPipe types
bartlomiej-stefanski 3d2b8ef
Create read and write pipes
bartlomiej-stefanski 47cbf86
Implement pipes as circular buffer
bartlomiej-stefanski 33a10ae
Refactor vfs examples
bartlomiej-stefanski 1e11cc0
Add debug pedantic string method
bartlomiej-stefanski f454251
Use pedantic string for kernel pipe interface
bartlomiej-stefanski 4caabd1
Add TODO for FtEntry struct
bartlomiej-stefanski 18865d6
Implement alloca
bartlomiej-stefanski a548767
Use alloca in samples
bartlomiej-stefanski 17b501a
Change name of VFS FS server communication protocol to Kompot
bartlomiej-stefanski f28b3d8
Add pstring read/write methods for basic types
bartlomiej-stefanski e9b31c0
Apply peculiar formatting of pstring
bartlomiej-stefanski 025f874
Fix field order of Kompot structs to match protocol
bartlomiej-stefanski 2867822
Add ERRX unwrap or return
bartlomiej-stefanski 83b9982
Add size definition for kompot metadata
bartlomiej-stefanski 4a93754
Created serializers for kompot structs
bartlomiej-stefanski dc681c5
Create deserializers for kompot structs
bartlomiej-stefanski b40c651
Fix typo in KompotCreateInfo struct
bartlomiej-stefanski 787b8cc
Extract Kompot into separate kernel library
bartlomiej-stefanski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Create, Delete | ||
|
|
||
| WIP |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo