-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No longer use default features in axtask
- Loading branch information
1 parent
88a90a0
commit 6852d92
Showing
44 changed files
with
231 additions
and
143 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
alloc | ||
paging | ||
net |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
alloc | ||
paging | ||
net |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
alloc | ||
paging | ||
net | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
default | ||
alloc | ||
paging |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
alloc | ||
paging | ||
multitask |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
smp = 4 | ||
build_mode = release | ||
log_level = info | ||
|
||
CPU 0 started | ||
Found physcial memory regions: | ||
.text (READ | EXECUTE | RESERVED) | ||
.rodata (READ | RESERVED) | ||
.data (READ | WRITE | RESERVED) | ||
.percpu (READ | WRITE | RESERVED) | ||
boot stack (READ | WRITE | RESERVED) | ||
.bss (READ | WRITE | RESERVED) | ||
free memory (READ | WRITE | FREE) | ||
Initialize global memory allocator... | ||
Initialize kernel page table... | ||
Initialize platform devices... | ||
Initialize scheduling... | ||
use FIFO scheduler | ||
CPU 1 started | ||
CPU 1 init OK | ||
CPU 2 started | ||
CPU 2 init OK | ||
CPU 3 started | ||
CPU 3 init OK | ||
CPU 0 init OK | ||
part 0: \[0, 125000) | ||
part 1: \[125000, 250000) | ||
part 2: \[250000, 375000) | ||
part 3: \[375000, 500000) | ||
part 0 finished | ||
part 4: \[500000, 625000) | ||
part 1 finished | ||
part 5: \[625000, 750000) | ||
part 2 finished | ||
part 6: \[750000, 875000) | ||
part 3 finished | ||
part 7: \[875000, 1000000) | ||
part 4 finished | ||
part 8: \[1000000, 1125000) | ||
part 5 finished | ||
part 9: \[1125000, 1250000) | ||
part 6 finished | ||
part 10: \[1250000, 1375000) | ||
part 7 finished | ||
part 11: \[1375000, 1500000) | ||
part 8 finished | ||
part 12: \[1500000, 1625000) | ||
part 9 finished | ||
part 13: \[1625000, 1750000) | ||
part 10 finished | ||
part 14: \[1750000, 1875000) | ||
part 11 finished | ||
part 15: \[1875000, 2000000) | ||
part 12 finished | ||
part 13 finished | ||
part 14 finished | ||
part 15 finished | ||
actual sum = 61783189038 | ||
(C)Pthread parallel run OK! | ||
Shutting down... |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
alloc | ||
paging | ||
multitask | ||
sched_rr |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
test_one "SMP=4 LOG=info" "expect_info_smp4_rr.out" | ||
test_one "SMP=4 LOG=info" "expect_info_smp4_fifo.out" | ||
test_one "SMP=4 LOG=info APP_FEATURES=sched_rr" "expect_info_smp4_rr.out" | ||
rm -f $APP/*.o |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
paging | ||
alloc | ||
multitask | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
paging | ||
alloc | ||
multitask | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
fp_simd | ||
alloc | ||
paging | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
default | ||
alloc | ||
paging | ||
net |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ authors = ["Shiping Yuan <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
libax = { path = "../../ulib/libax", features = ["alloc", "paging", "display"] } | ||
libax = { path = "../../ulib/libax", features = ["display"] } | ||
embedded-graphics = "0.8" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", features = ["paging", "multitask", "net"] } | ||
libax = { path = "../../../ulib/libax", features = ["multitask", "net"] } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,11 @@ name = "arceos-httpclient" | |
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Yuekai Jia <[email protected]>", "Dashuai Wu <[email protected]>"] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", features = ["paging", "net"] } | ||
libax = { path = "../../../ulib/libax", features = ["net"] } | ||
|
||
[features] | ||
default = [] | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", features = ["paging", "multitask", "net"] } | ||
libax = { path = "../../../ulib/libax", features = ["multitask", "net"] } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ edition = "2021" | |
authors = ["Dashuai Wu <[email protected]>"] | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", features = ["paging", "net"] } | ||
libax = { path = "../../../ulib/libax", features = ["net"] } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,8 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
default = ["libax/default"] | ||
sched_rr = ["libax/sched_rr"] | ||
sched_cfs = ["libax/sched_cfs"] | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", default-features = false, features = ["alloc", "paging", "multitask", "irq"] } | ||
libax = { path = "../../../ulib/libax", features = ["alloc", "paging", "multitask", "irq"] } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,8 @@ authors = ["Haoxing Ye <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
default = ["libax/default"] | ||
sched_rr = ["libax/sched_rr"] | ||
sched_cfs = ["libax/sched_cfs"] | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", default-features = false, features = ["alloc", "paging", "multitask"] } | ||
libax = { path = "../../../ulib/libax", features = ["alloc", "paging", "multitask"] } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,7 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
preempt = ["libax/sched_rr"] | ||
default = ["libax/default"] | ||
sched_rr = ["libax/sched_rr"] | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", default-features = false, features = ["paging", "multitask", "irq"] } | ||
libax = { path = "../../../ulib/libax", features = ["paging", "multitask", "irq"] } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
test_one "SMP=4 LOG=info" "expect_info_smp4_fifo.out" | ||
test_one "SMP=4 LOG=info APP_FEATURES=preempt" "expect_info_smp4_rr.out" | ||
test_one "SMP=4 LOG=info APP_FEATURES=sched_rr" "expect_info_smp4_rr.out" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,8 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
default = ["libax/default"] | ||
sched_rr = ["libax/sched_rr"] | ||
sched_cfs = ["libax/sched_cfs"] | ||
|
||
[dependencies] | ||
libax = { path = "../../../ulib/libax", default-features = false, features = ["paging", "multitask"] } | ||
libax = { path = "../../../ulib/libax", features = ["paging", "multitask"] } |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.