Skip to content
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

Added the framework for compiling and running musl app #4

Merged
merged 16 commits into from
Nov 24, 2024

Conversation

Azure-stars
Copy link
Contributor

apps/ folder stores code for all kinds of testcases.
For some complex applications, it can be compiled elsewhere. Its binaries can be stored in the apps/ folder directly or via a sub-repository.

.github/workflows/docs.yml Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
apps/libc/build/x86_64/helloworld_c Outdated Show resolved Hide resolved
apps/libc/rust/helloworld/.gitignore Outdated Show resolved Hide resolved
apps/libc/rust/task/sleep/.gitignore Outdated Show resolved Hide resolved
src/syscall.rs Outdated Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
@Azure-stars Azure-stars force-pushed the main branch 2 times, most recently from 7d4ca40 to b7ae80a Compare October 10, 2024 15:25
Copy link

@hky1999 hky1999 left a comment

Choose a reason for hiding this comment

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

Never mind, I submit a approve by mistake

Copy link

@hky1999 hky1999 left a comment

Choose a reason for hiding this comment

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

pending

@Azure-stars Azure-stars requested a review from hky1999 October 13, 2024 13:28
Copy link

Choose a reason for hiding this comment

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

We have moved out the /apps/ directory from ArceOS in arceos-org/arceos@5f67fda, should we reintroduce the /apps/ here?

Copy link
Member

@equation314 equation314 Oct 13, 2024

Choose a reason for hiding this comment

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

They are temporary. Since our current syscall support is incomplete, it does not work well with arceos-app.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

/apps/ here is a temporary solution, which stores source codes and binary files for testing.

When the filesystem is supported, these testcases may be moved to a seperate repo.

configs/aarch64.toml Outdated Show resolved Hide resolved
src/syscall_imp/fs/io.rs Show resolved Hide resolved
src/mm.rs Outdated Show resolved Hide resolved
src/loader.rs Outdated Show resolved Hide resolved
src/syscall_imp/fs/mod.rs Outdated Show resolved Hide resolved
src/syscall_imp/task/thread.rs Show resolved Hide resolved
src/syscall_imp/task/thread.rs Outdated Show resolved Hide resolved
src/syscall_imp/task/mod.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
configs/aarch64.toml Outdated Show resolved Hide resolved
@Azure-stars Azure-stars force-pushed the main branch 2 times, most recently from 4c5cfdc to a0a65e7 Compare October 22, 2024 10:30
Cargo.toml Show resolved Hide resolved
apps/libc/Makefile Outdated Show resolved Hide resolved
apps/nimbos/c/lib/syscall_ids.h.no_x86.in Outdated Show resolved Hide resolved
debug.S Outdated Show resolved Hide resolved
src/syscall_imp/mm/mmap.rs Show resolved Hide resolved
src/syscall_imp/mm/mmap.rs Show resolved Hide resolved
build.rs Outdated Show resolved Hide resolved
src/syscall_imp/mod.rs Show resolved Hide resolved
```rust
mod sub_mod1;
mod sub_mod2;

use core::foo::Bar;
use alloc::bar::Foo;

use ext_crate::bar;

use crate::baz;
use self::sub_mod1::foo;
use super::sup_mod::qux;

pub use ...
```
apps/nimbos/c/CMakeLists.txt Outdated Show resolved Hide resolved
apps/nimbos/c/lib/syscall_ids.h.no_x86.in Outdated Show resolved Hide resolved
build.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
apps/libc/Makefile Outdated Show resolved Hide resolved
@Azure-stars Azure-stars force-pushed the main branch 3 times, most recently from 14ddf27 to b10e0f7 Compare November 24, 2024 08:22
@Azure-stars Azure-stars merged commit 8e3afa9 into arceos-org:main Nov 24, 2024
10 checks passed
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.

3 participants