3 ms·
Thanks! 1. I have a Makefile that links it for me so I don't have to do anything special. I intend the Rust program to work like a second stage bootloader. I'm
by micouay 6y ago
Thanks!
1. I have a Makefile that links it for me so I don't have to do anything special. I intend the Rust program to work like a second stage bootloader. I'm going to experiment with it and try to get a file system working to load an actual kernel from a file.
2. I'll look into that.
3. That's what the bootloader does. Sorry if I wasn't clear.
4. If I understand correctly if I compile my Rust project to a binary (which is a default output and I don't really understand why I would use objcopy for that) I won't be able to link with with the bootloader. I link them to allow the bootloader to jump to the _start function at the correct address.
5. My Rust program already works in 64-bit so I don't see a reason to change it. In this project I want to explore low level programming and understand things like paging.
I appreciate your feedback.
- saagarjha 6y ago(Hacker News likes two eat single newlines. Try using two.)
- steveklabnik 6y agoFull reference here: https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc