Skip to content

Commit

Permalink
chore: pass sched_rr and sched_cfs to axlibc crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed May 2, 2024
1 parent ebd9747 commit 537d053
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make/features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
ifeq ($(APP_TYPE),c)
ax_feat_prefix := axfeat/
lib_feat_prefix := axlibc/
lib_features := fp_simd alloc multitask fs net fd pipe select epoll irq
lib_features := fp_simd alloc multitask fs net fd pipe select epoll irq sched_rr sched_cfs
else
ifneq ($(findstring monolithic,$(APP)),)
ax_feat_prefix := axstarry/
Expand Down
4 changes: 4 additions & 0 deletions tools/axlibc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ fs = ["arceos_posix_api/fs", "fd"]
# Networking
net = ["arceos_posix_api/net", "fd"]

# Schedule policy
sched_rr = ["arch_boot/preempt", "axfeat/sched_rr"]
sched_cfs = ["arch_boot/preempt", "axfeat/sched_cfs"]

# Libc features
fd = []
pipe = ["arceos_posix_api/pipe"]
Expand Down

0 comments on commit 537d053

Please sign in to comment.