Thank you, I will reference and make it as 64-bit form.kotovalexarian wrote:Here is some stack tracing example: https://github.com/josehu07/hux-kernel/ ... -&-Testing
Can use Multiboot1 for x86_64 kernel?
-
- Member
- Posts: 102
- Joined: Wed Oct 20, 2021 6:00 pm
- Location: Paraguay
Re: Can use Multiboot1 for x86_64 kernel?
Re: Can use Multiboot1 for x86_64 kernel?
Well, that code is horrible. You can clean it up a whole lot by just using a self-referential data structure:kotovalexarian wrote:Here is some stack tracing example: https://github.com/josehu07/hux-kernel/ ... -&-Testing
Code: Select all
struct stackframe {
struct stackframe *next;
uint32_t ip;
};
Linux doesn't bother with DWARF, by the way. They have a tool that turns the DWARF data into a simpler format of their invention, called ORC. And then they use that. So that is also a possibility.
Carpe diem!