Skip to content

refactor: merge starry-core & starry-api into starry-kernel#117

Open
AsakuraMizu wants to merge 2 commits intomainfrom
pr/refactor
Open

refactor: merge starry-core & starry-api into starry-kernel#117
AsakuraMizu wants to merge 2 commits intomainfrom
pr/refactor

Conversation

@AsakuraMizu
Copy link
Contributor

Prepare for next stage refactor

Copilot AI review requested due to automatic review settings February 15, 2026 15:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR performs a major refactoring by merging the starry-core and starry-api crates into a single starry-kernel crate. This consolidation simplifies the codebase architecture and prepares for the next stage of refactoring.

Changes:

  • Merged starry-core and starry-api into starry-kernel
  • Renamed vfs module to pseudofs for clarity
  • Split task module into smaller submodules (futex, ops, resources, signal, stat, timer, user)
  • Moved IRQ counter from time.rs to its actual usage location in proc.rs

Reviewed changes

Copilot reviewed 74 out of 108 changed files in this pull request and generated no comments.

Show a summary per file
File Description
kernel/Cargo.toml Package renamed from starry-api to starry-kernel with updated dependencies
kernel/src/lib.rs New root module for starry-kernel
kernel/src/config/* Architecture-specific configurations moved here
kernel/src/task/* Task module split into focused submodules
kernel/src/pseudofs/* Renamed from vfs module, organizing virtual filesystem support
kernel/src/mm/* Memory management module with I/O and loader separated
kernel/src/file/* File operations reorganized with new net.rs, event.rs, epoll.rs
kernel/src/syscall/* Syscall handlers updated with new import paths
Cargo.toml Workspace updated to reference starry-kernel instead of starry-core/starry-api
Comments suppressed due to low confidence (1)

kernel/src/pseudofs/dev/memtrack.rs:15

  • The import path crate::vfs::DeviceOps should be crate::pseudofs::DeviceOps to match the module rename from vfs to pseudofs in this refactor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant