11 Kernel
This chapter covers
- Writing and compiling your own OS kernel
- Gaining a deeper understanding of the Rust compiler’s capabilities
- Extending cargo with custom subcommands
Let’s build an operating system (OS). By the end of the chapter, you’ll be running your own OS (or, at least, a minimal subset of one). Not only that, but you will have compiled your own bootloader, your own kernel, and the Rust language directly for that new target (which doesn’t exist yet).
This chapter covers many features of Rust that are important for programming without an OS. Accordingly, the chapter is important for programmers who intend to work with Rust on embedded devices.
11.1 A fledgling operating system (FledgeOS)
In this section, we’ll implement an ...
Get Rust in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.