Skip to content

Conversation

@AsakuraMizu
Copy link
Contributor

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:

Changes included in this PR:

  • axfs_ng renamed back to axfs
  • BACKTRACE build option renamed to DWARF (we'll add a separate BACKTRACE option later to enable simple backtracing without dwarf debugging information support)
  • Minor changes to axalloc, axdisplay and axtask api

Copilot AI review requested due to automatic review settings December 3, 2025 14:11
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 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_ng renamed to axfs throughout the codebase
  • Build option BACKTRACE renamed to DWARF in Makefile and feature flags
  • API updates for axalloc, axdisplay, and axtask modules

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.

@AsakuraMizu AsakuraMizu merged commit 16f0dd7 into main Dec 3, 2025
17 of 18 checks passed
@AsakuraMizu AsakuraMizu deleted the migrate branch December 4, 2025 07:18
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.

2 participants