Re:Writing an OS in Rust: Introduction to Paging
by bluejekyll on Monday January 14, 2019 @11:17AM
(#18904068)
BSP, board support package.
I had to look that up, seem like what you’re talking about here.
Re:Writing an OS in Rust: Introduction to Paging
by wyldfire on Monday January 14, 2019 @11:24AM
(#18904122)
Sorry, yes, that's what I meant. It's a soup-to-nuts working+tested configuration of a board, bootstrap code, examples that exercise board features, etc. IIRC this is common for chip/computer/board/RTOS vendors to provide.
You want someone to write a Rust RTOS? Or would it suffice for a vendor to release a BSP with Rust support? IMO your current RTOS vendor can (and should!) offer this. Lots of existing RTOS companies will vendor a gcc or clang toolchain for their customers. The fact that C and C++ are well specified independent of their implementation really helps, though. But the baseline rust toolchain already provides a lot of what's needed. They "just" need to offer integration with their C library, designate llvm triple(s), etc.
If your RTOS vendor offers support for C and C++ already, chances are you can write rust for your target already. Unfortunately you'll need to stick to no_std until that BSP shows up though. :)