Skip to content

feat(awkernel_userland): userland is both library and binary - #767

Merged
ytakano merged 1 commit into
tier4:mainfrom
romancardenas:userland-lib
Oct 27, 2026
Merged

ytakano merged 1 commit into
tier4:mainfrom
romancardenas:userland-lib

Conversation

@romancardenas

Copy link
Copy Markdown
Contributor

Description

This PR builds on top of #742

Now, the userland package is renamed to awkernel_userland package. It is both a library crate and a binary crate. If you inspect the userland/main.rs file, you will see that it simply calls to userland::run, which is described in userland/lib.rs.

In this way, third-party userlands (like the one in the userland_extern_template/ folder) can use the base userland and extend it with extra tasks and functions without having to duplicate code nor modify the repository's userland.

Let me know what you think!

How was this PR tested?

  • scripts/ci.sh passes on my machine.
  • Tested on QEMU for both the official userland and the example userland_extern_template crates.

@ytakano
ytakano merged commit 8a3c67e into tier4:main Oct 27, 2026
2 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.

2 participants