|Subject:||I can't extract the info from multiboo2|
|Date:||Wed, 19 Feb 2020 14:53:15 +0800|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1|
Er,hello.I'm a student,I'm using grub2 to complete my homework about building an OS.
I have read your multiboot2 spec,and I know that the multiboot info's pointer will be placed at EBX register.
So,at the beginning of my kernel,I reserved some space for the pointer,at the head of the kernel.
As the pic:
When the kernel is running,it will use the address:
It print the value at the MBI
The rest of the code is the one showed on your official site:
Then things happened,when I use qemu to run it:
I've been trapped here for 4 days,I don't know how to solve it,is there anything about really big wrong in my code?Or just the pointer is not right?
Appreciate to you if you can reply.I'm really new on the OS
|[Prev in Thread]||Current Thread||[Next in Thread]|