4 ms·
You need about 100 lines of assembly to get to a Rust kmain in long mode. Rust has effectively no runtime these days. Same amount as C or C++, basically.
by steveklabnik 11y ago
You need about 100 lines of assembly to get to a Rust kmain in long mode.
Rust has effectively no runtime these days. Same amount as C or C++, basically.
- nickpsecurity 11y agoThat's great to hear. Thanks for chiming in with the good info as always.
- steveklabnik 11y agoAny time. If you're interested in what exactly that code is, check out Phil's blog, linked upthread.
- nickpsecurity 11y agoI'm guessing you mean this: http://os.phil-opp.com/entering-longmode.html http://os.phil-opp.com/entering-longmode.html Interesting stuff and seems like a good description of the code. Bookmarking it in case I do more in this area.