-
Notifications
You must be signed in to change notification settings - Fork 71
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
Filesystem PR #428
base: loader
Are you sure you want to change the base?
Filesystem PR #428
Conversation
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
Signed-off-by: msdx321 <[email protected]>
@@ -1,6 +1,9 @@ | |||
[submodule "src/components/lib/ps/ps"] | |||
path = src/components/lib/ps/ps | |||
url = https://github.com/gwsystems/ps.git |
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.
I think we could first update the ps port, so we don't need to change the url here
int ret = ext4_fopen(file, path, flags); | ||
//printc("ret %d\n", ret); | ||
|
||
//printc("mp %p\n", file->mp); |
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.
Removing debug print or using printd() looks better.
void | ||
cos_init(void) | ||
{ | ||
for (int i = 0; i < 64; i++) { ns[i] = ps_nsptr_create_slab_fd(); } |
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.
Define 64 to be a meaningful symbol should be better.
@@ -263,23 +272,27 @@ cos_set_tid_address(int *tidptr) | |||
* }; | |||
*/ | |||
|
|||
void* backing_data[SL_MAX_NUM_THDS]; | |||
//void* backing_data[SL_MAX_NUM_THDS]; | |||
void* backing_data[1]; |
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.
Define 1 to be a meaningful symbol.
Summary of this Pull Request (PR)
This PR contains interface for block device and filesystem, along with two simple implementation.
Intent for your PR
Choose one (Mandatory):
Reviewers (Mandatory):
(Specify @<github.com username(s)> of the reviewers. Ex: @user1, @user2)
Code Quality
As part of this pull request, I've considered the following:
Style:
Code Craftsmanship:
Testing
I've tested the code using the following test programs (provide list here):