Open
Conversation
…ple ticks from IDT
- Added src/mkfs.rs: pure Rust mkfs tool (based on sudoheckbeluga's work in PR codenet#5), adapted with FSSIZE=1000 and LOGSIZE=0 to match the C repo's p9-name-layer branch. No more ../col331/ dependency. - Updated Makefile: mkfs now compiled with rustc from src/mkfs.rs - Added name layer functions in src/fs.rs: irelse, namecmp, dirlookup, skipelem, namex, namei, nameiparent - Updated welcome() in src/lib.rs to use namei("/welcome.txt")
- Added src/mkfs.rs: pure Rust mkfs tool (based on sudoheckbeluga's work in PR codenet#5), adapted with FSSIZE=1000 and LOGSIZE=0 to match the C repo's p9-name-layer branch. No more ../col331/ dependency. - Updated Makefile: mkfs now compiled with rustc from src/mkfs.rs - Added name layer functions in src/fs.rs: irelse, namecmp, dirlookup, skipelem, namex, namei, nameiparent - Updated welcome() in src/lib.rs to use namei("/welcome.txt")
This was referenced Mar 7, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implements
p18-schedon top ofp17-free-spaceby adding timer-driven round-robin scheduling and two-way context switching.Changes
swtchtoswtch(old, new)and implemented save/restore of callee-saved registers.swtch(&c.scheduler, p.context)so control can return back to scheduler.sched()andyield():yield()marks current processRUNNABLEsched()switches from process context back to scheduler contextyield()on timer ticks when current process isRUNNING.Validation
cargo build --target targets/i686.jsonsucceeds.Dependency / credit
p17-free-space.p16-tssprocess/TSS setup as the scheduling foundation.