Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates the arceos submodule to a new development branch and updates the codebase to reflect API changes in the new arceos version. The main changes involve renaming axfs_ng back to axfs, updating the BACKTRACE build option to DWARF, and adapting to minor API changes in several modules.
Key changes:
- Module
axfs_ngrenamed toaxfsthroughout the codebase - Build option
BACKTRACErenamed toDWARFin Makefile and feature flags - API updates for
axalloc,axdisplay, andaxtaskmodules
Reviewed changes
Copilot reviewed 30 out of 31 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main.rs | Updates import from axfs_ng to axfs |
| src/entry.rs | Updates import and removes .unwrap() call on task join |
| rustfmt.toml | Removes wrap_comments configuration option |
| core/src/vfs/dev.rs | Updates import from axfs_ng to axfs |
| core/src/mm.rs | Updates import from axfs_ng to axfs |
| core/Cargo.toml | Updates dependency from axfs-ng to axfs |
| arceos | Updates submodule commit reference |
| api/src/vfs/proc.rs | Updates allocator API call from usage_stats() to usages() |
| api/src/vfs/mod.rs | Updates import from axfs_ng to axfs |
| api/src/vfs/dev/memtrack.rs | Updates module path references from axfs_ng to axfs |
| api/src/vfs/dev/loop.rs | Updates import from axfs_ng to axfs |
| api/src/vfs/dev/fb.rs | Updates display API calls from main_display() to framebuffer functions |
| api/src/task.rs | Updates task interrupt API from interrupted() to clear_interrupt() |
| api/src/syscall/task/execve.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/task/clone.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/sys.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/signal.rs | Updates async context parameter naming and interrupt API |
| api/src/syscall/mm/mmap.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/fs/stat.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/fs/mount.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/fs/memfd.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/fs/io.rs | Updates import from axfs_ng to axfs |
| api/src/syscall/fs/fd_ops.rs | Updates module references from axfs_ng to axfs |
| api/src/syscall/fs/ctl.rs | Updates import from axfs_ng to axfs |
| api/src/file/mod.rs | Updates import from axfs_ng to axfs |
| api/src/file/fs.rs | Updates type references from axfs_ng to axfs |
| api/Cargo.toml | Updates dependency and feature flag from backtrace to dwarf |
| Makefile | Renames BACKTRACE option to DWARF |
| Cargo.toml | Updates dependencies and feature flags, including hashbrown version bump |
| .gitmodules | Updates arceos submodule branch from main to dev |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This PR migrates the arceos submodule to https://github.com/Starry-OS/arceos/tree/dev, which is based on https://github.com/arceos-org/arceos/tree/dev (we will gradually merge the changes upstream).
Thanks to several previous PRs, this PR was completed as smoothly as possible. These PRs include:
TaskExtusage #63Changes included in this PR:
axfs_ngrenamed back toaxfsBACKTRACEbuild option renamed toDWARF(we'll add a separateBACKTRACEoption later to enable simple backtracing without dwarf debugging information support)axalloc,axdisplayandaxtaskapi