Skip to content
Discussion options

You must be logged in to vote

参考

StarryOS/src/main.rs

Lines 45 to 46 in 066ebdb

#[cfg(feature = "2k1000la")]
extern crate axplat_loongarch64_2k1000la;


https://github.com/Starry-OS/arceos/blob/12d6a1e973004806dd378f4424058c8da5783d41/modules/axhal/src/lib.rs#L42-L52

您需要通过 extern crate axplat_xxx 的形式把新的平台支持链接进内核来

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Azure-stars
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants